merge ns-3-dev
This commit is contained in:
commit
ac91c4f48e
1152 files changed
+38084
-130378
No files matched your search
@@ -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$
|
||||
|
||||
@@ -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
|
||||
+70
-1
@@ -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. </p>
|
||||
|
||||
<hr>
|
||||
<h1>Changes from ns-3.11 to ns-3.12</h1>
|
||||
<h1>Changes from ns-3.12 to ns-3.13</h1>
|
||||
|
||||
<h2>Changes to build system:</h2>
|
||||
<ul>
|
||||
<li> The underlying version of waf used by ns-3 was upgraded to 1.6.7.
|
||||
This has a few changes for users and developers:
|
||||
<ul>
|
||||
<li> by default, "build" no longer has a subdirectory debug or optimized.
|
||||
To get different build directories for different build types, you can use
|
||||
the waf configure -o xxx option, e.g.:
|
||||
<pre>
|
||||
./waf configure -o shared
|
||||
./waf configure --enable-static -o static
|
||||
</pre>
|
||||
</li>
|
||||
<li> (for developers) the ns3headers taskgen needs to be created with a
|
||||
features parameter name:
|
||||
<pre>
|
||||
- headers = bld.new_task_gen('ns3header')
|
||||
+ headers = bld.new_task_gen(features=['ns3header'])
|
||||
</pre>
|
||||
<li> no longer need to edit src/wscript to add a module, just create your
|
||||
module directory inside src and ns-3 will pick it up
|
||||
<li> In WAF 1.6, adding -Dxxx options is done via the DEFINES env. var.
|
||||
instead of CXXDEFINES
|
||||
<li> waf env values are always lists now, e.g. env['PYTHON'] returns
|
||||
['/usr/bin/python'], so you may need to add [0] to the value in some places
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<h2>New API:</h2>
|
||||
@@ -54,12 +80,55 @@ us a note on ns-developers mailing list. </p>
|
||||
|
||||
<h2>Changes to existing API:</h2>
|
||||
<ul>
|
||||
<li> The WifiPhyStandard enumerators for specifying half- and quarter-channel
|
||||
width standards has had a change in capitalization:
|
||||
<ul>
|
||||
<li> WIFI_PHY_STANDARD_80211_10Mhz was changed to WIFI_PHY_STANDARD_80211_10MHZ
|
||||
<li> WIFI_PHY_STANDARD_80211_5Mhz was changed to WIFI_PHY_STANDARD_80211_5MHZ
|
||||
</ul>
|
||||
<li> In the SpectrumPhy base class, the methods to get/set the
|
||||
MobilityModel and the NetDevice were previously working with
|
||||
opaque Ptr<Object>. Now all these methods have been
|
||||
changed so that they work with Ptr<NetDevice>
|
||||
and Ptr<MobilityModel> as appropriate. See <A href="https://www.nsnam.org/bugzilla/show_bug.cgi?id=1271">Bug 1271</A> on
|
||||
bugzilla for the motivation.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h2>Changed behavior:</h2>
|
||||
<ul>
|
||||
</ul>
|
||||
|
||||
<hr>
|
||||
<h1>Changes from ns-3.11 to ns-3.12</h1>
|
||||
|
||||
<h2>Changes to build system:</h2>
|
||||
<ul>
|
||||
</ul>
|
||||
|
||||
<h2>New API:</h2>
|
||||
<ul>
|
||||
<li> New method, RegularWifiMac::SetPromisc (void), to set the interface
|
||||
to promiscuous mode.
|
||||
</ul>
|
||||
|
||||
<h2>Changes to existing API:</h2>
|
||||
<ul>
|
||||
<li> The spelling of the attribute 'IntialCellVoltage' from LiIonEnergySource
|
||||
was corrected to 'InitialCellVoltage'; this will affect existing users who
|
||||
were using the attribute with the misspelling.
|
||||
<li> Two trace sources in class WifiPhy have had their names changed:
|
||||
<ul>
|
||||
<li> 'PromiscSnifferRx' is now 'MonitorSnifferRx'
|
||||
<li> 'PromiscSnifferTx' is now 'MonitorSnifferTx'
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<h2>Changed behavior:</h2>
|
||||
<ul>
|
||||
<li> IPv4 fragmentation is now supported.
|
||||
</ul>
|
||||
|
||||
<hr>
|
||||
<h1>Changes from ns-3.10 to ns-3.11</h1>
|
||||
|
||||
|
||||
+101
-12
@@ -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.
|
||||
|
||||
@@ -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::Packet>', '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<ns3::Packet>', 'double', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Packet>', 'double', 'ns3::UanTxMode', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Packet>', '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::PacketBurst const>', '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::Packet>', '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::Packet>', 'ns3::Ipv4Header', 'unsigned short', 'ns3::Ptr<ns3::Ipv4Interface>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Packet>', 'ns3::Ipv4Address', 'ns3::Ipv4Address', 'unsigned char', 'ns3::Ptr<ns3::Ipv4Route>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['std::vector<ns3::Mac48Address, std::allocator<ns3::Mac48Address> >', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'bool', 'ns3::Ptr<ns3::Packet>', 'ns3::Mac48Address', 'ns3::Mac48Address', 'unsigned short', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['unsigned int', 'ns3::Mac48Address', 'ns3::Ptr<ns3::MeshWifiInterfaceMac>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Packet>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Packet const>', '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::Packet const>', 'ns3::Ipv4Header const&', 'ns3::Socket::SocketErrno', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['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'],
|
||||
['void', 'ns3::Ptr<ns3::Socket>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Socket>', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Socket>', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['bool', 'ns3::Ptr<ns3::Socket>', '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::ArpCache const>', 'ns3::Ipv4Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['bool', 'ns3::Ptr<ns3::Packet>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['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'],
|
||||
['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'],
|
||||
['void', 'ns3::Ptr<ns3::Packet>', '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::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
]
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -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<ns3::Node> 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<ns3::Channel> 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::NetDevice> 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<ns3::NetDevice> bridgePort) [member function]
|
||||
cls.add_method('AddBridgePort',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::NetDevice >', 'bridgePort')])
|
||||
## bridge-net-device.h: void ns3::BridgeNetDevice::AddLinkChangeCallback(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function]
|
||||
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::NetDevice> 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::Channel> 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::Node> 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<ns3::Packet> 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<ns3::Packet> 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<ns3::Node> 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<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) [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<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) [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<ns3::NetDevice> incomingPort, ns3::Ptr<ns3::Packet const> 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<ns3::NetDevice> incomingPort, ns3::Ptr<ns3::Packet const> 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::NetDevice> 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<ns3::NetDevice> 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<ns3::NetDevice> device, ns3::Ptr<ns3::Packet const> 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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -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<ns3::CsmaNetDevice> 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::Node> 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::Node> 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<ns3::Node> 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<ns3::Node> node, ns3::Ptr<ns3::CsmaChannel> 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<ns3::Node> 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<ns3::CsmaChannel> 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<ns3::CsmaChannel> 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<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::NetDevice> 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<ns3::NetDevice> 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<ns3::CsmaNetDevice> device) [member function]
|
||||
cls.add_method('Attach',
|
||||
'int32_t',
|
||||
[param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')])
|
||||
## csma-channel.h: bool ns3::CsmaChannel::Detach(ns3::Ptr<ns3::CsmaNetDevice> 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::CsmaNetDevice> 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::NetDevice> 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<ns3::CsmaNetDevice> 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<ns3::CsmaNetDevice> 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<ns3::Packet> 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<ns3::CsmaChannel> ch) [member function]
|
||||
cls.add_method('Attach',
|
||||
'bool',
|
||||
[param('ns3::Ptr< ns3::CsmaChannel >', 'ch')])
|
||||
## csma-net-device.h: void ns3::CsmaNetDevice::SetQueue(ns3::Ptr<ns3::Queue> queue) [member function]
|
||||
cls.add_method('SetQueue',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Queue >', 'queue')])
|
||||
## csma-net-device.h: ns3::Ptr<ns3::Queue> 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<ns3::ErrorModel> em) [member function]
|
||||
cls.add_method('SetReceiveErrorModel',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::ErrorModel >', 'em')])
|
||||
## csma-net-device.h: void ns3::CsmaNetDevice::Receive(ns3::Ptr<ns3::Packet> p, ns3::Ptr<ns3::CsmaNetDevice> 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::Channel> 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<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> 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<ns3::Packet> 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<ns3::Packet> 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::Node> 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<ns3::Node> 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<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) [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<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) [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<ns3::Packet> 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
|
||||
|
||||
@@ -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::Ipv4RoutingProtocol> ns3::DsdvHelper::Create(ns3::Ptr<ns3::Node> 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<ns3::Packet const> pa=0, ns3::Ipv4Header const & h=ns3::Ipv4Header(), 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=ns3::Callback<void, ns3::Ptr<ns3::Ipv4Route>, ns3::Ptr<const ns3::Packet>, const ns3::Ipv4Header&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>(), 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=ns3::Callback<void, ns3::Ptr<const ns3::Packet>, 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<void, ns3::Ptr<ns3::Ipv4Route>, ns3::Ptr<const ns3::Packet>, 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<void, ns3::Ptr<const ns3::Packet>, const ns3::Ipv4Header&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>()')])
|
||||
## dsdv-packet-queue.h: 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> 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::Packet const> 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<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> 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<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) [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<ns3::Packet const> 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<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) [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<ns3::OutputStreamWrapper> 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<ns3::Packet const> p, ns3::Ipv4Header const & header, ns3::Ptr<const ns3::NetDevice> idev, 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, ns3::Callback<void,ns3::Ptr<ns3::Ipv4MulticastRoute>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, 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) [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::Ipv4Route> ns3::dsdv::RoutingProtocol::RouteOutput(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Header const & header, ns3::Ptr<ns3::NetDevice> 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<ns3::Ipv4> 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<ns3::Ipv4Address, ns3::dsdv::RoutingTableEntry, std::less<ns3::Ipv4Address>, std::allocator<std::pair<ns3::Ipv4Address const, ns3::dsdv::RoutingTableEntry> > > & 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<ns3::Ipv4Address, ns3::dsdv::RoutingTableEntry, std::less<ns3::Ipv4Address>, std::allocator<std::pair<ns3::Ipv4Address const, ns3::dsdv::RoutingTableEntry> > > & 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<ns3::OutputStreamWrapper> 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<ns3::Ipv4Address, ns3::dsdv::RoutingTableEntry, std::less<ns3::Ipv4Address>, std::allocator<std::pair<ns3::Ipv4Address const, ns3::dsdv::RoutingTableEntry> > > & 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<ns3::NetDevice> 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::NetDevice> ns3::dsdv::RoutingTableEntry::GetOutputDevice() const [member function]
|
||||
cls.add_method('GetOutputDevice',
|
||||
'ns3::Ptr< ns3::NetDevice >',
|
||||
[],
|
||||
is_const=True)
|
||||
## dsdv-rtable.h: ns3::Ptr<ns3::Ipv4Route> 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<ns3::OutputStreamWrapper> 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<ns3::NetDevice> device) [member function]
|
||||
cls.add_method('SetOutputDevice',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::NetDevice >', 'device')])
|
||||
## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetRoute(ns3::Ptr<ns3::Ipv4Route> 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
|
||||
|
||||
@@ -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<ns3::Node> 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<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::NetDevice> 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<ns3::NetDevice> 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<ns3::Queue> queue) [member function]
|
||||
cls.add_method('SetQueue',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Queue >', 'queue')])
|
||||
## emu-net-device.h: ns3::Ptr<ns3::Queue> 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::Channel> 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<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> 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<ns3::Packet> 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<ns3::Packet> 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::Node> 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<ns3::Node> 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<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) [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<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) [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
|
||||
|
||||
@@ -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<ns3::DeviceEnergyModel> 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<ns3::DeviceEnergyModel> 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<const ns3::Ptr<ns3::DeviceEnergyModel>*,std::vector<ns3::Ptr<ns3::DeviceEnergyModel>, std::allocator<ns3::Ptr<ns3::DeviceEnergyModel> > > > 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<const ns3::Ptr<ns3::DeviceEnergyModel>*,std::vector<ns3::Ptr<ns3::DeviceEnergyModel>, std::allocator<ns3::Ptr<ns3::DeviceEnergyModel> > > > 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::DeviceEnergyModel> 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<ns3::NetDevice> device, ns3::Ptr<ns3::EnergySource> 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::DeviceEnergyModel> ns3::DeviceEnergyModelHelper::DoInstall(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<ns3::EnergySource> 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<ns3::Node> 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::EnergySource> ns3::EnergySourceHelper::DoInstall(ns3::Ptr<ns3::Node> 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::EnergySource> ns3::RvBatteryModelHelper::DoInstall(ns3::Ptr<ns3::Node> 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<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> 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::DeviceEnergyModel> ns3::WifiRadioEnergyModelHelper::DoInstall(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<ns3::EnergySource> 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<void, int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> 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::EnergySource> ns3::BasicEnergySourceHelper::DoInstall(ns3::Ptr<ns3::Node> 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<ns3::EnergySource> 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<ns3::DeviceEnergyModel> 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::Node> 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<ns3::Node> 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<ns3::EnergySource> 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<ns3::EnergySource> 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<const ns3::Ptr<ns3::EnergySource>*,std::vector<ns3::Ptr<ns3::EnergySource>, std::allocator<ns3::Ptr<ns3::EnergySource> > > > 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<const ns3::Ptr<ns3::EnergySource>*,std::vector<ns3::Ptr<ns3::EnergySource>, std::allocator<ns3::Ptr<ns3::EnergySource> > > > 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::EnergySource> 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::Node> 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<ns3::EnergySource> 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<ns3::Node> 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<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> 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<ns3::EnergySource> 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
|
||||
|
||||
@@ -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<ns3::FlowClassifier, ns3::empty, ns3::DefaultDeleter<ns3::FlowClassifier> > [class]
|
||||
module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::FlowClassifier', 'ns3::empty', 'ns3::DefaultDeleter<ns3::FlowClassifier>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::FlowProbe, ns3::empty, ns3::DefaultDeleter<ns3::FlowProbe> > [class]
|
||||
module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::FlowProbe', 'ns3::empty', 'ns3::DefaultDeleter<ns3::FlowProbe>'], 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<ns3::FlowClassifier> >'])
|
||||
## 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<ns3::FlowProbe> >'])
|
||||
## 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::FlowClassifier> ns3::FlowMonitorHelper::GetClassifier() [member function]
|
||||
cls.add_method('GetClassifier',
|
||||
'ns3::Ptr< ns3::FlowClassifier >',
|
||||
[])
|
||||
## flow-monitor-helper.h: ns3::Ptr<ns3::FlowMonitor> ns3::FlowMonitorHelper::GetMonitor() [member function]
|
||||
cls.add_method('GetMonitor',
|
||||
'ns3::Ptr< ns3::FlowMonitor >',
|
||||
[])
|
||||
## flow-monitor-helper.h: ns3::Ptr<ns3::FlowMonitor> 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::FlowMonitor> ns3::FlowMonitorHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
|
||||
cls.add_method('Install',
|
||||
'ns3::Ptr< ns3::FlowMonitor >',
|
||||
[param('ns3::Ptr< ns3::Node >', 'node')])
|
||||
## flow-monitor-helper.h: ns3::Ptr<ns3::FlowMonitor> 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<ns3::FlowProbe> 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<ns3::Ptr<ns3::FlowProbe>, std::allocator<ns3::Ptr<ns3::FlowProbe> > > ns3::FlowMonitor::GetAllProbes() const [member function]
|
||||
cls.add_method('GetAllProbes',
|
||||
'std::vector< ns3::Ptr< ns3::FlowProbe > >',
|
||||
[],
|
||||
is_const=True)
|
||||
## flow-monitor.h: std::map<unsigned int, ns3::FlowMonitor::FlowStats, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, ns3::FlowMonitor::FlowStats> > > 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<ns3::FlowProbe> 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<ns3::FlowProbe> 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<ns3::FlowProbe> 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<ns3::FlowProbe> 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<ns3::FlowClassifier> 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<unsigned int, ns3::FlowProbe::FlowStats, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, ns3::FlowProbe::FlowStats> > > 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<ns3::FlowMonitor> 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<ns3::Packet const> 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<ns3::FlowMonitor> monitor, ns3::Ptr<ns3::Ipv4FlowClassifier> classifier, ns3::Ptr<ns3::Node> 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
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -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<ns3::Packet> 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<ns3::Packet> p) [member function]
|
||||
cls.add_method('MpiReceive',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Packet >', 'p')])
|
||||
## mpi-net-device.h: void ns3::MpiNetDevice::DoMpiReceive(ns3::Ptr<ns3::Packet> 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
|
||||
|
||||
@@ -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::Node> 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::Node> 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::Node> 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::Node> 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::Node> 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::Node> 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::Node> 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
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -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::Ipv4RoutingProtocol> ns3::Ipv4NixVectorHelper::Create(ns3::Ptr<ns3::Node> 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<ns3::Node> 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<ns3::OutputStreamWrapper> 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<ns3::Packet const> p, ns3::Ipv4Header const & header, ns3::Ptr<const ns3::NetDevice> idev, 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, ns3::Callback<void,ns3::Ptr<ns3::Ipv4MulticastRoute>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, 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) [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::Ipv4Route> ns3::Ipv4NixVectorRouting::RouteOutput(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Header const & header, ns3::Ptr<ns3::NetDevice> 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<ns3::Ipv4> 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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -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
|
||||
|
||||
@@ -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<ns3::Node> a, ns3::Ptr<ns3::Node> 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<ns3::Node> 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<ns3::Node> 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<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::NetDevice> 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<ns3::NetDevice> 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<ns3::PointToPointNetDevice> device) [member function]
|
||||
cls.add_method('Attach',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::PointToPointNetDevice >', 'device')])
|
||||
## point-to-point-channel.h: ns3::Ptr<ns3::NetDevice> 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::PointToPointNetDevice> 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<ns3::Packet> p, ns3::Ptr<ns3::PointToPointNetDevice> 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::PointToPointNetDevice> 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::PointToPointNetDevice> 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<ns3::PointToPointChannel> 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<ns3::Queue> queue) [member function]
|
||||
cls.add_method('SetQueue',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Queue >', 'queue')])
|
||||
## point-to-point-net-device.h: ns3::Ptr<ns3::Queue> 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<ns3::ErrorModel> 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<ns3::Packet> 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::Channel> 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<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> 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<ns3::Packet> 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<ns3::Packet> 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::Node> 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<ns3::Node> 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<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) [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<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) [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<ns3::Packet> 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<ns3::Packet> p, ns3::Ptr<ns3::PointToPointNetDevice> 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
|
||||
|
||||
@@ -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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::PropagationLossModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -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<unsigned int> [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<unsigned int> [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<ns3::DataCalculator> 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::Ptr<ns3::DataCalculator> > ns3::DataCollector::DataCalculatorBegin() [member function]
|
||||
cls.add_method('DataCalculatorBegin',
|
||||
'std::_List_iterator< ns3::Ptr< ns3::DataCalculator > >',
|
||||
[])
|
||||
## data-collector.h: std::_List_iterator<ns3::Ptr<ns3::DataCalculator> > 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::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > 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::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > 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<unsigned int>::MinMaxAvgTotalCalculator(ns3::MinMaxAvgTotalCalculator<unsigned int> const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::MinMaxAvgTotalCalculator< unsigned int > const &', 'arg0')])
|
||||
## basic-data-calculators.h: ns3::MinMaxAvgTotalCalculator<unsigned int>::MinMaxAvgTotalCalculator() [constructor]
|
||||
cls.add_constructor([])
|
||||
## basic-data-calculators.h: void ns3::MinMaxAvgTotalCalculator<unsigned int>::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<unsigned int>::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<unsigned int>::getCount() const [member function]
|
||||
cls.add_method('getCount',
|
||||
'long int',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator<unsigned int>::getMax() const [member function]
|
||||
cls.add_method('getMax',
|
||||
'double',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator<unsigned int>::getMean() const [member function]
|
||||
cls.add_method('getMean',
|
||||
'double',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator<unsigned int>::getMin() const [member function]
|
||||
cls.add_method('getMin',
|
||||
'double',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator<unsigned int>::getSqrSum() const [member function]
|
||||
cls.add_method('getSqrSum',
|
||||
'double',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator<unsigned int>::getStddev() const [member function]
|
||||
cls.add_method('getStddev',
|
||||
'double',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator<unsigned int>::getSum() const [member function]
|
||||
cls.add_method('getSum',
|
||||
'double',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator<unsigned int>::getVariance() const [member function]
|
||||
cls.add_method('getVariance',
|
||||
'double',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## basic-data-calculators.h: void ns3::MinMaxAvgTotalCalculator<unsigned int>::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<ns3::Packet const> 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<ns3::Packet const> 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<unsigned int>::CounterCalculator(ns3::CounterCalculator<unsigned int> const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::CounterCalculator< unsigned int > const &', 'arg0')])
|
||||
## basic-data-calculators.h: ns3::CounterCalculator<unsigned int>::CounterCalculator() [constructor]
|
||||
cls.add_constructor([])
|
||||
## basic-data-calculators.h: unsigned int ns3::CounterCalculator<unsigned int>::GetCount() const [member function]
|
||||
cls.add_method('GetCount',
|
||||
'unsigned int',
|
||||
[],
|
||||
is_const=True)
|
||||
## basic-data-calculators.h: void ns3::CounterCalculator<unsigned int>::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<unsigned int>::Update() [member function]
|
||||
cls.add_method('Update',
|
||||
'void',
|
||||
[])
|
||||
## basic-data-calculators.h: void ns3::CounterCalculator<unsigned int>::Update(unsigned int const i) [member function]
|
||||
cls.add_method('Update',
|
||||
'void',
|
||||
[param('unsigned int const', 'i')])
|
||||
## basic-data-calculators.h: void ns3::CounterCalculator<unsigned int>::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<ns3::Packet const> 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<ns3::Packet const> 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
|
||||
|
||||
@@ -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::NetDevice> ns3::TapBridgeHelper::Install(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::NetDevice> 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::NetDevice> ns3::TapBridgeHelper::Install(std::string nodeName, ns3::Ptr<ns3::NetDevice> 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::NetDevice> ns3::TapBridgeHelper::Install(ns3::Ptr<ns3::Node> 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::NetDevice> 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::NetDevice> ns3::TapBridgeHelper::Install(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::NetDevice> 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<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> 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::NetDevice> 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::Channel> 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::Node> 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<ns3::Packet> 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<ns3::Packet> 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<ns3::NetDevice> 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<ns3::Node> 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<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) [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<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) [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<ns3::NetDevice> device, ns3::Ptr<ns3::Packet const> 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<ns3::NetDevice> device, ns3::Ptr<ns3::Packet const> 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
|
||||
|
||||
@@ -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<double> [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<double>::Average(ns3::Average<double> const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Average< double > const &', 'arg0')])
|
||||
## average.h: ns3::Average<double>::Average() [constructor]
|
||||
cls.add_constructor([])
|
||||
## average.h: double ns3::Average<double>::Avg() const [member function]
|
||||
cls.add_method('Avg',
|
||||
'double',
|
||||
[],
|
||||
is_const=True)
|
||||
## average.h: uint32_t ns3::Average<double>::Count() const [member function]
|
||||
cls.add_method('Count',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True)
|
||||
## average.h: double ns3::Average<double>::Error90() const [member function]
|
||||
cls.add_method('Error90',
|
||||
'double',
|
||||
[],
|
||||
is_const=True)
|
||||
## average.h: double ns3::Average<double>::Error95() const [member function]
|
||||
cls.add_method('Error95',
|
||||
'double',
|
||||
[],
|
||||
is_const=True)
|
||||
## average.h: double ns3::Average<double>::Error99() const [member function]
|
||||
cls.add_method('Error99',
|
||||
'double',
|
||||
[],
|
||||
is_const=True)
|
||||
## average.h: double ns3::Average<double>::Max() const [member function]
|
||||
cls.add_method('Max',
|
||||
'double',
|
||||
[],
|
||||
is_const=True)
|
||||
## average.h: double ns3::Average<double>::Mean() const [member function]
|
||||
cls.add_method('Mean',
|
||||
'double',
|
||||
[],
|
||||
is_const=True)
|
||||
## average.h: double ns3::Average<double>::Min() const [member function]
|
||||
cls.add_method('Min',
|
||||
'double',
|
||||
[],
|
||||
is_const=True)
|
||||
## average.h: void ns3::Average<double>::Reset() [member function]
|
||||
cls.add_method('Reset',
|
||||
'void',
|
||||
[])
|
||||
## average.h: double ns3::Average<double>::Stddev() const [member function]
|
||||
cls.add_method('Stddev',
|
||||
'double',
|
||||
[],
|
||||
is_const=True)
|
||||
## average.h: void ns3::Average<double>::Update(double const & x) [member function]
|
||||
cls.add_method('Update',
|
||||
'void',
|
||||
[param('double const &', 'x')])
|
||||
## average.h: double ns3::Average<double>::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<ns3::Packet const> 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<ns3::Packet const> 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
|
||||
|
||||
@@ -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::TopologyReader> 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::Link> 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::Link> 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<ns3::Node> fromPtr, std::string fromName, ns3::Ptr<ns3::Node> 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::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > 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::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > 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::Node> 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::Node> 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
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -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<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> 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::Channel> 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::Node> 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<ns3::Packet> 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<ns3::Packet> 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<ns3::Packet> 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<ns3::Node> 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<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) [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<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) [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<bool, ns3::Ptr<ns3::Packet>, 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
|
||||
|
||||
@@ -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::NodeStatistics,std::allocator<ns3::PyViz::NodeStatistics> > ns3::PyViz::GetNodesStatistics() const [member function]
|
||||
cls.add_method('GetNodesStatistics',
|
||||
'std::vector< ns3::PyViz::NodeStatistics >',
|
||||
[],
|
||||
is_const=True)
|
||||
## pyviz.h: std::vector<ns3::PyViz::PacketDropSample,std::allocator<ns3::PyViz::PacketDropSample> > ns3::PyViz::GetPacketDropSamples() const [member function]
|
||||
cls.add_method('GetPacketDropSamples',
|
||||
'std::vector< ns3::PyViz::PacketDropSample >',
|
||||
[],
|
||||
is_const=True)
|
||||
## pyviz.h: std::vector<std::string, std::allocator<std::string> > ns3::PyViz::GetPauseMessages() const [member function]
|
||||
cls.add_method('GetPauseMessages',
|
||||
'std::vector< std::string >',
|
||||
[],
|
||||
is_const=True)
|
||||
## pyviz.h: std::vector<ns3::PyViz::TransmissionSample,std::allocator<ns3::PyViz::TransmissionSample> > 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<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> > 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
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -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::Packet>', '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<ns3::Packet>', 'double', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Packet>', 'double', 'ns3::UanTxMode', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Packet>', '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::PacketBurst const>', '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::Packet>', '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::Packet>', 'ns3::Ipv4Header', 'unsigned short', 'ns3::Ptr<ns3::Ipv4Interface>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Packet>', 'ns3::Ipv4Address', 'ns3::Ipv4Address', 'unsigned char', 'ns3::Ptr<ns3::Ipv4Route>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['std::vector<ns3::Mac48Address, std::allocator<ns3::Mac48Address> >', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'bool', 'ns3::Ptr<ns3::Packet>', 'ns3::Mac48Address', 'ns3::Mac48Address', 'unsigned short', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['unsigned int', 'ns3::Mac48Address', 'ns3::Ptr<ns3::MeshWifiInterfaceMac>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Packet>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Packet const>', '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::Packet const>', 'ns3::Ipv4Header const&', 'ns3::Socket::SocketErrno', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['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'],
|
||||
['void', 'ns3::Ptr<ns3::Socket>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Socket>', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Socket>', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['bool', 'ns3::Ptr<ns3::Socket>', '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::ArpCache const>', 'ns3::Ipv4Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['bool', 'ns3::Ptr<ns3::Packet>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['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'],
|
||||
['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'],
|
||||
['void', 'ns3::Ptr<ns3::Packet>', '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::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
]
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -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<ns3::Node> 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<ns3::Channel> 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::NetDevice> 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<ns3::NetDevice> bridgePort) [member function]
|
||||
cls.add_method('AddBridgePort',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::NetDevice >', 'bridgePort')])
|
||||
## bridge-net-device.h: void ns3::BridgeNetDevice::AddLinkChangeCallback(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function]
|
||||
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::NetDevice> 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::Channel> 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::Node> 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<ns3::Packet> 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<ns3::Packet> 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<ns3::Node> 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<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) [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<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) [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<ns3::NetDevice> incomingPort, ns3::Ptr<ns3::Packet const> 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<ns3::NetDevice> incomingPort, ns3::Ptr<ns3::Packet const> 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::NetDevice> 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<ns3::NetDevice> 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<ns3::NetDevice> device, ns3::Ptr<ns3::Packet const> 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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -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<ns3::CsmaNetDevice> 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::Node> 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::Node> 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<ns3::Node> 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<ns3::Node> node, ns3::Ptr<ns3::CsmaChannel> 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<ns3::Node> 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<ns3::CsmaChannel> 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<ns3::CsmaChannel> 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<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::NetDevice> 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<ns3::NetDevice> 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<ns3::CsmaNetDevice> device) [member function]
|
||||
cls.add_method('Attach',
|
||||
'int32_t',
|
||||
[param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')])
|
||||
## csma-channel.h: bool ns3::CsmaChannel::Detach(ns3::Ptr<ns3::CsmaNetDevice> 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::CsmaNetDevice> 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::NetDevice> 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<ns3::CsmaNetDevice> 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<ns3::CsmaNetDevice> 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<ns3::Packet> 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<ns3::CsmaChannel> ch) [member function]
|
||||
cls.add_method('Attach',
|
||||
'bool',
|
||||
[param('ns3::Ptr< ns3::CsmaChannel >', 'ch')])
|
||||
## csma-net-device.h: void ns3::CsmaNetDevice::SetQueue(ns3::Ptr<ns3::Queue> queue) [member function]
|
||||
cls.add_method('SetQueue',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Queue >', 'queue')])
|
||||
## csma-net-device.h: ns3::Ptr<ns3::Queue> 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<ns3::ErrorModel> em) [member function]
|
||||
cls.add_method('SetReceiveErrorModel',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::ErrorModel >', 'em')])
|
||||
## csma-net-device.h: void ns3::CsmaNetDevice::Receive(ns3::Ptr<ns3::Packet> p, ns3::Ptr<ns3::CsmaNetDevice> 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::Channel> 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<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> 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<ns3::Packet> 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<ns3::Packet> 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::Node> 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<ns3::Node> 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<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) [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<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) [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<ns3::Packet> 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
|
||||
|
||||
@@ -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::Ipv4RoutingProtocol> ns3::DsdvHelper::Create(ns3::Ptr<ns3::Node> 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<ns3::Packet const> pa=0, ns3::Ipv4Header const & h=ns3::Ipv4Header(), 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=ns3::Callback<void, ns3::Ptr<ns3::Ipv4Route>, ns3::Ptr<const ns3::Packet>, const ns3::Ipv4Header&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>(), 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=ns3::Callback<void, ns3::Ptr<const ns3::Packet>, 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<void, ns3::Ptr<ns3::Ipv4Route>, ns3::Ptr<const ns3::Packet>, 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<void, ns3::Ptr<const ns3::Packet>, const ns3::Ipv4Header&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>()')])
|
||||
## dsdv-packet-queue.h: 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> 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::Packet const> 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<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> 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<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) [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<ns3::Packet const> 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<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) [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<ns3::OutputStreamWrapper> 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<ns3::Packet const> p, ns3::Ipv4Header const & header, ns3::Ptr<const ns3::NetDevice> idev, 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, ns3::Callback<void,ns3::Ptr<ns3::Ipv4MulticastRoute>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, 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) [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::Ipv4Route> ns3::dsdv::RoutingProtocol::RouteOutput(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Header const & header, ns3::Ptr<ns3::NetDevice> 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<ns3::Ipv4> 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<ns3::Ipv4Address, ns3::dsdv::RoutingTableEntry, std::less<ns3::Ipv4Address>, std::allocator<std::pair<ns3::Ipv4Address const, ns3::dsdv::RoutingTableEntry> > > & 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<ns3::Ipv4Address, ns3::dsdv::RoutingTableEntry, std::less<ns3::Ipv4Address>, std::allocator<std::pair<ns3::Ipv4Address const, ns3::dsdv::RoutingTableEntry> > > & 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<ns3::OutputStreamWrapper> 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<ns3::Ipv4Address, ns3::dsdv::RoutingTableEntry, std::less<ns3::Ipv4Address>, std::allocator<std::pair<ns3::Ipv4Address const, ns3::dsdv::RoutingTableEntry> > > & 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<ns3::NetDevice> 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::NetDevice> ns3::dsdv::RoutingTableEntry::GetOutputDevice() const [member function]
|
||||
cls.add_method('GetOutputDevice',
|
||||
'ns3::Ptr< ns3::NetDevice >',
|
||||
[],
|
||||
is_const=True)
|
||||
## dsdv-rtable.h: ns3::Ptr<ns3::Ipv4Route> 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<ns3::OutputStreamWrapper> 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<ns3::NetDevice> device) [member function]
|
||||
cls.add_method('SetOutputDevice',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::NetDevice >', 'device')])
|
||||
## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetRoute(ns3::Ptr<ns3::Ipv4Route> 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
|
||||
|
||||
@@ -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<ns3::Node> 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<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::NetDevice> 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<ns3::NetDevice> 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<ns3::Queue> queue) [member function]
|
||||
cls.add_method('SetQueue',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Queue >', 'queue')])
|
||||
## emu-net-device.h: ns3::Ptr<ns3::Queue> 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::Channel> 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<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> 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<ns3::Packet> 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<ns3::Packet> 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::Node> 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<ns3::Node> 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<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) [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<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) [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
|
||||
|
||||
@@ -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<ns3::DeviceEnergyModel> 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<ns3::DeviceEnergyModel> 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<const ns3::Ptr<ns3::DeviceEnergyModel>*,std::vector<ns3::Ptr<ns3::DeviceEnergyModel>, std::allocator<ns3::Ptr<ns3::DeviceEnergyModel> > > > 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<const ns3::Ptr<ns3::DeviceEnergyModel>*,std::vector<ns3::Ptr<ns3::DeviceEnergyModel>, std::allocator<ns3::Ptr<ns3::DeviceEnergyModel> > > > 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::DeviceEnergyModel> 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<ns3::NetDevice> device, ns3::Ptr<ns3::EnergySource> 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::DeviceEnergyModel> ns3::DeviceEnergyModelHelper::DoInstall(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<ns3::EnergySource> 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<ns3::Node> 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::EnergySource> ns3::EnergySourceHelper::DoInstall(ns3::Ptr<ns3::Node> 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::EnergySource> ns3::RvBatteryModelHelper::DoInstall(ns3::Ptr<ns3::Node> 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<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> 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::DeviceEnergyModel> ns3::WifiRadioEnergyModelHelper::DoInstall(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<ns3::EnergySource> 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<void, int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> 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::EnergySource> ns3::BasicEnergySourceHelper::DoInstall(ns3::Ptr<ns3::Node> 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<ns3::EnergySource> 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<ns3::DeviceEnergyModel> 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::Node> 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<ns3::Node> 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<ns3::EnergySource> 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<ns3::EnergySource> 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<const ns3::Ptr<ns3::EnergySource>*,std::vector<ns3::Ptr<ns3::EnergySource>, std::allocator<ns3::Ptr<ns3::EnergySource> > > > 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<const ns3::Ptr<ns3::EnergySource>*,std::vector<ns3::Ptr<ns3::EnergySource>, std::allocator<ns3::Ptr<ns3::EnergySource> > > > 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::EnergySource> 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::Node> 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<ns3::EnergySource> 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<ns3::Node> 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<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> 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<ns3::EnergySource> 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
|
||||
|
||||
@@ -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<ns3::FlowClassifier, ns3::empty, ns3::DefaultDeleter<ns3::FlowClassifier> > [class]
|
||||
module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::FlowClassifier', 'ns3::empty', 'ns3::DefaultDeleter<ns3::FlowClassifier>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::FlowProbe, ns3::empty, ns3::DefaultDeleter<ns3::FlowProbe> > [class]
|
||||
module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::FlowProbe', 'ns3::empty', 'ns3::DefaultDeleter<ns3::FlowProbe>'], 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<ns3::FlowClassifier> >'])
|
||||
## 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<ns3::FlowProbe> >'])
|
||||
## 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::FlowClassifier> ns3::FlowMonitorHelper::GetClassifier() [member function]
|
||||
cls.add_method('GetClassifier',
|
||||
'ns3::Ptr< ns3::FlowClassifier >',
|
||||
[])
|
||||
## flow-monitor-helper.h: ns3::Ptr<ns3::FlowMonitor> ns3::FlowMonitorHelper::GetMonitor() [member function]
|
||||
cls.add_method('GetMonitor',
|
||||
'ns3::Ptr< ns3::FlowMonitor >',
|
||||
[])
|
||||
## flow-monitor-helper.h: ns3::Ptr<ns3::FlowMonitor> 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::FlowMonitor> ns3::FlowMonitorHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
|
||||
cls.add_method('Install',
|
||||
'ns3::Ptr< ns3::FlowMonitor >',
|
||||
[param('ns3::Ptr< ns3::Node >', 'node')])
|
||||
## flow-monitor-helper.h: ns3::Ptr<ns3::FlowMonitor> 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<ns3::FlowProbe> 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<ns3::Ptr<ns3::FlowProbe>, std::allocator<ns3::Ptr<ns3::FlowProbe> > > ns3::FlowMonitor::GetAllProbes() const [member function]
|
||||
cls.add_method('GetAllProbes',
|
||||
'std::vector< ns3::Ptr< ns3::FlowProbe > >',
|
||||
[],
|
||||
is_const=True)
|
||||
## flow-monitor.h: std::map<unsigned int, ns3::FlowMonitor::FlowStats, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, ns3::FlowMonitor::FlowStats> > > 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<ns3::FlowProbe> 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<ns3::FlowProbe> 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<ns3::FlowProbe> 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<ns3::FlowProbe> 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<ns3::FlowClassifier> 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<unsigned int, ns3::FlowProbe::FlowStats, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, ns3::FlowProbe::FlowStats> > > 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<ns3::FlowMonitor> 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<ns3::Packet const> 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<ns3::FlowMonitor> monitor, ns3::Ptr<ns3::Ipv4FlowClassifier> classifier, ns3::Ptr<ns3::Node> 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
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -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<ns3::Packet> 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<ns3::Packet> p) [member function]
|
||||
cls.add_method('MpiReceive',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Packet >', 'p')])
|
||||
## mpi-net-device.h: void ns3::MpiNetDevice::DoMpiReceive(ns3::Ptr<ns3::Packet> 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
|
||||
|
||||
@@ -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::Node> 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::Node> 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::Node> 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::Node> 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::Node> 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::Node> 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::Node> 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
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -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::Ipv4RoutingProtocol> ns3::Ipv4NixVectorHelper::Create(ns3::Ptr<ns3::Node> 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<ns3::Node> 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<ns3::OutputStreamWrapper> 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<ns3::Packet const> p, ns3::Ipv4Header const & header, ns3::Ptr<const ns3::NetDevice> idev, 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, ns3::Callback<void,ns3::Ptr<ns3::Ipv4MulticastRoute>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, 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) [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::Ipv4Route> ns3::Ipv4NixVectorRouting::RouteOutput(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Header const & header, ns3::Ptr<ns3::NetDevice> 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<ns3::Ipv4> 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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -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
|
||||
|
||||
@@ -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<ns3::Node> a, ns3::Ptr<ns3::Node> 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<ns3::Node> 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<ns3::Node> 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<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::NetDevice> 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<ns3::NetDevice> 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<ns3::PointToPointNetDevice> device) [member function]
|
||||
cls.add_method('Attach',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::PointToPointNetDevice >', 'device')])
|
||||
## point-to-point-channel.h: ns3::Ptr<ns3::NetDevice> 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::PointToPointNetDevice> 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<ns3::Packet> p, ns3::Ptr<ns3::PointToPointNetDevice> 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::PointToPointNetDevice> 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::PointToPointNetDevice> 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<ns3::PointToPointChannel> 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<ns3::Queue> queue) [member function]
|
||||
cls.add_method('SetQueue',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Queue >', 'queue')])
|
||||
## point-to-point-net-device.h: ns3::Ptr<ns3::Queue> 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<ns3::ErrorModel> 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<ns3::Packet> 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::Channel> 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<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> 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<ns3::Packet> 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<ns3::Packet> 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::Node> 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<ns3::Node> 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<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) [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<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) [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<ns3::Packet> 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<ns3::Packet> p, ns3::Ptr<ns3::PointToPointNetDevice> 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
|
||||
|
||||
@@ -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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::PropagationLossModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> 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
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -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<unsigned int> [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<unsigned int> [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<ns3::DataCalculator> 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::Ptr<ns3::DataCalculator> > ns3::DataCollector::DataCalculatorBegin() [member function]
|
||||
cls.add_method('DataCalculatorBegin',
|
||||
'std::_List_iterator< ns3::Ptr< ns3::DataCalculator > >',
|
||||
[])
|
||||
## data-collector.h: std::_List_iterator<ns3::Ptr<ns3::DataCalculator> > 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::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > 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::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > 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<unsigned int>::MinMaxAvgTotalCalculator(ns3::MinMaxAvgTotalCalculator<unsigned int> const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::MinMaxAvgTotalCalculator< unsigned int > const &', 'arg0')])
|
||||
## basic-data-calculators.h: ns3::MinMaxAvgTotalCalculator<unsigned int>::MinMaxAvgTotalCalculator() [constructor]
|
||||
cls.add_constructor([])
|
||||
## basic-data-calculators.h: void ns3::MinMaxAvgTotalCalculator<unsigned int>::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<unsigned int>::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<unsigned int>::getCount() const [member function]
|
||||
cls.add_method('getCount',
|
||||
'long int',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator<unsigned int>::getMax() const [member function]
|
||||
cls.add_method('getMax',
|
||||
'double',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator<unsigned int>::getMean() const [member function]
|
||||
cls.add_method('getMean',
|
||||
'double',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator<unsigned int>::getMin() const [member function]
|
||||
cls.add_method('getMin',
|
||||
'double',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator<unsigned int>::getSqrSum() const [member function]
|
||||
cls.add_method('getSqrSum',
|
||||
'double',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator<unsigned int>::getStddev() const [member function]
|
||||
cls.add_method('getStddev',
|
||||
'double',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator<unsigned int>::getSum() const [member function]
|
||||
cls.add_method('getSum',
|
||||
'double',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator<unsigned int>::getVariance() const [member function]
|
||||
cls.add_method('getVariance',
|
||||
'double',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## basic-data-calculators.h: void ns3::MinMaxAvgTotalCalculator<unsigned int>::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<ns3::Packet const> 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<ns3::Packet const> 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<unsigned int>::CounterCalculator(ns3::CounterCalculator<unsigned int> const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::CounterCalculator< unsigned int > const &', 'arg0')])
|
||||
## basic-data-calculators.h: ns3::CounterCalculator<unsigned int>::CounterCalculator() [constructor]
|
||||
cls.add_constructor([])
|
||||
## basic-data-calculators.h: unsigned int ns3::CounterCalculator<unsigned int>::GetCount() const [member function]
|
||||
cls.add_method('GetCount',
|
||||
'unsigned int',
|
||||
[],
|
||||
is_const=True)
|
||||
## basic-data-calculators.h: void ns3::CounterCalculator<unsigned int>::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<unsigned int>::Update() [member function]
|
||||
cls.add_method('Update',
|
||||
'void',
|
||||
[])
|
||||
## basic-data-calculators.h: void ns3::CounterCalculator<unsigned int>::Update(unsigned int const i) [member function]
|
||||
cls.add_method('Update',
|
||||
'void',
|
||||
[param('unsigned int const', 'i')])
|
||||
## basic-data-calculators.h: void ns3::CounterCalculator<unsigned int>::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<ns3::Packet const> 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<ns3::Packet const> 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
|
||||
|
||||
@@ -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::NetDevice> ns3::TapBridgeHelper::Install(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::NetDevice> 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::NetDevice> ns3::TapBridgeHelper::Install(std::string nodeName, ns3::Ptr<ns3::NetDevice> 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::NetDevice> ns3::TapBridgeHelper::Install(ns3::Ptr<ns3::Node> 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::NetDevice> 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::NetDevice> ns3::TapBridgeHelper::Install(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::NetDevice> 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<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> 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::NetDevice> 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::Channel> 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::Node> 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<ns3::Packet> 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<ns3::Packet> 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<ns3::NetDevice> 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<ns3::Node> 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<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) [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<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) [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<ns3::NetDevice> device, ns3::Ptr<ns3::Packet const> 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<ns3::NetDevice> device, ns3::Ptr<ns3::Packet const> 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
|
||||
|
||||
@@ -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<double> [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<double>::Average(ns3::Average<double> const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Average< double > const &', 'arg0')])
|
||||
## average.h: ns3::Average<double>::Average() [constructor]
|
||||
cls.add_constructor([])
|
||||
## average.h: double ns3::Average<double>::Avg() const [member function]
|
||||
cls.add_method('Avg',
|
||||
'double',
|
||||
[],
|
||||
is_const=True)
|
||||
## average.h: uint32_t ns3::Average<double>::Count() const [member function]
|
||||
cls.add_method('Count',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True)
|
||||
## average.h: double ns3::Average<double>::Error90() const [member function]
|
||||
cls.add_method('Error90',
|
||||
'double',
|
||||
[],
|
||||
is_const=True)
|
||||
## average.h: double ns3::Average<double>::Error95() const [member function]
|
||||
cls.add_method('Error95',
|
||||
'double',
|
||||
[],
|
||||
is_const=True)
|
||||
## average.h: double ns3::Average<double>::Error99() const [member function]
|
||||
cls.add_method('Error99',
|
||||
'double',
|
||||
[],
|
||||
is_const=True)
|
||||
## average.h: double ns3::Average<double>::Max() const [member function]
|
||||
cls.add_method('Max',
|
||||
'double',
|
||||
[],
|
||||
is_const=True)
|
||||
## average.h: double ns3::Average<double>::Mean() const [member function]
|
||||
cls.add_method('Mean',
|
||||
'double',
|
||||
[],
|
||||
is_const=True)
|
||||
## average.h: double ns3::Average<double>::Min() const [member function]
|
||||
cls.add_method('Min',
|
||||
'double',
|
||||
[],
|
||||
is_const=True)
|
||||
## average.h: void ns3::Average<double>::Reset() [member function]
|
||||
cls.add_method('Reset',
|
||||
'void',
|
||||
[])
|
||||
## average.h: double ns3::Average<double>::Stddev() const [member function]
|
||||
cls.add_method('Stddev',
|
||||
'double',
|
||||
[],
|
||||
is_const=True)
|
||||
## average.h: void ns3::Average<double>::Update(double const & x) [member function]
|
||||
cls.add_method('Update',
|
||||
'void',
|
||||
[param('double const &', 'x')])
|
||||
## average.h: double ns3::Average<double>::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<ns3::Packet const> 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<ns3::Packet const> 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
|
||||
|
||||
@@ -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::TopologyReader> 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::Link> 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::Link> 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<ns3::Node> fromPtr, std::string fromName, ns3::Ptr<ns3::Node> 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::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > 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::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > 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::Node> 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::Node> 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
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -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<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> 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::Channel> 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::Node> 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<ns3::Packet> 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<ns3::Packet> 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<ns3::Packet> 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<ns3::Node> 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<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) [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<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) [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<bool, ns3::Ptr<ns3::Packet>, 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
|
||||
|
||||
@@ -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::NodeStatistics,std::allocator<ns3::PyViz::NodeStatistics> > ns3::PyViz::GetNodesStatistics() const [member function]
|
||||
cls.add_method('GetNodesStatistics',
|
||||
'std::vector< ns3::PyViz::NodeStatistics >',
|
||||
[],
|
||||
is_const=True)
|
||||
## pyviz.h: std::vector<ns3::PyViz::PacketDropSample,std::allocator<ns3::PyViz::PacketDropSample> > ns3::PyViz::GetPacketDropSamples() const [member function]
|
||||
cls.add_method('GetPacketDropSamples',
|
||||
'std::vector< ns3::PyViz::PacketDropSample >',
|
||||
[],
|
||||
is_const=True)
|
||||
## pyviz.h: std::vector<std::string, std::allocator<std::string> > ns3::PyViz::GetPauseMessages() const [member function]
|
||||
cls.add_method('GetPauseMessages',
|
||||
'std::vector< std::string >',
|
||||
[],
|
||||
is_const=True)
|
||||
## pyviz.h: std::vector<ns3::PyViz::TransmissionSample,std::allocator<ns3::PyViz::TransmissionSample> > 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<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> > 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
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -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):
|
||||
|
||||
+103
-384
@@ -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 <cxxabi.h>
|
||||
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<Object>
|
||||
__dummy_function_to_force_template_instantiation (Ptr<Object> obj, TypeId typeId)
|
||||
{
|
||||
return obj->GetObject<Object> (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.
|
||||
|
||||
+1
-1
@@ -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/
|
||||
@@ -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/
|
||||
+5
-1
@@ -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)
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 8.8 KiB |
@@ -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<Object> ()
|
||||
.AddAttribute ("TestInt16", "help text",
|
||||
IntegerValue (-2),
|
||||
MakeIntegerAccessor (&A::m_int16),
|
||||
MakeIntegerChecker<int16_t> ())
|
||||
;
|
||||
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> a_obj = CreateObject<A> ();
|
||||
NS_ABORT_MSG_UNLESS (a_obj->m_int16 == -5, "Cannot set A's integer attribute via Config::SetDefault");
|
||||
|
||||
Ptr<A> a2_obj = CreateObject<A> ();
|
||||
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``:::
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ns3>
|
||||
<default name="ns3::V4Ping::Remote" value="102.102.102.102"/>
|
||||
<default name="ns3::MsduStandardAggregator::MaxAmsduSize" value="7935"/>
|
||||
<default name="ns3::EdcaTxopN::MinCw" value="31"/>
|
||||
<default name="ns3::EdcaTxopN::MaxCw" value="1023"/>
|
||||
<default name="ns3::EdcaTxopN::Aifsn" value="3"/>
|
||||
<default name="ns3::StaWifiMac::ProbeRequestTimeout" value="50000000ns"/>
|
||||
<default name="ns3::StaWifiMac::AssocRequestTimeout" value="500000000ns"/>
|
||||
<default name="ns3::StaWifiMac::MaxMissedBeacons" value="10"/>
|
||||
<default name="ns3::StaWifiMac::ActiveProbing" value="false"/>
|
||||
...
|
||||
|
||||
<default name="ns3::RealtimeSimulatorImpl::SynchronizationMode" value="BestEffort"/>
|
||||
<default name="ns3::RealtimeSimulatorImpl::HardLimit" value="+100000000.0ns"/>
|
||||
<default name="ns3::PcapFileWrapper::CaptureSize" value="65535"/>
|
||||
<default name="ns3::PacketSocket::RcvBufSize" value="131072"/>
|
||||
<default name="ns3::ErrorModel::IsEnabled" value="true"/>
|
||||
<default name="ns3::RateErrorModel::ErrorUnit" value="EU_BYTE"/>
|
||||
<default name="ns3::RateErrorModel::ErrorRate" value="0"/>
|
||||
<default name="ns3::RateErrorModel::RanVar" value="Uniform:0:1"/>
|
||||
<default name="ns3::DropTailQueue::Mode" value="Packets"/>
|
||||
<default name="ns3::DropTailQueue::MaxPackets" value="100"/>
|
||||
<default name="ns3::DropTailQueue::MaxBytes" value="6553500"/>
|
||||
<default name="ns3::Application::StartTime" value="+0.0ns"/>
|
||||
<default name="ns3::Application::StopTime" value="+0.0ns"/>
|
||||
<default name="ns3::ConfigStore::Mode" value="Save"/>
|
||||
<default name="ns3::ConfigStore::Filename" value="output-attributes.xml"/>
|
||||
<default name="ns3::ConfigStore::FileFormat" value="Xml"/>
|
||||
<default name="ns3::A::TestInt16" value="-5"/>
|
||||
<global name="RngSeed" value="1"/>
|
||||
<global name="RngRun" value="1"/>
|
||||
<global name="SimulatorImplementationType" value="ns3::DefaultSimulatorImpl"/>
|
||||
<global name="SchedulerType" value="ns3::MapScheduler"/>
|
||||
<global name="ChecksumEnabled" value="false"/>
|
||||
<value path="/$ns3::A/TestInt16" value="-3"/>
|
||||
</ns3>
|
||||
|
||||
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
|
||||
@@ -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 <http://www.nsnam.org/tutorials.html>`_.
|
||||
|
||||
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 ();
|
||||
@@ -28,6 +28,7 @@ This document is written in `reStructuredText <http://docutils.sourceforge.net/r
|
||||
tracing
|
||||
realtime
|
||||
helpers
|
||||
gnuplot
|
||||
python
|
||||
tests
|
||||
support
|
||||
@@ -12,7 +12,7 @@ Introduction
|
||||
|
||||
The goal of Python bindings for |ns3| are two fold:
|
||||
|
||||
#. Allow the programmer to write complete simulation scripts in Python (http://wwww.python.org);
|
||||
#. Allow the programmer to write complete simulation scripts in Python (http://www.python.org);
|
||||
#. Prototype new models (e.g. routing protocols).
|
||||
|
||||
For the time being, the primary focus of the bindings is the first goal, but the second goal will eventually be supported as well.
|
||||
|
||||
@@ -459,19 +459,16 @@ and determine if the tests have executed to completion in a reasonable time.
|
||||
Running Tests
|
||||
+++++++++++++
|
||||
|
||||
Tests are typically run using the high level ``test.py`` program. They
|
||||
can also be run manually using a low level test-runner executable directly
|
||||
from ``waf``.
|
||||
Tests are typically run using the high level ``test.py`` program. To get a list of the available command-line options, run ``test.py --help``
|
||||
|
||||
|
||||
Running Tests Under the Test Runner Executable
|
||||
**********************************************
|
||||
Debugging Tests
|
||||
***************
|
||||
|
||||
The test-runner is the bridge from generic Python code to |ns3| code.
|
||||
It is written in C++ and uses the automatic test discovery process in the
|
||||
The debugging of the test programs is best performed running the low-level test-runner program. The test-runner is the bridge from generic Python code to |ns3| code. It is written in C++ and uses the automatic test discovery process in the
|
||||
|ns3| code to find and allow execution of all of the various tests.
|
||||
|
||||
Although it may not be used directly very often, it is good to understand how
|
||||
``test.py`` actually runs the various tests.
|
||||
The main reason why ``test.py`` is not suitable for debugging is that it is not allowed for logging to be turned on using the ``NS_LOG`` environmental variable when test.py runs. This limitation does not apply to the test-runner executable. Hence, if you want to see logging output from your tests, you have to run them using the test-runner directly.
|
||||
|
||||
In order to execute the test-runner, you run it like any other ns-3 executable
|
||||
-- using ``waf``. To get a list of available options, you can type::
|
||||
|
||||
+132
-65
@@ -1,12 +1,19 @@
|
||||
Steps in doing an ns-3 release
|
||||
|
||||
ns-3-dev preparation
|
||||
--------------------
|
||||
|
||||
1. check out a clean ns-3-dev somewhere using ns-3-allinone (you will need it)
|
||||
- hg clone http://code.nsnam.org/ns-3-allinone
|
||||
- ./download.py
|
||||
- ./build.py --enable-examples --enable-tests
|
||||
- confirm that the release builds cleanly.
|
||||
- try building static, optimized, and debug versions
|
||||
- try Python visualizer (not tested by buildbots)
|
||||
-- ./waf --pyrun src/flow-monitor/examples/wifi-olsr-flowmon.py --vis
|
||||
- cd ns-3-dev
|
||||
- ensure that tests pass (./test.py)
|
||||
- ensure that tests pass (./test.py -g) and make sure that the buildbots
|
||||
are reporting greens based on the tip of the repository
|
||||
|
||||
2. prepare the source files
|
||||
- revise and check in AUTHORS, if needed
|
||||
- revise and check in RELEASE_NOTES. Make sure to edit the Availability
|
||||
@@ -15,24 +22,61 @@ Steps in doing an ns-3 release
|
||||
- confirm that Doxygen builds cleanly (./waf doxygen),
|
||||
and check in any necessary changes. Currently, doxygen does not build
|
||||
cleanly, we need to fix this over time.
|
||||
3. build an ns-3-allinone distribution
|
||||
- you may want to check out a clean ns-3-allinone and ns-3-dev somewhere,
|
||||
otherwise the tarball will be huge
|
||||
|
||||
At this point, the ns-3-dev should be ready, except for changing the
|
||||
name of this repo from "3-dev" to the numbered release. That will come
|
||||
in subsequent steps.
|
||||
|
||||
ns-allinone-3.X.tar.bz2 dry run
|
||||
-------------------------------
|
||||
|
||||
This phase is optional to dry-run a tarball before tagging. You may skip
|
||||
to the next phase if you are ready to just make the release or release
|
||||
candidate.
|
||||
|
||||
1. check out a clean ns-3-allinone again
|
||||
- change into the allinone directory
|
||||
- ./dist.py
|
||||
- this will create an ns-allinone-dev.tar.bz2 tarball
|
||||
4. test dev tarball on release platforms
|
||||
- ./test.py
|
||||
- other scripts you can think of
|
||||
5. once you are happy with the tarball, tag ns-3-dev
|
||||
- ./download.py
|
||||
- cd ns-3-dev
|
||||
- change VERSION to the appropriate string, either "3.X" (for a release) or
|
||||
"3.X.RC1" Do not commit this VERSION change to ns-3-dev. It is used
|
||||
by dist.py script to name the directory properly.
|
||||
- cd into allinone directory and type "./dist.py"; you should see something
|
||||
like this:
|
||||
|
||||
NS-3 version: '3.12'
|
||||
Adding ns-3-dev as ns-allinone-3.12/ns-3.12
|
||||
Adding pybindgen as ns-allinone-3.12/pybindgen-0.15.0.795
|
||||
Adding nsc as ns-allinone-3.12/nsc-0.5.2
|
||||
Adding the build script files
|
||||
|
||||
This will create an ns-allinone-3.X.tar.bz2 tarball
|
||||
|
||||
2. test tarball on release platforms
|
||||
- optimized, debug, and static builds
|
||||
- ./test.py -g
|
||||
- make latexpdf in the doc/manual, doc/models, and doc/tutorial directories
|
||||
- ./waf --doxygen
|
||||
|
||||
At this point, you are ready for final packaging and repository/site work
|
||||
|
||||
tagging ns-3-dev and creating ns-3.X repositories
|
||||
-------------------------------------------------
|
||||
|
||||
The steps here involve tagging ns-3-dev, copying over ns-3-dev to ns-3.X
|
||||
on code.nsnam.org, cloning it locally, making changes from "3-dev" to "3.X"
|
||||
in various places, and checking in those changes to the new ns-3.X repository.
|
||||
|
||||
1. once you are happy with the tarball, tag ns-3-dev
|
||||
- cd into ns-3-dev
|
||||
- if release candidate
|
||||
-- hg tag "ns-3.x-RCy"
|
||||
-- hg push ssh://code@code.nsnam.org//home/code/repos/ns-3.x-RCy
|
||||
-- hg push ssh://code@code.nsnam.org//home/code/repos/ns-3-dev
|
||||
- else if final release
|
||||
-- hg tag "ns-3.x"
|
||||
-- hg push ssh://code@code.nsnam.org//home/code/repos/ns-3.x
|
||||
6. clone the tagged ns-3-dev and place it on the repository
|
||||
-- hg push ssh://code@code.nsnam.org//home/code/repos/ns-3-dev
|
||||
|
||||
2. copy the tagged ns-3-dev and place it on the repository
|
||||
- ssh code.nsnam.org; sudo bash; su code;
|
||||
- if release candidate
|
||||
-- cp -r /home/code/repos/ns-3-dev /home/code/repos/ns-3.x-RCy
|
||||
@@ -52,12 +96,15 @@ Steps in doing an ns-3 release
|
||||
description = ns-3.x release
|
||||
name = ns-3.x
|
||||
contact = <ns-developers@isi.edu>
|
||||
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
|
||||
|
||||
@@ -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
|
||||
<http://www.nsnam.org>`_, 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
|
||||
<http://www.nsnam.org>`_, 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.
|
||||
|
||||
@@ -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"
|
||||
<http://www.nsnam.org/getting_started.html>`_
|
||||
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
|
||||
<http://www.nsnam.org>`_, 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:
|
||||
|
||||
::
|
||||
|
||||
@@ -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<OutputStreamWrapper> 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<FlowMonitor> flowmon;
|
||||
//FlowMonitorHelper flowmonHelper;
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [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<ns3::OutputStreamWrapper>'], 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<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
|
||||
module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
|
||||
## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
|
||||
module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TraceSourceAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
|
||||
## 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<ns3::TraceSourceAccessor> >'])
|
||||
## 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<ns3::NixVector> >'])
|
||||
register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
|
||||
register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
|
||||
register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
|
||||
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<ns3::AttributeChecker const> checker, ns3::Ptr<ns3::AttributeValue> 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::Item> 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::Item> 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::AttributeValue> ns3::AttributeConstructionList::Find(ns3::Ptr<ns3::AttributeChecker const> 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::Object> 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<const ns3::TraceSourceAccessor> accessor) [member function]
|
||||
## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> 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::AttributeAccessor const> 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::AttributeChecker const> 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::AttributeValue const> 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::ObjectBase*,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> 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<const ns3::TraceSourceAccessor> 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<const ns3::TraceSourceAccessor> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
|
||||
## type-id.h (module 'core'): ns3::Ptr<ns3::TraceSourceAccessor const> 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<ns3::AttributeValue const> 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<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
|
||||
cls.add_constructor([])
|
||||
## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount(ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > 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<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::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::AttributeValue> 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<ns3::Node> 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<ns3::Ipv4RoutingProtocol> 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<ns3::NetDevice> 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::Ipv4RoutingProtocol> 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::Socket> 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<ns3::Ipv4L4Protocol> 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::Ipv4L4Protocol> 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<ns3::Ipv4L4Protocol> 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<ns3::NetDevice> device, ns3::Ptr<ns3::Packet const> 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<ns3::Packet> packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr<ns3::Ipv4Route> 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<ns3::Packet> packet, ns3::Ipv4Header ipHeader, ns3::Ptr<ns3::Ipv4Route> 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<ns3::NetDevice> 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::Ipv4Interface> 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<const ns3::NetDevice> 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<const ns3::NetDevice> 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::NetDevice> 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::Ipv4L4Protocol> 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::Ipv4RoutingProtocol> 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<ns3::Ipv4L4Protocol> 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<ns3::NetDevice> device, ns3::Ptr<ns3::Packet const> 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<ns3::Ipv4L4Protocol> 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<const ns3::NetDevice> 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<ns3::Packet> packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr<ns3::Ipv4Route> 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<ns3::Packet> packet, ns3::Ipv4Header ipHeader, ns3::Ptr<ns3::Ipv4Route> 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<ns3::Node> 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<ns3::Ipv4RoutingProtocol> 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<unsigned int, unsigned int, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int> > > 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<void,ns3::Ptr<ns3::NetDevice>,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<void, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler, uint16_t protocolType, ns3::Ptr<ns3::NetDevice> device, bool promiscuous=false) [member function]
|
||||
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<void,ns3::Ptr<ns3::NetDevice>,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<void, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
|
||||
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<ns3::NetDevice> 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):
|
||||
|
||||
@@ -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<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [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<ns3::OutputStreamWrapper>'], 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<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
|
||||
module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
|
||||
## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
|
||||
module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TraceSourceAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
|
||||
## 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<ns3::TraceSourceAccessor> >'])
|
||||
## 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<ns3::NixVector> >'])
|
||||
register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
|
||||
register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
|
||||
register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
|
||||
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<ns3::AttributeChecker const> checker, ns3::Ptr<ns3::AttributeValue> 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::Item> 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::Item> 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::AttributeValue> ns3::AttributeConstructionList::Find(ns3::Ptr<ns3::AttributeChecker const> 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::Object> 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<const ns3::TraceSourceAccessor> accessor) [member function]
|
||||
## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> 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::AttributeAccessor const> 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::AttributeChecker const> 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::AttributeValue const> 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::ObjectBase*,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> 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<const ns3::TraceSourceAccessor> 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<const ns3::TraceSourceAccessor> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
|
||||
## type-id.h (module 'core'): ns3::Ptr<ns3::TraceSourceAccessor const> 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<ns3::AttributeValue const> 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<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
|
||||
cls.add_constructor([])
|
||||
## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount(ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > 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<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::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::AttributeValue> 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<ns3::Node> 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<ns3::Ipv4RoutingProtocol> 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<ns3::NetDevice> 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::Ipv4RoutingProtocol> 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::Socket> 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<ns3::Ipv4L4Protocol> 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::Ipv4L4Protocol> 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<ns3::Ipv4L4Protocol> 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<ns3::NetDevice> device, ns3::Ptr<ns3::Packet const> 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<ns3::Packet> packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr<ns3::Ipv4Route> 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<ns3::Packet> packet, ns3::Ipv4Header ipHeader, ns3::Ptr<ns3::Ipv4Route> 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<ns3::NetDevice> 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::Ipv4Interface> 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<const ns3::NetDevice> 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<const ns3::NetDevice> 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::NetDevice> 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::Ipv4L4Protocol> 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::Ipv4RoutingProtocol> 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<ns3::Ipv4L4Protocol> 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<ns3::NetDevice> device, ns3::Ptr<ns3::Packet const> 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<ns3::Ipv4L4Protocol> 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<const ns3::NetDevice> 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<ns3::Packet> packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr<ns3::Ipv4Route> 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<ns3::Packet> packet, ns3::Ipv4Header ipHeader, ns3::Ptr<ns3::Ipv4Route> 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<ns3::Node> 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<ns3::Ipv4RoutingProtocol> 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<unsigned int, unsigned int, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int> > > 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<void,ns3::Ptr<ns3::NetDevice>,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<void, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler, uint16_t protocolType, ns3::Ptr<ns3::NetDevice> device, bool promiscuous=false) [member function]
|
||||
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<void,ns3::Ptr<ns3::NetDevice>,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<void, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
|
||||
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<ns3::NetDevice> 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):
|
||||
|
||||
@@ -17,8 +17,9 @@
|
||||
*
|
||||
* Authors: Pavel Boyko <boyko@iitp.ru>, written after OlsrHelper by Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
|
||||
*/
|
||||
#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 */
|
||||
@@ -20,8 +20,8 @@
|
||||
* Pavel Boyko <boyko@iitp.ru>
|
||||
*/
|
||||
|
||||
#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 */
|
||||
Loaded 100 of 1152 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user