diff --git a/.hgignore b/.hgignore
index 340172127..95df8a6af 100644
--- a/.hgignore
+++ b/.hgignore
@@ -11,3 +11,19 @@
^doc/introspected-doxygen\.h$
.*\.py[co]$
\.pcap$
+^doc/manual/manual/
+doc/manual/manual.aux
+doc/manual/manual.cp
+doc/manual/manual.fn
+doc/manual/manual.html
+doc/manual/manual.ky
+doc/manual/manual.log
+doc/manual/manual.pdf
+doc/manual/manual.pg
+doc/manual/manual.toc
+doc/manual/manual.tp
+doc/manual/manual.vr
+^doc/manual/figures/.*eps
+^doc/manual/figures/.*pdf
+^doc/manual/figures/.*png
+^bindings/python/pybindgen/
diff --git a/.hgtags b/.hgtags
index 4d11c256c..a719c20b7 100644
--- a/.hgtags
+++ b/.hgtags
@@ -1,15 +1,24 @@
-56928998e05c9c11f5f3aefe79be8d2843e0db88 release ns-3.0.1
-7ac5a4b0969b255c4824c926c2b37ef450136ce9 release ns-3.0.2
-0dc81e76166c56aaae64da48b673b62155943aad packet-history-working
-38099dd26e9467b8f49f8632f22789858149a6e7 release ns-3.0.3
-5701e60bf01a8ac1308945e69001e0cc07948faf release ns-3.0.4
-08046b6aef37932507696a2f2f427b42d693781e release ns-3.0.5
-267e2ebc28e4e4ae2f579e1cfc29902acade0c34 buffer-working-before-breaking
-606df29888e7573b825fc891a002f0757166b616 release ns-3.0.6
-36472385a1cc7c44d34fb7a5951b930010f4e8d2 release ns-3.0.7
-560a5091e0e6ded47d269e2f2dee780f13950a63 release ns-3.0.8
-4db981a0d9eb135e3e1c07765cff8d66f7a55cca release ns-3.0.9
-b5bf2588cde2f1273b1095cc5c83a0c272e55370 release ns-3.0.10
-ee5e1da76ecc52337f097cd90ebb50a3d49ec541 release-3.0.11
-b17f2928291eec5bf5b1c59a4a5fd583f704ac40 release ns-3.0.12
-79dba133b5f8a2d6f6f678a22e8519bc155e6a4e release ns-3.0.13
+56928998e05c9c11f5f3aefe79be8d2843e0db88 ns-3.0.1
+7ac5a4b0969b255c4824c926c2b37ef450136ce9 ns-3.0.2
+38099dd26e9467b8f49f8632f22789858149a6e7 ns-3.0.3
+5701e60bf01a8ac1308945e69001e0cc07948faf ns-3.0.4
+08046b6aef37932507696a2f2f427b42d693781e ns-3.0.5
+606df29888e7573b825fc891a002f0757166b616 ns-3.0.6
+36472385a1cc7c44d34fb7a5951b930010f4e8d2 ns-3.0.7
+560a5091e0e6ded47d269e2f2dee780f13950a63 ns-3.0.8
+4db981a0d9eb135e3e1c07765cff8d66f7a55cca ns-3.0.9
+b5bf2588cde2f1273b1095cc5c83a0c272e55370 ns-3.0.10
+ee5e1da76ecc52337f097cd90ebb50a3d49ec541 ns-3.0.11
+b17f2928291eec5bf5b1c59a4a5fd583f704ac40 ns-3.0.12
+79dba133b5f8a2d6f6f678a22e8519bc155e6a4e ns-3.0.13
+8869a79a391f49d0c787f0558cc9329b4e7ee40e ns-3.1-RC1
+951296e9a277e14113a0d3ba86a9688b222569ae ns-3.1-RC2
+ea16c44eb90db579c83d3434fc8a960be506a7f5 ns-3.1-RC3
+42504fb1f7be7817b8be513cdcd3d9bc8f3660e8 ns-3.1
+5768685f9fdba9fbf2e9561a840f085142c73575 ns-3.1
+dfd634417b8d1896d981b6f44d8f71030611596a ns-3.2-RC1
+319eb29611b18998abbad01548825643a8017bcb ns-3.2-RC2
+d783a951f8f5e64b33bc518f0415f76cae1ca6f3 ns-3.2-RC2-bis
+fa1c7b813873cfa251be7d1b7cea38373fe82fa1 ns-3.2-RC3
+68218c266a844f9fbda34a0ffddb1ae2adebd4b0 ns-3.2-RC4
+2ecac911b3ec40d73ab8301471bea6d9ba5b9885 ns-3.2
diff --git a/AUTHORS b/AUTHORS
index 4f0da03d7..3566e5207 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,4 +1,4 @@
-Raj Bhattarcharjea (raj.b@gatech.edu)
+Raj Bhattacharjea (raj.b@gatech.edu)
Gustavo Carneiro (gjc@inescporto.pt, gjcarneiro@gmail.com)
Craig Dowell (craigdo@ee.washington.edu)
Tom Henderson (tomhend@u.washington.edu)
@@ -8,3 +8,5 @@ Emmanuelle Laprise (emmmanuelle.laprise@bluekazoo.ca)
Federico Maguolo (maguolof@dei.unipd.it)
George F. Riley (riley@ece.gatech.edu)
Guillaume Vu-Brugier (gvubrugier@gmail.com)
+Florian Westphal (fw@strlen.de)
+
diff --git a/CHANGES.html b/CHANGES.html
new file mode 100644
index 000000000..38326fe84
--- /dev/null
+++ b/CHANGES.html
@@ -0,0 +1,296 @@
+
+
+
+
+ ns-3 Change Log
+
+
+
+
+ns-3: API and model change history
+
+
+ns-3 is an evolving system and there will be API or behavioral changes
+from time to time. Users who try to use scripts or models across
+versions of ns-3 may encounter problems at compile time, run time, or
+may see the simulation output change.
+
+We have adopted the development policy that we are going to try to ease
+the impact of these changes on users by documenting these changes in a
+single place (this file), and not by providing a temporary or permanent
+backward-compatibility software layer.
+
+The goal is that users who encounter a problem when trying to use older
+code with newer code should be able to consult this file to find
+guidance as to how to fix the problem. For instance, if a method name
+or signature has changed, it should be stated what the new replacement
+name is.
+
+Note that users who upgrade the simulator across versions, or who work
+directly out of the development tree, may find that simulation output
+changes even when the compilation doesn't break, such as when a
+simulator default value is changed. Therefore, it is good practice for
+_anyone_ using code across multiple ns-3 releases to consult this file,
+as well as the RELEASE_NOTES, to understand what has changed over time.
+
+
+This file is a best-effort approach to solving this issue; we will do
+our best but can guarantee that there will be things that fall through
+the cracks, unfortunately. If you, as a user, can suggest improvements
+to this file based on your experience, please contribute a patch or drop
+us a note on ns-developers mailing list.
+
+
+changes from ns-3.1 to ns-3.2
+
+new API:
+
+
+- 26-08-2008; changeset
+5aa65b1ea001
+
+-
+Add multithreaded and real-time simulator implementation. Allows for emulated
+net devices running in threads other than the main simulation thread to schedule
+events. Allows for pacing the simulation clock at 1x real-time.
+
+
+
+
+- 26-08-2008; changeset
+c69779f5e51e
+
+-
+Add threading and synchronization primitives. Enabling technology for
+multithreaded simulator implementation.
+
+
+
+
+new API in existing classes:
+
+
+- 01-08-2008; changeset
+a18520551cdf
+
+- class ArpCache has two new attributes: MaxRetries
+and a Drop trace. It also has some new public methods but these are
+mostly for internal use.
+
+
+
+
+changes to existing API:
+
+
+- 05-09-2008; changeset
+aa1fb0f43571
+
+-
+Change naming of MTU and packet size attributes in CSMA and Point-to-Point devices
+After much discussion it was decided that the preferred way to think about
+the different senses of transmission units and encapsulations was to call the
+MAC MTU simply MTU and to use the overall packet size as the PHY-level attribute
+of interest. See the Doxygen of CsmaNetDevice::SetFrameSize and
+PointToPointNetDevice::SetFrameSize for a detailed description.
+
+
+
+- 25-08-2008; changeset
+e5ab96db540e
+
+-
+bug 273: constify packet pointers.
+The normal and the promiscuous receive callbacks of the NetDevice API
+have been changed from:
+
+Callback,Ptr,uint16_t,const Address &>
+Callback, Ptr, uint16_t,
+ const Address &, const Address &, enum PacketType >
+
+to:
+
+Callback,Ptr,uint16_t,const Address &>
+Callback, Ptr, uint16_t,
+ const Address &, const Address &, enum PacketType >
+
+to avoid the kind of bugs reported in
+bug 273.
+Users who implement a subclass of the NetDevice base class need to change the signature
+of their SetReceiveCallback and SetPromiscReceiveCallback methods.
+
+
+
+
+- 04-08-2008; changeset
+cba7b2b80fe8
+
+-
+Cleanup of MTU confusion and initialization in CsmaNetDevice
+The MTU of the CsmaNetDevice defaulted to 65535. This did not correspond with
+the expected MTU found in Ethernet-like devices. Also there was not clear
+documentation regarding which MTU was being set. There are two MTU here, one
+at the MAC level and one at the PHY level. We split out the MTU setting to make
+this more clear and set the default PHY level MTU to 1500 to be more like
+Ethernet. The encapsulation mode defaults to LLC/SNAP which then puts the
+MAC level MTU at 1492 by default. We allow users to now set the encapsulation
+mode, MAC MTU and PHY MTU while keeping the three values consistent. See the
+Doxygen of CsmaNetDevice::SetMaxPayloadLength for a detailed description of the
+issues and solution.
+
+
+
+- 21-07-2008; changeset
+99698bc858e8
+
+- class NetDevice has added a pure virtual method that
+must be implemented by all subclasses:
+
+virtual void SetPromiscReceiveCallback (PromiscReceiveCallback cb) = 0;
+
+All NetDevices must support this method, and must call this callback
+when processing packets in the receive direction (the appropriate place
+to call this is device-dependent). An approach to stub this out
+temporarily, if you do not care about immediately enabling this
+functionality, would be to add this to your device:
+
+void
+ExampleNetDevice::SetPromiscReceiveCallback
+(NetDevice::PromiscReceiveCallback cb)
+{
+ NS_ASSERT_MSG (false, "No implementation yet for
+SetPromiscReceiveCallback");
+}
+
+To implement this properly, consult the CsmaNetDevice for examples of
+when the m_promiscRxCallback is called.
+
+
+
+
+- 03-07-2008; changeset
+d5f8e5fae1c6
+
+-
+Miscellaneous cleanup of Udp Helper API, to fix bug 234
+
+class UdpEchoServerHelper
+{
+public:
+- UdpEchoServerHelper ();
+- void SetPort (uint16_t port);
++ UdpEchoServerHelper (uint16_t port);
++
++ void SetAttribute (std::string name, const AttributeValue &value);
+ApplicationContainer Install (NodeContainer c);
+
+class UdpEchoClientHelper
+{
+public:
+- UdpEchoClientHelper ();
++ UdpEchoClientHelper (Ipv4Address ip, uint16_t port);
+- void SetRemote (Ipv4Address ip, uint16_t port);
+- void SetAppAttribute (std::string name, const AttributeValue &value);
++ void SetAttribute (std::string name, const AttributeValue &value);
+ApplicationContainer Install (NodeContainer c);
+
+
+
+
+- 03-07-2008; changeset
+3cdd9d60f7c7
+
+-
+Rename all instances method names using "Set..Parameter" to "Set..Attribute"
+(bug 232)
+
+- How to fix your code: Any use of helper API that was using a method
+"Set...Parameter()" should be changed to read "Set...Attribute()". e.g.
+
+- csma.SetChannelParameter ("DataRate", DataRateValue (5000000));
+- csma.SetChannelParameter ("Delay", TimeValue (MilliSeconds (2)));
++ csma.SetChannelAttribute ("DataRate", DataRateValue (5000000));
++ csma.SetChannelAttribute ("Delay", TimeValue (MilliSeconds (2)));
+
+
+
+
+
+
+changed behavior:
+
+
+- 07-09-2008; changeset
+5d836ab1523b
+
+
+-
+Implement a finite receive buffer for TCP
+The native TCP model in TcpSocketImpl did not support a finite receive buffer.
+This changeset adds the following functionality in this regard:
+
+-
+Being able to set the receiver buffer size through the attributes system.
+
+-
+This receiver buffer size is now correctly exported in the TCP header as the
+advertised window. Prior to this changeset, the TCP header advertised window
+was set to the maximum size of 2^16 bytes.
+window
+
+-
+The aforementioned window size is correctly used for flow control, i.e. the
+sending TCP will not send more data than available space in the receiver's
+buffer.
+
+-
+In the case of a receiver window collapse, when a advertised zero-window
+packet is received, the sender enters the persist probing state in which
+it sends probe packets with one payload byte at exponentially backed-off
+intervals up to 60s. The reciever will continue to send advertised
+zero-window ACKs of the old data so long as the receiver buffer remains full.
+When the receiver window clears up due to an application read, the TCP
+will finally ACK the probe byte, and update its advertised window appropriately.
+
+
+See
+ bug 239 for
+more.
+
+
+
+- 07-09-2008; changeset
+7afa66c2b291
+
+-
+Add correct FIN exchange behavior during TCP closedown
+The behavior of the native TcpSocketImpl TCP model was such that the final
+FIN exchange was not correct, i.e. calling Socket::Close didn't send a FIN
+packet, and even if it had, the ACK never came back, and even if it had, the
+ACK would have incorrect sequence number. All these various problems have been
+addressed by this changeset. See
+ bug 242 for
+more.
+
+
+
+- 28-07-2008; changeset
+6f68f1044df1
+
+-
+OLSR: HELLO messages hold time changed to 3*hello
+interval from hello interval. This is an important bug fix as
+hold time == refresh time was never intentional, as it leads to
+instability in neighbor detection.
+
+
+
+
+
+
+
diff --git a/README b/README
index 67dd6c899..72a88fb44 100644
--- a/README
+++ b/README
@@ -72,8 +72,8 @@ use of these ns-3 libraries.
To build the set of default libraries and the example
programs included in this package, you need to use the
-tool 'waf'. Detailed information on how to install
-and use waf is included in the file doc/build.txt
+tool 'waf'. Detailed information on how use waf is
+included in the file doc/build.txt
However, the real quick and dirty way to get started is to
type the command "./waf" the the directory which contains
@@ -85,6 +85,7 @@ following set of platforms:
- linux x86 gcc 4.2, 4.1, and, 3.4.6.
- linux x86_64 gcc 4.1.3, 4.2.1, 3.4.6
- MacOS X ppc and x86
+ - mingw gcc 3.4.5 (debug only)
- cygwin gcc 3.4.4 (debug only)
The current codebase is expected to fail to build on
@@ -92,10 +93,15 @@ the following platforms:
- gcc 3.3 and earlier
- optimized builds on gcc 3.4.4 and 3.4.5
- optimized builds on linux x86 gcc 4.0
+ - msvc
-Other platforms may or may not work: we welcome
-patches to improve the portability of the code to these
-other platforms.
+The following optional features are known to not work on
+these platforms:
+ - mingw: nsc, realtime scheduler
+ - cygwin: python bindings, nsc
+
+Other platforms may or may not work: we welcome patches to
+improve the portability of the code to these other platforms.
4) Running ns-3
---------------
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index 572bc13d7..54ce46205 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -3,8 +3,145 @@
This file contains ns-3 release notes (most recent releases first).
-Release 3.0.13 (2008/06/02)
+All of the ns-3 documentation is accessible from the ns-3 website:
+http://www.nsnam.org
+including tutorials:
+http://www.nsnam.org/tutorials.html
+
+Release 3.2 (pending)
+=====================
+
+Availability
+------------
+This release is immediately available from:
+http://www.nsnam.org/releases/ns-3.2.tar.bz2
+
+Supported platforms
+-------------------
+ns-3.2 has been tested on the following platforms:
+ - linux x86 gcc 4.2, 4.1, and, 3.4.6.
+ - linux x86_64 gcc 4.3.2, 4.2.3, 4.2.1, 4.1.3, 3.4.6
+ - MacOS X ppc and x86
+ - cygwin gcc 3.4.4 (debug only)
+
+Not all ns-3 options are available on all platforms; consult the
+wiki for more information:
+http://www.nsnam.org/wiki/index.php/Installation
+
+New user-visible features
+-------------------------
+ a) Learning bridge (IEEE 802.1D)
+ It is now possible to bridge together multiple layer 2 devices to
+ create larger layer 2 networks. The Wifi and Csma models support
+ this new mode of operation. (contributed by Gustavo Carneiro)
+
+ b) Python bindings
+ It is now possible to write simulation scripts in python using our
+ python bindings (contributed by Gustavo Carneiro).
+
+ c) Real-time simulator
+ It is now possible to run simulations synchronized on the real-world
+ wall-clock time (contributed by Craig Dowell).
+
+ d) Network Simulation Cradle
+ It is now possible to use the Network Simulation Cradle
+ (http://www.wand.net.nz/~stj2/nsc/) in ns-3 and run simulations
+ using various versions of kernel TCP network stacks. (contributed
+ by Florian Westphal as part of his Google Summer of Code work)
+
+ e) A statistics framework
+ Joseph Kopena contributed a statistics framework which can be used
+ keep track of simulation data in persistent storage across multiple
+ runs (database and ascii file backends are available).
+ More information on the wiki:
+ http://www.nsnam.org/wiki/index.php/Statistical_Framework_for_Network_Simulation
+
+API changes from ns-3.1
+-----------------------
+API changes for this release are documented in the file CHANGES.html
+
+Known issues
+------------
+ns-3 build is known to fail on the following platforms:
+ - gcc 3.3 and earlier
+ - optimized builds on gcc 3.4.4 and 3.4.5
+ - optimized builds on linux x86 gcc 4.0.x
+ - optimized builds on Ubuntu 8.10 alpha 5 x86 gcc4.3.2
+ - MinGW
+
+The IPv4 API defined in src/node/ipv4.h is expected to undergo major changes
+in preparation of the merge of the IPv6 API and implementation.
+
+Future releases
+---------------
+Our next release, which is expected to happen in 2 to 4 months from now, will
+feature the merging of some of our projects currently in development: IPv6,
+emulation, and synchronous posix sockets.
+
+Release 3.1 (2008/06/30)
========================
+
+The first ns-3 stable release
+-----------------------------
+
+This release is immediately available from:
+http://www.nsnam.org/releases/ns-3.1.tar.bz2
+
+We dedicate this initial ns-3 release to our late contributor and friend,
+Federico Maguolo.
+
+What is ns-3 ?
+--------------
+
+ns-3 is a new discrete-event network simulator designed for supporting network
+research and education. ns-3 features a solid, well documented C++ core and
+models for TCP/IP (IPv4), several link types including WiFi, and mobility
+models.
+
+ns-3 is an open source project released under the GNU GPLv2 license which
+allows anyone to use ns-3 without having to pay any license fee or royalties.
+ns-3 is actively seeking new contributors to extend the range of supported
+models and/or to maintain existing models.
+
+Where to get more information about ns-3
+----------------------------------------
+
+All the ns-3 documentation, is accessible from the ns-3 website:
+http://www.nsnam.org
+
+Including, tutorials:
+http://www.nsnam.org/tutorials.html
+
+Supported platforms
+-------------------
+
+ns-3 is regularly tested on the following platforms:
+ - linux x86 gcc 4.2, 4.1, and, 3.4.6.
+ - linux x86_64 gcc 4.1.3, 4.2.1, 3.4.6
+ - MacOS X ppc and x86
+ - cygwin gcc 3.4.4 (debug only)
+
+Known issues
+------------
+
+ns-3 is known to fail on the following platforms:
+ - gcc 3.3 and earlier
+ - optimized builds on gcc 3.4.4 and 3.4.5
+ - optimized builds on linux x86 gcc 4.0.x
+
+The IPv4 API defined in src/node/ipv4.h is expected to undergo major changes
+in preparation of the merge of the IPv6 API and implementation.
+
+Future releases
+---------------
+
+Our next release, which is expected to happen in 2 to 4 months from now, will
+feature the merging of some of our projects currently in development: python
+scripting, IPv6, emulation, a statistics framework and synchronous posix
+sockets.
+
+Release 3.0.13 (2008/06/02)
+===========================
- point to point links generate ppp pcap traces
- point to point links support asymmetrical data rates.
- generate doxygen documentation for all attributes and trace sources
@@ -24,7 +161,7 @@ called Simulator::Stop (time), and takes a relative time, instead of
absolute.
Release 3.0.12 (2008/04/07)
-========================
+===========================
- Add Attribute support to the TypeId metadata system and add
attribute support to all in-tree models
- Add a mid-level helper API to build simulation topologies
@@ -37,7 +174,7 @@ in the 802.11 model (Federico Maguolo).
- TCP delayed acknowledgements and multitasking server
Release 3.0.11 (2008/02/15)
-========================
+===========================
- Initial port of GTNetS TCP implementation (initial version
that does not support multitasking or delayed acknowledgments yet,
but supports a reliable stream service)
@@ -47,13 +184,13 @@ metadata system
- tutorial updates
Release 3.0.10 (2008/01/15)
-========================
+===========================
- Add tutorial document content;
- Valgrind option for "waf" tool;
- Doxygen organization changes.
Release 3.0.9 (2007/12/15)
-========================
+==========================
- A 802.11 model ported from Yans. This model supports:
* a rather extensive PHY model
* log-distance and friis propagation model
@@ -67,26 +204,26 @@ Release 3.0.9 (2007/12/15)
- many bugs fixed
Release 3.0.8 (2007/11/15)
-========================
+==========================
- A simple error model
- Source files for ns-3 tutorial
Release 3.0.7 (2007/10/15)
-========================
+==========================
- OLSR routing protocol
- A timer class
- Additional mobility models (random waypoint, random 2D walk)
- A mobility visualization tool
Release 3.0.6 (2007/09/15)
-========================
+==========================
- Static multicast IPv4 routing
- Logging overhaul (NS_LOG macros)
- Refactoring of tracing subsystem
- Tutorial document started
Release 3.0.5 (2007/08/15)
-========================
+==========================
- Refactoring to support win32-based unix environments (Cygwin, mingw)
- "Packet socket" for allowing applications to access NetDevices directly
@@ -97,7 +234,7 @@ Release 3.0.5 (2007/08/15)
- Global unicast centralized routing
Release 3.0.4 (2007/07/15)
-========================
+==========================
- Enable waf as the default build system.
- Per-packet metadata: a system to track which headers and trailers
@@ -105,7 +242,7 @@ Release 3.0.4 (2007/07/15)
- Simplifications to point-to-point devices and channel
Release 3.0.3 (2007/06/15)
-========================
+==========================
- Enable Waf for release tarballs: users can now build ns-3
with the "waf" tool. See doc/build-waf.txt.
@@ -118,7 +255,7 @@ Release 3.0.3 (2007/06/15)
- Many small API cleanups
Release 3.0.2 (2007/05/18)
-========================
+==========================
- Implement a new memory management infrastructure based
on reference counting and smart pointers (the latter being
@@ -130,7 +267,7 @@ Release 3.0.2 (2007/05/18)
- Add support for a BSD-style socket API for user applications
Release 3.0.1 (2007/03/31)
-========================
+==========================
- First public release; not yet pre-alpha.
diff --git a/VERSION b/VERSION
index eea30e595..1b8ef0972 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-3.0.13
+3-dev
diff --git a/bindings/python/callbacks_list.py b/bindings/python/callbacks_list.py
new file mode 100644
index 000000000..d26a26a6d
--- /dev/null
+++ b/bindings/python/callbacks_list.py
@@ -0,0 +1,11 @@
+callback_classes = [
+ ['void', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
+ ['void', 'ns3::Ptr', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
+ ['void', 'ns3::Ptr', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
+ ['void', 'ns3::Ptr', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
+ ['bool', 'ns3::Ptr', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
+ ['void', 'ns3::Ptr', 'ns3::Mac48Address', 'ns3::Mac48Address', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
+ ['bool', 'ns3::Ptr', 'ns3::Ptr', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType'],
+ ['bool', 'ns3::Ptr', 'ns3::Ptr', 'unsigned short', 'ns3::Address const&', 'ns3::empty', 'ns3::empty'],
+ ['void', 'ns3::Ptr', 'ns3::Ptr', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType'],
+]
diff --git a/bindings/python/my_extra_api_definitions.py b/bindings/python/my_extra_api_definitions.py
new file mode 100644
index 000000000..e8afeec5c
--- /dev/null
+++ b/bindings/python/my_extra_api_definitions.py
@@ -0,0 +1,13 @@
+from pybindgen import Module, FileCodeSink, write_preamble, param, retval
+
+def register_types(module):
+ module.add_class('MyClass')
+
+def register_methods(root_module):
+ MyClass = root_module['MyClass']
+ MyClass.add_constructor([], visibility='public')
+ MyClass.add_constructor([param('double', 's'), param('double', 'l'), param('double', 'mean')], visibility='public')
+
+def register_functions(module):
+ module.add_function('SomeFunction', 'int', [param('int', 'xpto')])
+
diff --git a/bindings/python/ns3/__init__.py b/bindings/python/ns3/__init__.py
new file mode 100644
index 000000000..943a01575
--- /dev/null
+++ b/bindings/python/ns3/__init__.py
@@ -0,0 +1,4 @@
+
+from _ns3 import *
+
+
diff --git a/bindings/python/ns3_module_bridge.py b/bindings/python/ns3_module_bridge.py
new file mode 100644
index 000000000..8790cf43f
--- /dev/null
+++ b/bindings/python/ns3_module_bridge.py
@@ -0,0 +1,267 @@
+from pybindgen import Module, FileCodeSink, param, retval, cppclass
+
+def register_types(module):
+ root_module = module.get_root()
+
+ ## 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 internal
+
+ nested_module = module.add_cpp_namespace('internal')
+ register_types_ns3_internal(nested_module)
+
+
+ ## Register a nested module for the namespace TimeStepPrecision
+
+ nested_module = module.add_cpp_namespace('TimeStepPrecision')
+ register_types_ns3_TimeStepPrecision(nested_module)
+
+
+ ## 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 olsr
+
+ nested_module = module.add_cpp_namespace('olsr')
+ register_types_ns3_olsr(nested_module)
+
+
+def register_types_ns3_internal(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_TimeStepPrecision(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_Config(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_olsr(module):
+ root_module = module.get_root()
+
+
+def register_methods(root_module):
+ register_Ns3BridgeChannel_methods(root_module, root_module['ns3::BridgeChannel'])
+ register_Ns3BridgeNetDevice_methods(root_module, root_module['ns3::BridgeNetDevice'])
+ return
+
+def register_Ns3BridgeChannel_methods(root_module, cls):
+ ## bridge-channel.h: ns3::BridgeChannel::BridgeChannel(ns3::BridgeChannel const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::BridgeChannel const &', 'arg0')])
+ ## bridge-channel.h: static ns3::TypeId ns3::BridgeChannel::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## bridge-channel.h: ns3::BridgeChannel::BridgeChannel() [constructor]
+ cls.add_constructor([])
+ ## bridge-channel.h: void ns3::BridgeChannel::AddChannel(ns3::Ptr bridgedChannel) [member function]
+ cls.add_method('AddChannel',
+ 'void',
+ [param('ns3::Ptr< ns3::Channel >', 'bridgedChannel')])
+ ## bridge-channel.h: uint32_t ns3::BridgeChannel::GetNDevices() const [member function]
+ cls.add_method('GetNDevices',
+ 'uint32_t',
+ [],
+ is_const=True, is_virtual=True)
+ ## bridge-channel.h: ns3::Ptr ns3::BridgeChannel::GetDevice(uint32_t i) const [member function]
+ cls.add_method('GetDevice',
+ 'ns3::Ptr< ns3::NetDevice >',
+ [param('uint32_t', 'i')],
+ is_const=True, is_virtual=True)
+ return
+
+def register_Ns3BridgeNetDevice_methods(root_module, cls):
+ ## bridge-net-device.h: ns3::BridgeNetDevice::BridgeNetDevice(ns3::BridgeNetDevice const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::BridgeNetDevice const &', 'arg0')])
+ ## 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: ns3::BridgeNetDevice::BridgeNetDevice() [constructor]
+ cls.add_constructor([])
+ ## bridge-net-device.h: void ns3::BridgeNetDevice::AddBridgePort(ns3::Ptr bridgePort) [member function]
+ cls.add_method('AddBridgePort',
+ 'void',
+ [param('ns3::Ptr< ns3::NetDevice >', 'bridgePort')])
+ ## bridge-net-device.h: void ns3::BridgeNetDevice::SetName(std::string const name) [member function]
+ cls.add_method('SetName',
+ 'void',
+ [param('std::string const', 'name')],
+ is_virtual=True)
+ ## bridge-net-device.h: std::string ns3::BridgeNetDevice::GetName() const [member function]
+ cls.add_method('GetName',
+ 'std::string',
+ [],
+ is_const=True, 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: uint32_t ns3::BridgeNetDevice::GetIfIndex() const [member function]
+ cls.add_method('GetIfIndex',
+ 'uint32_t',
+ [],
+ is_const=True, is_virtual=True)
+ ## bridge-net-device.h: ns3::Ptr ns3::BridgeNetDevice::GetChannel() const [member function]
+ cls.add_method('GetChannel',
+ 'ns3::Ptr< ns3::Channel >',
+ [],
+ is_const=True, is_virtual=True)
+ ## bridge-net-device.h: ns3::Address ns3::BridgeNetDevice::GetAddress() const [member function]
+ cls.add_method('GetAddress',
+ 'ns3::Address',
+ [],
+ is_const=True, 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: uint16_t ns3::BridgeNetDevice::GetMtu() const [member function]
+ cls.add_method('GetMtu',
+ 'uint16_t',
+ [],
+ 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: void ns3::BridgeNetDevice::SetLinkChangeCallback(ns3::Callback callback) [member function]
+ cls.add_method('SetLinkChangeCallback',
+ 'void',
+ [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
+ 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: ns3::Address ns3::BridgeNetDevice::GetBroadcast() const [member function]
+ cls.add_method('GetBroadcast',
+ 'ns3::Address',
+ [],
+ 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: ns3::Address ns3::BridgeNetDevice::GetMulticast() const [member function]
+ cls.add_method('GetMulticast',
+ 'ns3::Address',
+ [],
+ is_const=True, is_virtual=True)
+ ## bridge-net-device.h: ns3::Address ns3::BridgeNetDevice::MakeMulticastAddress(ns3::Ipv4Address multicastGroup) const [member function]
+ cls.add_method('MakeMulticastAddress',
+ 'ns3::Address',
+ [param('ns3::Ipv4Address', 'multicastGroup')],
+ 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::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
+ cls.add_method('Send',
+ 'bool',
+ [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
+ is_virtual=True)
+ ## bridge-net-device.h: bool ns3::BridgeNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function]
+ cls.add_method('SendFrom',
+ 'bool',
+ [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
+ is_virtual=True)
+ ## bridge-net-device.h: ns3::Ptr ns3::BridgeNetDevice::GetNode() const [member function]
+ cls.add_method('GetNode',
+ 'ns3::Ptr< ns3::Node >',
+ [],
+ is_const=True, is_virtual=True)
+ ## bridge-net-device.h: void ns3::BridgeNetDevice::SetNode(ns3::Ptr node) [member function]
+ cls.add_method('SetNode',
+ 'void',
+ [param('ns3::Ptr< ns3::Node >', 'node')],
+ is_virtual=True)
+ ## bridge-net-device.h: bool ns3::BridgeNetDevice::NeedsArp() const [member function]
+ cls.add_method('NeedsArp',
+ 'bool',
+ [],
+ is_const=True, is_virtual=True)
+ ## bridge-net-device.h: void ns3::BridgeNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, 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 >', 'cb')],
+ is_virtual=True)
+ ## bridge-net-device.h: void ns3::BridgeNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType> 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 >', '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::ReceiveFromDevice(ns3::Ptr device, ns3::Ptr packet, uint16_t protocol, ns3::Address const & source, ns3::Address const & destination, ns3::NetDevice::PacketType packetType) [member function]
+ cls.add_method('ReceiveFromDevice',
+ 'void',
+ [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'destination'), param('ns3::NetDevice::PacketType', 'packetType')],
+ visibility='protected')
+ ## bridge-net-device.h: void ns3::BridgeNetDevice::ForwardUnicast(ns3::Ptr incomingPort, ns3::Ptr packet, uint16_t protocol, ns3::Mac48Address src, ns3::Mac48Address dst) [member function]
+ cls.add_method('ForwardUnicast',
+ 'void',
+ [param('ns3::Ptr< ns3::NetDevice >', 'incomingPort'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Mac48Address', 'src'), param('ns3::Mac48Address', 'dst')],
+ visibility='protected')
+ ## bridge-net-device.h: void ns3::BridgeNetDevice::ForwardBroadcast(ns3::Ptr incomingPort, ns3::Ptr packet, uint16_t protocol, ns3::Mac48Address src, ns3::Mac48Address dst) [member function]
+ cls.add_method('ForwardBroadcast',
+ 'void',
+ [param('ns3::Ptr< ns3::NetDevice >', 'incomingPort'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Mac48Address', 'src'), param('ns3::Mac48Address', 'dst')],
+ visibility='protected')
+ ## bridge-net-device.h: void ns3::BridgeNetDevice::Learn(ns3::Mac48Address source, ns3::Ptr port) [member function]
+ cls.add_method('Learn',
+ 'void',
+ [param('ns3::Mac48Address', 'source'), param('ns3::Ptr< ns3::NetDevice >', 'port')],
+ visibility='protected')
+ ## bridge-net-device.h: ns3::Ptr ns3::BridgeNetDevice::GetLearnedState(ns3::Mac48Address source) [member function]
+ cls.add_method('GetLearnedState',
+ 'ns3::Ptr< ns3::NetDevice >',
+ [param('ns3::Mac48Address', 'source')],
+ visibility='protected')
+ return
+
+def register_functions(root_module):
+ module = root_module
+ register_functions_ns3_internal(module.get_submodule('internal'), root_module)
+ register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
+ register_functions_ns3_Config(module.get_submodule('Config'), root_module)
+ register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
+ return
+
+def register_functions_ns3_internal(module, root_module):
+ return
+
+def register_functions_ns3_TimeStepPrecision(module, root_module):
+ return
+
+def register_functions_ns3_Config(module, root_module):
+ return
+
+def register_functions_ns3_olsr(module, root_module):
+ return
+
diff --git a/bindings/python/ns3_module_common.py b/bindings/python/ns3_module_common.py
new file mode 100644
index 000000000..e4d4aff67
--- /dev/null
+++ b/bindings/python/ns3_module_common.py
@@ -0,0 +1,1138 @@
+from pybindgen import Module, FileCodeSink, param, retval, cppclass
+
+def register_types(module):
+ root_module = module.get_root()
+
+ ## error-model.h: ns3::ErrorUnit [enumeration]
+ module.add_enum('ErrorUnit', ['EU_BIT', 'EU_BYTE', 'EU_PKT'])
+ ## buffer.h: ns3::Buffer [class]
+ module.add_class('Buffer')
+ ## buffer.h: ns3::Buffer::Iterator [class]
+ module.add_class('Iterator', outer_class=root_module['ns3::Buffer'])
+ ## data-rate.h: ns3::DataRate [class]
+ module.add_class('DataRate')
+ ## packet.h: ns3::Packet [class]
+ module.add_class('Packet', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
+ ## packet-metadata.h: ns3::PacketMetadata [class]
+ module.add_class('PacketMetadata')
+ ## packet-metadata.h: ns3::PacketMetadata::Item [struct]
+ module.add_class('Item', outer_class=root_module['ns3::PacketMetadata'])
+ ## packet-metadata.h: ns3::PacketMetadata::Item [enumeration]
+ module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'])
+ ## packet-metadata.h: ns3::PacketMetadata::ItemIterator [class]
+ module.add_class('ItemIterator', outer_class=root_module['ns3::PacketMetadata'])
+ ## tag.h: ns3::Tag [class]
+ module.add_class('Tag', parent=root_module['ns3::ObjectBase'])
+ ## tag-buffer.h: ns3::TagBuffer [class]
+ module.add_class('TagBuffer')
+ ## packet.h: ns3::TagIterator [class]
+ module.add_class('TagIterator')
+ ## packet.h: ns3::TagIterator::Item [class]
+ module.add_class('Item', outer_class=root_module['ns3::TagIterator'])
+ ## tag-list.h: ns3::TagList [class]
+ module.add_class('TagList')
+ ## tag-list.h: ns3::TagList::Iterator [class]
+ module.add_class('Iterator', outer_class=root_module['ns3::TagList'])
+ ## tag-list.h: ns3::TagList::Iterator::Item [struct]
+ module.add_class('Item', outer_class=root_module['ns3::TagList::Iterator'])
+ ## chunk.h: ns3::Chunk [class]
+ module.add_class('Chunk', parent=root_module['ns3::ObjectBase'])
+ ## data-rate.h: ns3::DataRateChecker [class]
+ module.add_class('DataRateChecker', parent=root_module['ns3::AttributeChecker'])
+ ## data-rate.h: ns3::DataRateValue [class]
+ module.add_class('DataRateValue', parent=root_module['ns3::AttributeValue'])
+ ## header.h: ns3::Header [class]
+ module.add_class('Header', parent=root_module['ns3::Chunk'])
+ ## pcap-writer.h: ns3::PcapWriter [class]
+ module.add_class('PcapWriter', parent=root_module['ns3::RefCountBase'])
+ ## trailer.h: ns3::Trailer [class]
+ module.add_class('Trailer', parent=root_module['ns3::Chunk'])
+ ## error-model.h: ns3::ErrorModel [class]
+ module.add_class('ErrorModel', parent=root_module['ns3::Object'])
+ ## error-model.h: ns3::ListErrorModel [class]
+ module.add_class('ListErrorModel', parent=root_module['ns3::ErrorModel'])
+ ## error-model.h: ns3::RateErrorModel [class]
+ module.add_class('RateErrorModel', parent=root_module['ns3::ErrorModel'])
+
+ ## 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 TimeStepPrecision
+
+ nested_module = module.add_cpp_namespace('TimeStepPrecision')
+ register_types_ns3_TimeStepPrecision(nested_module)
+
+
+ ## 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 olsr
+
+ nested_module = module.add_cpp_namespace('olsr')
+ register_types_ns3_olsr(nested_module)
+
+
+def register_types_ns3_internal(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_TimeStepPrecision(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_Config(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_olsr(module):
+ root_module = module.get_root()
+
+
+def register_methods(root_module):
+ register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
+ register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
+ register_Ns3DataRate_methods(root_module, root_module['ns3::DataRate'])
+ register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
+ register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
+ register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
+ register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
+ register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
+ register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
+ register_Ns3TagIterator_methods(root_module, root_module['ns3::TagIterator'])
+ register_Ns3TagIteratorItem_methods(root_module, root_module['ns3::TagIterator::Item'])
+ register_Ns3TagList_methods(root_module, root_module['ns3::TagList'])
+ register_Ns3TagListIterator_methods(root_module, root_module['ns3::TagList::Iterator'])
+ register_Ns3TagListIteratorItem_methods(root_module, root_module['ns3::TagList::Iterator::Item'])
+ register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
+ register_Ns3DataRateChecker_methods(root_module, root_module['ns3::DataRateChecker'])
+ register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue'])
+ register_Ns3Header_methods(root_module, root_module['ns3::Header'])
+ register_Ns3PcapWriter_methods(root_module, root_module['ns3::PcapWriter'])
+ register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
+ register_Ns3ErrorModel_methods(root_module, root_module['ns3::ErrorModel'])
+ register_Ns3ListErrorModel_methods(root_module, root_module['ns3::ListErrorModel'])
+ register_Ns3RateErrorModel_methods(root_module, root_module['ns3::RateErrorModel'])
+ return
+
+def register_Ns3Buffer_methods(root_module, cls):
+ ## buffer.h: uint32_t ns3::Buffer::GetSize() const [member function]
+ cls.add_method('GetSize',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## buffer.h: uint8_t const * ns3::Buffer::PeekData() const [member function]
+ cls.add_method('PeekData',
+ 'uint8_t const *',
+ [],
+ is_const=True)
+ ## buffer.h: bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
+ cls.add_method('AddAtStart',
+ 'bool',
+ [param('uint32_t', 'start')])
+ ## buffer.h: bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
+ cls.add_method('AddAtEnd',
+ 'bool',
+ [param('uint32_t', 'end')])
+ ## buffer.h: void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
+ cls.add_method('AddAtEnd',
+ 'void',
+ [param('ns3::Buffer const &', 'o')])
+ ## buffer.h: void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
+ cls.add_method('RemoveAtStart',
+ 'void',
+ [param('uint32_t', 'start')])
+ ## buffer.h: void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
+ cls.add_method('RemoveAtEnd',
+ 'void',
+ [param('uint32_t', 'end')])
+ ## buffer.h: ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
+ cls.add_method('CreateFragment',
+ 'ns3::Buffer',
+ [param('uint32_t', 'start'), param('uint32_t', 'length')],
+ is_const=True)
+ ## buffer.h: ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
+ cls.add_method('Begin',
+ 'ns3::Buffer::Iterator',
+ [],
+ is_const=True)
+ ## buffer.h: ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
+ cls.add_method('End',
+ 'ns3::Buffer::Iterator',
+ [],
+ is_const=True)
+ ## buffer.h: ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
+ cls.add_method('CreateFullCopy',
+ 'ns3::Buffer',
+ [],
+ is_const=True)
+ ## buffer.h: int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
+ cls.add_method('GetCurrentStartOffset',
+ 'int32_t',
+ [],
+ is_const=True)
+ ## buffer.h: int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
+ cls.add_method('GetCurrentEndOffset',
+ 'int32_t',
+ [],
+ is_const=True)
+ ## buffer.h: ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
+ cls.add_constructor([param('ns3::Buffer const &', 'o')])
+ ## buffer.h: ns3::Buffer::Buffer() [constructor]
+ cls.add_constructor([])
+ ## buffer.h: ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
+ cls.add_constructor([param('uint32_t', 'dataSize')])
+ return
+
+def register_Ns3BufferIterator_methods(root_module, cls):
+ ## buffer.h: ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
+ ## buffer.h: ns3::Buffer::Iterator::Iterator() [constructor]
+ cls.add_constructor([])
+ ## buffer.h: void ns3::Buffer::Iterator::Next() [member function]
+ cls.add_method('Next',
+ 'void',
+ [])
+ ## buffer.h: void ns3::Buffer::Iterator::Prev() [member function]
+ cls.add_method('Prev',
+ 'void',
+ [])
+ ## buffer.h: void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
+ cls.add_method('Next',
+ 'void',
+ [param('uint32_t', 'delta')])
+ ## buffer.h: void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
+ cls.add_method('Prev',
+ 'void',
+ [param('uint32_t', 'delta')])
+ ## buffer.h: uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
+ cls.add_method('GetDistanceFrom',
+ 'uint32_t',
+ [param('ns3::Buffer::Iterator const &', 'o')],
+ is_const=True)
+ ## buffer.h: bool ns3::Buffer::Iterator::IsEnd() const [member function]
+ cls.add_method('IsEnd',
+ 'bool',
+ [],
+ is_const=True)
+ ## buffer.h: bool ns3::Buffer::Iterator::IsStart() const [member function]
+ cls.add_method('IsStart',
+ 'bool',
+ [],
+ is_const=True)
+ ## buffer.h: void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
+ cls.add_method('WriteU8',
+ 'void',
+ [param('uint8_t', 'data')])
+ ## buffer.h: void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
+ cls.add_method('WriteU8',
+ 'void',
+ [param('uint8_t', 'data'), param('uint32_t', 'len')])
+ ## buffer.h: void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
+ cls.add_method('WriteU16',
+ 'void',
+ [param('uint16_t', 'data')])
+ ## buffer.h: void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
+ cls.add_method('WriteU32',
+ 'void',
+ [param('uint32_t', 'data')])
+ ## buffer.h: void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
+ cls.add_method('WriteU64',
+ 'void',
+ [param('uint64_t', 'data')])
+ ## buffer.h: void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
+ cls.add_method('WriteHtolsbU16',
+ 'void',
+ [param('uint16_t', 'data')])
+ ## buffer.h: void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
+ cls.add_method('WriteHtolsbU32',
+ 'void',
+ [param('uint32_t', 'data')])
+ ## buffer.h: void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
+ cls.add_method('WriteHtolsbU64',
+ 'void',
+ [param('uint64_t', 'data')])
+ ## buffer.h: void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
+ cls.add_method('WriteHtonU16',
+ 'void',
+ [param('uint16_t', 'data')])
+ ## buffer.h: void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
+ cls.add_method('WriteHtonU32',
+ 'void',
+ [param('uint32_t', 'data')])
+ ## buffer.h: void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
+ cls.add_method('WriteHtonU64',
+ 'void',
+ [param('uint64_t', 'data')])
+ ## buffer.h: void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
+ cls.add_method('Write',
+ 'void',
+ [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
+ ## buffer.h: void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
+ cls.add_method('Write',
+ 'void',
+ [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
+ ## buffer.h: uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
+ cls.add_method('ReadU8',
+ 'uint8_t',
+ [])
+ ## buffer.h: uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
+ cls.add_method('ReadU16',
+ 'uint16_t',
+ [])
+ ## buffer.h: uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
+ cls.add_method('ReadU32',
+ 'uint32_t',
+ [])
+ ## buffer.h: uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
+ cls.add_method('ReadU64',
+ 'uint64_t',
+ [])
+ ## buffer.h: uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
+ cls.add_method('ReadNtohU16',
+ 'uint16_t',
+ [])
+ ## buffer.h: uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
+ cls.add_method('ReadNtohU32',
+ 'uint32_t',
+ [])
+ ## buffer.h: uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
+ cls.add_method('ReadNtohU64',
+ 'uint64_t',
+ [])
+ ## buffer.h: uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
+ cls.add_method('ReadLsbtohU16',
+ 'uint16_t',
+ [])
+ ## buffer.h: uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
+ cls.add_method('ReadLsbtohU32',
+ 'uint32_t',
+ [])
+ ## buffer.h: uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
+ cls.add_method('ReadLsbtohU64',
+ 'uint64_t',
+ [])
+ ## buffer.h: void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
+ cls.add_method('Read',
+ 'void',
+ [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
+ ## buffer.h: uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
+ cls.add_method('CalculateIpChecksum',
+ 'uint16_t',
+ [param('uint16_t', 'size')])
+ ## buffer.h: uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
+ cls.add_method('CalculateIpChecksum',
+ 'uint16_t',
+ [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
+ ## buffer.h: uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
+ cls.add_method('GetSize',
+ 'uint32_t',
+ [],
+ is_const=True)
+ return
+
+def register_Ns3DataRate_methods(root_module, cls):
+ cls.add_output_stream_operator()
+ cls.add_binary_comparison_operator('!=')
+ cls.add_binary_comparison_operator('<')
+ cls.add_binary_comparison_operator('<=')
+ cls.add_binary_comparison_operator('==')
+ cls.add_binary_comparison_operator('>')
+ cls.add_binary_comparison_operator('>=')
+ ## data-rate.h: ns3::DataRate::DataRate(ns3::DataRate const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::DataRate const &', 'arg0')])
+ ## data-rate.h: ns3::DataRate::DataRate() [constructor]
+ cls.add_constructor([])
+ ## data-rate.h: ns3::DataRate::DataRate(uint64_t bps) [constructor]
+ cls.add_constructor([param('uint64_t', 'bps')])
+ ## data-rate.h: ns3::DataRate::DataRate(std::string rate) [constructor]
+ cls.add_constructor([param('std::string', 'rate')])
+ ## data-rate.h: double ns3::DataRate::CalculateTxTime(uint32_t bytes) const [member function]
+ cls.add_method('CalculateTxTime',
+ 'double',
+ [param('uint32_t', 'bytes')],
+ is_const=True)
+ ## data-rate.h: uint64_t ns3::DataRate::GetBitRate() const [member function]
+ cls.add_method('GetBitRate',
+ 'uint64_t',
+ [],
+ is_const=True)
+ return
+
+def register_Ns3Packet_methods(root_module, cls):
+ cls.add_output_stream_operator()
+ ## packet.h: ns3::Packet::Packet() [constructor]
+ cls.add_constructor([])
+ ## packet.h: ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
+ cls.add_constructor([param('ns3::Packet const &', 'o')])
+ ## packet.h: ns3::Packet::Packet(uint32_t size) [constructor]
+ cls.add_constructor([param('uint32_t', 'size')])
+ ## packet.h: ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
+ cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
+ ## packet.h: void ns3::Packet::AddAtEnd(ns3::Ptr packet) [member function]
+ cls.add_method('AddAtEnd',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet const >', 'packet')])
+ ## packet.h: void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
+ cls.add_method('AddHeader',
+ 'void',
+ [param('ns3::Header const &', 'header')])
+ ## packet.h: void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
+ cls.add_method('AddPaddingAtEnd',
+ 'void',
+ [param('uint32_t', 'size')])
+ ## packet.h: void ns3::Packet::AddTag(ns3::Tag const & tag) const [member function]
+ cls.add_method('AddTag',
+ 'void',
+ [param('ns3::Tag const &', 'tag')],
+ is_const=True)
+ ## packet.h: void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
+ cls.add_method('AddTrailer',
+ 'void',
+ [param('ns3::Trailer const &', 'trailer')])
+ ## packet.h: ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
+ cls.add_method('BeginItem',
+ 'ns3::PacketMetadata::ItemIterator',
+ [],
+ is_const=True)
+ ## packet.h: ns3::Ptr ns3::Packet::Copy() const [member function]
+ cls.add_method('Copy',
+ 'ns3::Ptr< ns3::Packet >',
+ [],
+ is_const=True)
+ ## packet.h: uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
+ cls.add_method('CopyData',
+ 'uint32_t',
+ [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
+ is_const=True)
+ ## packet.h: ns3::Ptr ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
+ cls.add_method('CreateFragment',
+ 'ns3::Ptr< ns3::Packet >',
+ [param('uint32_t', 'start'), param('uint32_t', 'length')],
+ is_const=True)
+ ## packet.h: void ns3::Packet::Deserialize(ns3::Buffer buffer) [member function]
+ cls.add_method('Deserialize',
+ 'void',
+ [param('ns3::Buffer', 'buffer')])
+ ## packet.h: static void ns3::Packet::EnableChecking() [member function]
+ cls.add_method('EnableChecking',
+ 'void',
+ [],
+ is_static=True)
+ ## packet.h: static void ns3::Packet::EnableMetadata() [member function]
+ cls.add_method('EnableMetadata',
+ 'void',
+ [],
+ is_static=True, deprecated=True)
+ ## packet.h: static void ns3::Packet::EnablePrinting() [member function]
+ cls.add_method('EnablePrinting',
+ 'void',
+ [],
+ is_static=True)
+ ## packet.h: bool ns3::Packet::FindFirstMatchingTag(ns3::Tag & tag) const [member function]
+ cls.add_method('FindFirstMatchingTag',
+ 'bool',
+ [param('ns3::Tag &', 'tag')],
+ is_const=True)
+ ## packet.h: uint32_t ns3::Packet::GetSize() const [member function]
+ cls.add_method('GetSize',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## packet.h: ns3::TagIterator ns3::Packet::GetTagIterator() const [member function]
+ cls.add_method('GetTagIterator',
+ 'ns3::TagIterator',
+ [],
+ is_const=True)
+ ## packet.h: uint32_t ns3::Packet::GetUid() const [member function]
+ cls.add_method('GetUid',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## packet.h: uint8_t const * ns3::Packet::PeekData() const [member function]
+ cls.add_method('PeekData',
+ 'uint8_t const *',
+ [],
+ is_const=True)
+ ## packet.h: uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
+ cls.add_method('PeekHeader',
+ 'uint32_t',
+ [param('ns3::Header &', 'header')],
+ is_const=True)
+ ## packet.h: uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
+ cls.add_method('PeekTrailer',
+ 'uint32_t',
+ [param('ns3::Trailer &', 'trailer')])
+ ## packet.h: void ns3::Packet::Print(std::ostream & os) const [member function]
+ cls.add_method('Print',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_const=True)
+ ## packet.h: void ns3::Packet::PrintTags(std::ostream & os) const [member function]
+ cls.add_method('PrintTags',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_const=True)
+ ## packet.h: void ns3::Packet::RemoveAllTags() [member function]
+ cls.add_method('RemoveAllTags',
+ 'void',
+ [])
+ ## packet.h: void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
+ cls.add_method('RemoveAtEnd',
+ 'void',
+ [param('uint32_t', 'size')])
+ ## packet.h: void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
+ cls.add_method('RemoveAtStart',
+ 'void',
+ [param('uint32_t', 'size')])
+ ## packet.h: uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
+ cls.add_method('RemoveHeader',
+ 'uint32_t',
+ [param('ns3::Header &', 'header')])
+ ## packet.h: uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
+ cls.add_method('RemoveTrailer',
+ 'uint32_t',
+ [param('ns3::Trailer &', 'trailer')])
+ ## packet.h: ns3::Buffer ns3::Packet::Serialize() const [member function]
+ cls.add_method('Serialize',
+ 'ns3::Buffer',
+ [],
+ is_const=True)
+ return
+
+def register_Ns3PacketMetadata_methods(root_module, cls):
+ ## packet-metadata.h: static void ns3::PacketMetadata::Enable() [member function]
+ cls.add_method('Enable',
+ 'void',
+ [],
+ is_static=True)
+ ## packet-metadata.h: static void ns3::PacketMetadata::EnableChecking() [member function]
+ cls.add_method('EnableChecking',
+ 'void',
+ [],
+ is_static=True)
+ ## packet-metadata.h: ns3::PacketMetadata::PacketMetadata(uint32_t uid, uint32_t size) [constructor]
+ cls.add_constructor([param('uint32_t', 'uid'), param('uint32_t', 'size')])
+ ## packet-metadata.h: ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
+ cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
+ ## packet-metadata.h: void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
+ cls.add_method('AddHeader',
+ 'void',
+ [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
+ ## packet-metadata.h: void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
+ cls.add_method('RemoveHeader',
+ 'void',
+ [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
+ ## packet-metadata.h: void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
+ cls.add_method('AddTrailer',
+ 'void',
+ [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
+ ## packet-metadata.h: void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
+ cls.add_method('RemoveTrailer',
+ 'void',
+ [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
+ ## packet-metadata.h: ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
+ cls.add_method('CreateFragment',
+ 'ns3::PacketMetadata',
+ [param('uint32_t', 'start'), param('uint32_t', 'end')],
+ is_const=True)
+ ## packet-metadata.h: void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
+ cls.add_method('AddAtEnd',
+ 'void',
+ [param('ns3::PacketMetadata const &', 'o')])
+ ## packet-metadata.h: void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
+ cls.add_method('AddPaddingAtEnd',
+ 'void',
+ [param('uint32_t', 'end')])
+ ## packet-metadata.h: void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
+ cls.add_method('RemoveAtStart',
+ 'void',
+ [param('uint32_t', 'start')])
+ ## packet-metadata.h: void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
+ cls.add_method('RemoveAtEnd',
+ 'void',
+ [param('uint32_t', 'end')])
+ ## packet-metadata.h: uint32_t ns3::PacketMetadata::GetUid() const [member function]
+ cls.add_method('GetUid',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## packet-metadata.h: uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
+ cls.add_method('GetSerializedSize',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## packet-metadata.h: void ns3::PacketMetadata::Serialize(ns3::Buffer::Iterator i, uint32_t size) const [member function]
+ cls.add_method('Serialize',
+ 'void',
+ [param('ns3::Buffer::Iterator', 'i'), param('uint32_t', 'size')],
+ is_const=True)
+ ## packet-metadata.h: uint32_t ns3::PacketMetadata::Deserialize(ns3::Buffer::Iterator i) [member function]
+ cls.add_method('Deserialize',
+ 'uint32_t',
+ [param('ns3::Buffer::Iterator', 'i')])
+ ## packet-metadata.h: ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
+ cls.add_method('BeginItem',
+ 'ns3::PacketMetadata::ItemIterator',
+ [param('ns3::Buffer', 'buffer')],
+ is_const=True)
+ return
+
+def register_Ns3PacketMetadataItem_methods(root_module, cls):
+ ## packet-metadata.h: ns3::PacketMetadata::Item::isFragment [variable]
+ cls.add_instance_attribute('isFragment', 'bool', is_const=False)
+ ## packet-metadata.h: ns3::PacketMetadata::Item::tid [variable]
+ cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
+ ## packet-metadata.h: ns3::PacketMetadata::Item::currentSize [variable]
+ cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
+ ## packet-metadata.h: ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
+ cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
+ ## packet-metadata.h: ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
+ cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
+ ## packet-metadata.h: ns3::PacketMetadata::Item::current [variable]
+ cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
+ ## packet-metadata.h: ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
+ ## packet-metadata.h: ns3::PacketMetadata::Item::Item() [constructor]
+ cls.add_constructor([])
+ return
+
+def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
+ ## packet-metadata.h: ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
+ ## packet-metadata.h: ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
+ cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
+ ## packet-metadata.h: bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
+ cls.add_method('HasNext',
+ 'bool',
+ [],
+ is_const=True)
+ ## packet-metadata.h: ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
+ cls.add_method('Next',
+ 'ns3::PacketMetadata::Item',
+ [])
+ return
+
+def register_Ns3Tag_methods(root_module, cls):
+ ## tag.h: ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::Tag const &', 'arg0')])
+ ## tag.h: ns3::Tag::Tag() [constructor]
+ cls.add_constructor([])
+ ## tag.h: static ns3::TypeId ns3::Tag::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## tag.h: uint32_t ns3::Tag::GetSerializedSize() const [member function]
+ cls.add_method('GetSerializedSize',
+ 'uint32_t',
+ [],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## tag.h: void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
+ cls.add_method('Serialize',
+ 'void',
+ [param('ns3::TagBuffer', 'i')],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## tag.h: void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
+ cls.add_method('Deserialize',
+ 'void',
+ [param('ns3::TagBuffer', 'i')],
+ is_pure_virtual=True, is_virtual=True)
+ ## tag.h: void ns3::Tag::Print(std::ostream & os) const [member function]
+ cls.add_method('Print',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ return
+
+def register_Ns3TagBuffer_methods(root_module, cls):
+ ## tag-buffer.h: ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
+ ## tag-buffer.h: ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
+ cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
+ ## tag-buffer.h: void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
+ cls.add_method('TrimAtEnd',
+ 'void',
+ [param('uint32_t', 'trim')])
+ ## tag-buffer.h: void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
+ cls.add_method('CopyFrom',
+ 'void',
+ [param('ns3::TagBuffer', 'o')])
+ ## tag-buffer.h: void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
+ cls.add_method('WriteU8',
+ 'void',
+ [param('uint8_t', 'v')])
+ ## tag-buffer.h: void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
+ cls.add_method('WriteU16',
+ 'void',
+ [param('uint16_t', 'data')])
+ ## tag-buffer.h: void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
+ cls.add_method('WriteU32',
+ 'void',
+ [param('uint32_t', 'data')])
+ ## tag-buffer.h: void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
+ cls.add_method('WriteU64',
+ 'void',
+ [param('uint64_t', 'v')])
+ ## tag-buffer.h: void ns3::TagBuffer::WriteDouble(double v) [member function]
+ cls.add_method('WriteDouble',
+ 'void',
+ [param('double', 'v')])
+ ## tag-buffer.h: void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
+ cls.add_method('Write',
+ 'void',
+ [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
+ ## tag-buffer.h: uint8_t ns3::TagBuffer::ReadU8() [member function]
+ cls.add_method('ReadU8',
+ 'uint8_t',
+ [])
+ ## tag-buffer.h: uint16_t ns3::TagBuffer::ReadU16() [member function]
+ cls.add_method('ReadU16',
+ 'uint16_t',
+ [])
+ ## tag-buffer.h: uint32_t ns3::TagBuffer::ReadU32() [member function]
+ cls.add_method('ReadU32',
+ 'uint32_t',
+ [])
+ ## tag-buffer.h: uint64_t ns3::TagBuffer::ReadU64() [member function]
+ cls.add_method('ReadU64',
+ 'uint64_t',
+ [])
+ ## tag-buffer.h: double ns3::TagBuffer::ReadDouble() [member function]
+ cls.add_method('ReadDouble',
+ 'double',
+ [])
+ ## tag-buffer.h: void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
+ cls.add_method('Read',
+ 'void',
+ [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
+ return
+
+def register_Ns3TagIterator_methods(root_module, cls):
+ ## packet.h: ns3::TagIterator::TagIterator(ns3::TagIterator const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::TagIterator const &', 'arg0')])
+ ## packet.h: bool ns3::TagIterator::HasNext() const [member function]
+ cls.add_method('HasNext',
+ 'bool',
+ [],
+ is_const=True)
+ ## packet.h: ns3::TagIterator::Item ns3::TagIterator::Next() [member function]
+ cls.add_method('Next',
+ 'ns3::TagIterator::Item',
+ [])
+ return
+
+def register_Ns3TagIteratorItem_methods(root_module, cls):
+ ## packet.h: ns3::TagIterator::Item::Item(ns3::TagIterator::Item const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::TagIterator::Item const &', 'arg0')])
+ ## packet.h: ns3::TypeId ns3::TagIterator::Item::GetTypeId() const [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_const=True)
+ ## packet.h: uint32_t ns3::TagIterator::Item::GetStart() const [member function]
+ cls.add_method('GetStart',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## packet.h: uint32_t ns3::TagIterator::Item::GetEnd() const [member function]
+ cls.add_method('GetEnd',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## packet.h: void ns3::TagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
+ cls.add_method('GetTag',
+ 'void',
+ [param('ns3::Tag &', 'tag')],
+ is_const=True)
+ return
+
+def register_Ns3TagList_methods(root_module, cls):
+ ## tag-list.h: ns3::TagList::TagList() [constructor]
+ cls.add_constructor([])
+ ## tag-list.h: ns3::TagList::TagList(ns3::TagList const & o) [copy constructor]
+ cls.add_constructor([param('ns3::TagList const &', 'o')])
+ ## tag-list.h: ns3::TagBuffer ns3::TagList::Add(ns3::TypeId tid, uint32_t bufferSize, int32_t start, int32_t end) [member function]
+ cls.add_method('Add',
+ 'ns3::TagBuffer',
+ [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
+ ## tag-list.h: void ns3::TagList::Add(ns3::TagList const & o) [member function]
+ cls.add_method('Add',
+ 'void',
+ [param('ns3::TagList const &', 'o')])
+ ## tag-list.h: void ns3::TagList::RemoveAll() [member function]
+ cls.add_method('RemoveAll',
+ 'void',
+ [])
+ ## tag-list.h: ns3::TagList::Iterator ns3::TagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
+ cls.add_method('Begin',
+ 'ns3::TagList::Iterator',
+ [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')],
+ is_const=True)
+ ## tag-list.h: void ns3::TagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
+ cls.add_method('AddAtEnd',
+ 'void',
+ [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
+ ## tag-list.h: void ns3::TagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
+ cls.add_method('AddAtStart',
+ 'void',
+ [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
+ return
+
+def register_Ns3TagListIterator_methods(root_module, cls):
+ ## tag-list.h: ns3::TagList::Iterator::Iterator(ns3::TagList::Iterator const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::TagList::Iterator const &', 'arg0')])
+ ## tag-list.h: bool ns3::TagList::Iterator::HasNext() const [member function]
+ cls.add_method('HasNext',
+ 'bool',
+ [],
+ is_const=True)
+ ## tag-list.h: ns3::TagList::Iterator::Item ns3::TagList::Iterator::Next() [member function]
+ cls.add_method('Next',
+ 'ns3::TagList::Iterator::Item',
+ [])
+ ## tag-list.h: uint32_t ns3::TagList::Iterator::GetOffsetStart() const [member function]
+ cls.add_method('GetOffsetStart',
+ 'uint32_t',
+ [],
+ is_const=True)
+ return
+
+def register_Ns3TagListIteratorItem_methods(root_module, cls):
+ ## tag-list.h: ns3::TagList::Iterator::Item::tid [variable]
+ cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
+ ## tag-list.h: ns3::TagList::Iterator::Item::size [variable]
+ cls.add_instance_attribute('size', 'uint32_t', is_const=False)
+ ## tag-list.h: ns3::TagList::Iterator::Item::start [variable]
+ cls.add_instance_attribute('start', 'int32_t', is_const=False)
+ ## tag-list.h: ns3::TagList::Iterator::Item::end [variable]
+ cls.add_instance_attribute('end', 'int32_t', is_const=False)
+ ## tag-list.h: ns3::TagList::Iterator::Item::buf [variable]
+ cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
+ ## tag-list.h: ns3::TagList::Iterator::Item::Item(ns3::TagList::Iterator::Item const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::TagList::Iterator::Item const &', 'arg0')])
+ ## tag-list.h: ns3::TagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
+ cls.add_constructor([param('ns3::TagBuffer', 'buf')])
+ return
+
+def register_Ns3Chunk_methods(root_module, cls):
+ ## chunk.h: ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
+ ## chunk.h: ns3::Chunk::Chunk() [constructor]
+ cls.add_constructor([])
+ ## chunk.h: static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## chunk.h: uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
+ cls.add_method('Deserialize',
+ 'uint32_t',
+ [param('ns3::Buffer::Iterator', 'start')],
+ is_pure_virtual=True, is_virtual=True)
+ ## chunk.h: void ns3::Chunk::Print(std::ostream & os) const [member function]
+ cls.add_method('Print',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ return
+
+def register_Ns3DataRateChecker_methods(root_module, cls):
+ ## data-rate.h: ns3::DataRateChecker::DataRateChecker(ns3::DataRateChecker const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::DataRateChecker const &', 'arg0')])
+ ## data-rate.h: ns3::DataRateChecker::DataRateChecker() [constructor]
+ cls.add_constructor([])
+ return
+
+def register_Ns3DataRateValue_methods(root_module, cls):
+ ## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRateValue const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::DataRateValue const &', 'arg0')])
+ ## data-rate.h: ns3::DataRateValue::DataRateValue() [constructor]
+ cls.add_constructor([])
+ ## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRate const & value) [constructor]
+ cls.add_constructor([param('ns3::DataRate const &', 'value')])
+ ## data-rate.h: void ns3::DataRateValue::Set(ns3::DataRate const & value) [member function]
+ cls.add_method('Set',
+ 'void',
+ [param('ns3::DataRate const &', 'value')])
+ ## data-rate.h: ns3::DataRate ns3::DataRateValue::Get() const [member function]
+ cls.add_method('Get',
+ 'ns3::DataRate',
+ [],
+ is_const=True)
+ ## data-rate.h: ns3::Ptr ns3::DataRateValue::Copy() const [member function]
+ cls.add_method('Copy',
+ 'ns3::Ptr< ns3::AttributeValue >',
+ [],
+ is_const=True, is_virtual=True)
+ ## data-rate.h: std::string ns3::DataRateValue::SerializeToString(ns3::Ptr checker) const [member function]
+ cls.add_method('SerializeToString',
+ 'std::string',
+ [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_const=True, is_virtual=True)
+ ## data-rate.h: bool ns3::DataRateValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]
+ cls.add_method('DeserializeFromString',
+ 'bool',
+ [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_virtual=True)
+ return
+
+def register_Ns3Header_methods(root_module, cls):
+ cls.add_output_stream_operator()
+ ## header.h: ns3::Header::Header() [constructor]
+ cls.add_constructor([])
+ ## header.h: ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::Header const &', 'arg0')])
+ ## header.h: uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
+ cls.add_method('Deserialize',
+ 'uint32_t',
+ [param('ns3::Buffer::Iterator', 'start')],
+ is_pure_virtual=True, is_virtual=True)
+ ## header.h: uint32_t ns3::Header::GetSerializedSize() const [member function]
+ cls.add_method('GetSerializedSize',
+ 'uint32_t',
+ [],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## header.h: static ns3::TypeId ns3::Header::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## header.h: void ns3::Header::Print(std::ostream & os) const [member function]
+ cls.add_method('Print',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## header.h: void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
+ cls.add_method('Serialize',
+ 'void',
+ [param('ns3::Buffer::Iterator', 'start')],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ return
+
+def register_Ns3PcapWriter_methods(root_module, cls):
+ ## pcap-writer.h: ns3::PcapWriter::PcapWriter(ns3::PcapWriter const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::PcapWriter const &', 'arg0')])
+ ## pcap-writer.h: ns3::PcapWriter::PcapWriter() [constructor]
+ cls.add_constructor([])
+ ## pcap-writer.h: void ns3::PcapWriter::Open(std::string const & name) [member function]
+ cls.add_method('Open',
+ 'void',
+ [param('std::string const &', 'name')])
+ ## pcap-writer.h: void ns3::PcapWriter::WriteEthernetHeader() [member function]
+ cls.add_method('WriteEthernetHeader',
+ 'void',
+ [])
+ ## pcap-writer.h: void ns3::PcapWriter::WriteIpHeader() [member function]
+ cls.add_method('WriteIpHeader',
+ 'void',
+ [])
+ ## pcap-writer.h: void ns3::PcapWriter::WriteWifiHeader() [member function]
+ cls.add_method('WriteWifiHeader',
+ 'void',
+ [])
+ ## pcap-writer.h: void ns3::PcapWriter::WritePppHeader() [member function]
+ cls.add_method('WritePppHeader',
+ 'void',
+ [])
+ ## pcap-writer.h: void ns3::PcapWriter::WritePacket(ns3::Ptr packet) [member function]
+ cls.add_method('WritePacket',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet const >', 'packet')])
+ return
+
+def register_Ns3Trailer_methods(root_module, cls):
+ cls.add_output_stream_operator()
+ ## trailer.h: ns3::Trailer::Trailer() [constructor]
+ cls.add_constructor([])
+ ## trailer.h: ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
+ ## trailer.h: uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
+ cls.add_method('Deserialize',
+ 'uint32_t',
+ [param('ns3::Buffer::Iterator', 'end')],
+ is_pure_virtual=True, is_virtual=True)
+ ## trailer.h: uint32_t ns3::Trailer::GetSerializedSize() const [member function]
+ cls.add_method('GetSerializedSize',
+ 'uint32_t',
+ [],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## trailer.h: static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## trailer.h: void ns3::Trailer::Print(std::ostream & os) const [member function]
+ cls.add_method('Print',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## trailer.h: void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
+ cls.add_method('Serialize',
+ 'void',
+ [param('ns3::Buffer::Iterator', 'start')],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ return
+
+def register_Ns3ErrorModel_methods(root_module, cls):
+ ## error-model.h: ns3::ErrorModel::ErrorModel(ns3::ErrorModel const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::ErrorModel const &', 'arg0')])
+ ## error-model.h: static ns3::TypeId ns3::ErrorModel::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## error-model.h: ns3::ErrorModel::ErrorModel() [constructor]
+ cls.add_constructor([])
+ ## error-model.h: bool ns3::ErrorModel::IsCorrupt(ns3::Ptr pkt) [member function]
+ cls.add_method('IsCorrupt',
+ 'bool',
+ [param('ns3::Ptr< ns3::Packet >', 'pkt')])
+ ## error-model.h: void ns3::ErrorModel::Reset() [member function]
+ cls.add_method('Reset',
+ 'void',
+ [])
+ ## error-model.h: void ns3::ErrorModel::Enable() [member function]
+ cls.add_method('Enable',
+ 'void',
+ [])
+ ## error-model.h: void ns3::ErrorModel::Disable() [member function]
+ cls.add_method('Disable',
+ 'void',
+ [])
+ ## error-model.h: bool ns3::ErrorModel::IsEnabled() const [member function]
+ cls.add_method('IsEnabled',
+ 'bool',
+ [],
+ is_const=True)
+ ## error-model.h: bool ns3::ErrorModel::DoCorrupt(ns3::Ptr arg0) [member function]
+ cls.add_method('DoCorrupt',
+ 'bool',
+ [param('ns3::Ptr< ns3::Packet >', 'arg0')],
+ is_pure_virtual=True, visibility='private', is_virtual=True)
+ ## error-model.h: void ns3::ErrorModel::DoReset() [member function]
+ cls.add_method('DoReset',
+ 'void',
+ [],
+ is_pure_virtual=True, visibility='private', is_virtual=True)
+ return
+
+def register_Ns3ListErrorModel_methods(root_module, cls):
+ ## error-model.h: ns3::ListErrorModel::ListErrorModel(ns3::ListErrorModel const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::ListErrorModel const &', 'arg0')])
+ ## error-model.h: static ns3::TypeId ns3::ListErrorModel::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## error-model.h: ns3::ListErrorModel::ListErrorModel() [constructor]
+ cls.add_constructor([])
+ ## error-model.h: std::list > ns3::ListErrorModel::GetList() const [member function]
+ cls.add_method('GetList',
+ 'std::list< unsigned int >',
+ [],
+ is_const=True)
+ ## error-model.h: void ns3::ListErrorModel::SetList(std::list > const & packetlist) [member function]
+ cls.add_method('SetList',
+ 'void',
+ [param('std::list< unsigned int > const &', 'packetlist')])
+ ## error-model.h: bool ns3::ListErrorModel::DoCorrupt(ns3::Ptr p) [member function]
+ cls.add_method('DoCorrupt',
+ 'bool',
+ [param('ns3::Ptr< ns3::Packet >', 'p')],
+ visibility='private', is_virtual=True)
+ ## error-model.h: void ns3::ListErrorModel::DoReset() [member function]
+ cls.add_method('DoReset',
+ 'void',
+ [],
+ visibility='private', is_virtual=True)
+ return
+
+def register_Ns3RateErrorModel_methods(root_module, cls):
+ ## error-model.h: ns3::RateErrorModel::RateErrorModel(ns3::RateErrorModel const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::RateErrorModel const &', 'arg0')])
+ ## error-model.h: static ns3::TypeId ns3::RateErrorModel::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## error-model.h: ns3::RateErrorModel::RateErrorModel() [constructor]
+ cls.add_constructor([])
+ ## error-model.h: ns3::ErrorUnit ns3::RateErrorModel::GetUnit() const [member function]
+ cls.add_method('GetUnit',
+ 'ns3::ErrorUnit',
+ [],
+ is_const=True)
+ ## error-model.h: void ns3::RateErrorModel::SetUnit(ns3::ErrorUnit error_unit) [member function]
+ cls.add_method('SetUnit',
+ 'void',
+ [param('ns3::ErrorUnit', 'error_unit')])
+ ## error-model.h: double ns3::RateErrorModel::GetRate() const [member function]
+ cls.add_method('GetRate',
+ 'double',
+ [],
+ is_const=True)
+ ## error-model.h: void ns3::RateErrorModel::SetRate(double rate) [member function]
+ cls.add_method('SetRate',
+ 'void',
+ [param('double', 'rate')])
+ ## error-model.h: void ns3::RateErrorModel::SetRandomVariable(ns3::RandomVariable const & ranvar) [member function]
+ cls.add_method('SetRandomVariable',
+ 'void',
+ [param('ns3::RandomVariable const &', 'ranvar')])
+ ## error-model.h: bool ns3::RateErrorModel::DoCorrupt(ns3::Ptr p) [member function]
+ cls.add_method('DoCorrupt',
+ 'bool',
+ [param('ns3::Ptr< ns3::Packet >', 'p')],
+ visibility='private', is_virtual=True)
+ ## error-model.h: bool ns3::RateErrorModel::DoCorruptPkt(ns3::Ptr p) [member function]
+ cls.add_method('DoCorruptPkt',
+ 'bool',
+ [param('ns3::Ptr< ns3::Packet >', 'p')],
+ visibility='private', is_virtual=True)
+ ## error-model.h: bool ns3::RateErrorModel::DoCorruptByte(ns3::Ptr p) [member function]
+ cls.add_method('DoCorruptByte',
+ 'bool',
+ [param('ns3::Ptr< ns3::Packet >', 'p')],
+ visibility='private', is_virtual=True)
+ ## error-model.h: bool ns3::RateErrorModel::DoCorruptBit(ns3::Ptr p) [member function]
+ cls.add_method('DoCorruptBit',
+ 'bool',
+ [param('ns3::Ptr< ns3::Packet >', 'p')],
+ visibility='private', is_virtual=True)
+ ## error-model.h: void ns3::RateErrorModel::DoReset() [member function]
+ cls.add_method('DoReset',
+ 'void',
+ [],
+ visibility='private', is_virtual=True)
+ return
+
+def register_functions(root_module):
+ module = root_module
+ ## data-rate.h: extern ns3::Ptr ns3::MakeDataRateChecker() [free function]
+ module.add_function('MakeDataRateChecker',
+ 'ns3::Ptr< ns3::AttributeChecker const >',
+ [])
+ register_functions_ns3_internal(module.get_submodule('internal'), root_module)
+ register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
+ register_functions_ns3_Config(module.get_submodule('Config'), root_module)
+ register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
+ return
+
+def register_functions_ns3_internal(module, root_module):
+ return
+
+def register_functions_ns3_TimeStepPrecision(module, root_module):
+ return
+
+def register_functions_ns3_Config(module, root_module):
+ return
+
+def register_functions_ns3_olsr(module, root_module):
+ return
+
diff --git a/bindings/python/ns3_module_contrib.py b/bindings/python/ns3_module_contrib.py
new file mode 100644
index 000000000..53ff8b169
--- /dev/null
+++ b/bindings/python/ns3_module_contrib.py
@@ -0,0 +1,260 @@
+from pybindgen import Module, FileCodeSink, param, retval, cppclass
+
+def register_types(module):
+ root_module = module.get_root()
+
+ ## 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::GnuplotDataset [class]
+ module.add_class('GnuplotDataset')
+ ## gnuplot.h: ns3::GnuplotDataset::Style [enumeration]
+ module.add_enum('Style', ['LINES', 'POINTS', 'LINES_POINTS', 'DOTS', 'IMPULSES', 'STEPS', 'FSTEPS', 'HISTEPS'], outer_class=root_module['ns3::GnuplotDataset'])
+ ## gnuplot.h: ns3::GnuplotDataset::ErrorBars [enumeration]
+ module.add_enum('ErrorBars', ['NONE', 'X', 'Y', 'XY'], outer_class=root_module['ns3::GnuplotDataset'])
+ ## gtk-config-store.h: ns3::GtkConfigStore [class]
+ module.add_class('GtkConfigStore')
+ ## config-store.h: ns3::ConfigStore [class]
+ module.add_class('ConfigStore', parent=root_module['ns3::ObjectBase'])
+ ## flow-id-tag.h: ns3::FlowIdTag [class]
+ module.add_class('FlowIdTag', parent=root_module['ns3::Tag'])
+
+ ## 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 TimeStepPrecision
+
+ nested_module = module.add_cpp_namespace('TimeStepPrecision')
+ register_types_ns3_TimeStepPrecision(nested_module)
+
+
+ ## 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 olsr
+
+ nested_module = module.add_cpp_namespace('olsr')
+ register_types_ns3_olsr(nested_module)
+
+
+def register_types_ns3_internal(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_TimeStepPrecision(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_Config(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_olsr(module):
+ root_module = module.get_root()
+
+
+def register_methods(root_module):
+ 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_Ns3GnuplotDataset_methods(root_module, root_module['ns3::GnuplotDataset'])
+ register_Ns3GtkConfigStore_methods(root_module, root_module['ns3::GtkConfigStore'])
+ register_Ns3ConfigStore_methods(root_module, root_module['ns3::ConfigStore'])
+ register_Ns3FlowIdTag_methods(root_module, root_module['ns3::FlowIdTag'])
+ 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: static void ns3::DelayJitterEstimation::PrepareTx(ns3::Ptr packet) [member function]
+ cls.add_method('PrepareTx',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet const >', 'packet')],
+ is_static=True)
+ ## delay-jitter-estimation.h: void ns3::DelayJitterEstimation::RecordRx(ns3::Ptr packet) [member function]
+ cls.add_method('RecordRx',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet const >', 'packet')])
+ ## 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: ns3::Time ns3::DelayJitterEstimation::GetLastJitter() const [member function]
+ cls.add_method('GetLastJitter',
+ 'ns3::Time',
+ [],
+ is_const=True)
+ 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 pngFilename) [constructor]
+ cls.add_constructor([param('std::string', 'pngFilename')])
+ ## gnuplot.h: void ns3::Gnuplot::SetLegend(std::string xLegend, std::string yLegend) [member function]
+ cls.add_method('SetLegend',
+ 'void',
+ [param('std::string', 'xLegend'), param('std::string', 'yLegend')])
+ ## 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::GenerateOutput(std::ostream & os) [member function]
+ cls.add_method('GenerateOutput',
+ 'void',
+ [param('std::ostream &', 'os')])
+ return
+
+def register_Ns3GnuplotDataset_methods(root_module, cls):
+ ## gnuplot.h: ns3::GnuplotDataset::GnuplotDataset(ns3::GnuplotDataset const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::GnuplotDataset const &', 'arg0')])
+ ## gnuplot.h: ns3::GnuplotDataset::GnuplotDataset() [constructor]
+ cls.add_constructor([])
+ ## gnuplot.h: ns3::GnuplotDataset::GnuplotDataset(std::string title) [constructor]
+ cls.add_constructor([param('std::string', 'title')])
+ ## gnuplot.h: void ns3::GnuplotDataset::SetStyle(ns3::GnuplotDataset::Style style) [member function]
+ cls.add_method('SetStyle',
+ 'void',
+ [param('ns3::GnuplotDataset::Style', 'style')])
+ ## gnuplot.h: void ns3::GnuplotDataset::SetErrorBars(ns3::GnuplotDataset::ErrorBars errorBars) [member function]
+ cls.add_method('SetErrorBars',
+ 'void',
+ [param('ns3::GnuplotDataset::ErrorBars', 'errorBars')])
+ ## gnuplot.h: void ns3::GnuplotDataset::Add(double x, double y) [member function]
+ cls.add_method('Add',
+ 'void',
+ [param('double', 'x'), param('double', 'y')])
+ ## gnuplot.h: void ns3::GnuplotDataset::Add(double x, double y, double errorDelta) [member function]
+ cls.add_method('Add',
+ 'void',
+ [param('double', 'x'), param('double', 'y'), param('double', 'errorDelta')])
+ 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::Configure() [member function]
+ cls.add_method('Configure',
+ 'void',
+ [])
+ 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: static ns3::TypeId ns3::ConfigStore::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## 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: ns3::ConfigStore::ConfigStore() [constructor]
+ cls.add_constructor([])
+ ## config-store.h: void ns3::ConfigStore::Configure() [member function]
+ cls.add_method('Configure',
+ 'void',
+ [])
+ return
+
+def register_Ns3FlowIdTag_methods(root_module, cls):
+ ## flow-id-tag.h: ns3::FlowIdTag::FlowIdTag(ns3::FlowIdTag const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::FlowIdTag const &', 'arg0')])
+ ## flow-id-tag.h: static ns3::TypeId ns3::FlowIdTag::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## flow-id-tag.h: ns3::TypeId ns3::FlowIdTag::GetInstanceTypeId() const [member function]
+ cls.add_method('GetInstanceTypeId',
+ 'ns3::TypeId',
+ [],
+ is_const=True, is_virtual=True)
+ ## flow-id-tag.h: uint32_t ns3::FlowIdTag::GetSerializedSize() const [member function]
+ cls.add_method('GetSerializedSize',
+ 'uint32_t',
+ [],
+ is_const=True, is_virtual=True)
+ ## flow-id-tag.h: void ns3::FlowIdTag::Serialize(ns3::TagBuffer buf) const [member function]
+ cls.add_method('Serialize',
+ 'void',
+ [param('ns3::TagBuffer', 'buf')],
+ is_const=True, is_virtual=True)
+ ## flow-id-tag.h: void ns3::FlowIdTag::Deserialize(ns3::TagBuffer buf) [member function]
+ cls.add_method('Deserialize',
+ 'void',
+ [param('ns3::TagBuffer', 'buf')],
+ is_virtual=True)
+ ## flow-id-tag.h: void ns3::FlowIdTag::Print(std::ostream & os) const [member function]
+ cls.add_method('Print',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_const=True, is_virtual=True)
+ ## flow-id-tag.h: ns3::FlowIdTag::FlowIdTag() [constructor]
+ cls.add_constructor([])
+ ## flow-id-tag.h: ns3::FlowIdTag::FlowIdTag(uint32_t flowId) [constructor]
+ cls.add_constructor([param('uint32_t', 'flowId')])
+ ## flow-id-tag.h: void ns3::FlowIdTag::SetFlowId(uint32_t flowId) [member function]
+ cls.add_method('SetFlowId',
+ 'void',
+ [param('uint32_t', 'flowId')])
+ ## flow-id-tag.h: uint32_t ns3::FlowIdTag::GetFlowId() const [member function]
+ cls.add_method('GetFlowId',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## flow-id-tag.h: static uint32_t ns3::FlowIdTag::AllocateFlowId() [member function]
+ cls.add_method('AllocateFlowId',
+ 'uint32_t',
+ [],
+ is_static=True)
+ return
+
+def register_functions(root_module):
+ module = root_module
+ register_functions_ns3_internal(module.get_submodule('internal'), root_module)
+ register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
+ register_functions_ns3_Config(module.get_submodule('Config'), root_module)
+ register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
+ return
+
+def register_functions_ns3_internal(module, root_module):
+ return
+
+def register_functions_ns3_TimeStepPrecision(module, root_module):
+ return
+
+def register_functions_ns3_Config(module, root_module):
+ return
+
+def register_functions_ns3_olsr(module, root_module):
+ return
+
diff --git a/bindings/python/ns3_module_core.py b/bindings/python/ns3_module_core.py
new file mode 100644
index 000000000..ef6df5af2
--- /dev/null
+++ b/bindings/python/ns3_module_core.py
@@ -0,0 +1,2182 @@
+from pybindgen import Module, FileCodeSink, param, retval, cppclass
+
+def register_types(module):
+ root_module = module.get_root()
+
+ ## log.h: ns3::LogLevel [enumeration]
+ module.add_enum('LogLevel', ['LOG_NONE', 'LOG_ERROR', 'LOG_LEVEL_ERROR', 'LOG_WARN', 'LOG_LEVEL_WARN', 'LOG_DEBUG', 'LOG_LEVEL_DEBUG', 'LOG_INFO', 'LOG_LEVEL_INFO', 'LOG_FUNCTION', 'LOG_LEVEL_FUNCTION', 'LOG_LOGIC', 'LOG_LEVEL_LOGIC', 'LOG_ALL', 'LOG_LEVEL_ALL', 'LOG_PREFIX_FUNC', 'LOG_PREFIX_TIME'])
+ ## attribute-list.h: ns3::AttributeList [class]
+ module.add_class('AttributeList')
+ ## callback.h: ns3::CallbackBase [class]
+ module.add_class('CallbackBase')
+ ## callback.h: ns3::CallbackImplBase [class]
+ module.add_class('CallbackImplBase', allow_subclassing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
+ ## command-line.h: ns3::CommandLine [class]
+ module.add_class('CommandLine')
+ ## system-mutex.h: ns3::CriticalSection [class]
+ module.add_class('CriticalSection')
+ ## global-value.h: ns3::GlobalValue [class]
+ module.add_class('GlobalValue')
+ ## int-to-type.h: ns3::IntToType<0> [struct]
+ module.add_class('IntToType', template_parameters=['0'])
+ ## int-to-type.h: ns3::IntToType<0>::v_e [enumeration]
+ module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 0 >'])
+ ## int-to-type.h: ns3::IntToType<1> [struct]
+ module.add_class('IntToType', template_parameters=['1'])
+ ## int-to-type.h: ns3::IntToType<1>::v_e [enumeration]
+ module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 1 >'])
+ ## int-to-type.h: ns3::IntToType<2> [struct]
+ module.add_class('IntToType', template_parameters=['2'])
+ ## int-to-type.h: ns3::IntToType<2>::v_e [enumeration]
+ module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 2 >'])
+ ## int-to-type.h: ns3::IntToType<3> [struct]
+ module.add_class('IntToType', template_parameters=['3'])
+ ## int-to-type.h: ns3::IntToType<3>::v_e [enumeration]
+ module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 3 >'])
+ ## int-to-type.h: ns3::IntToType<4> [struct]
+ module.add_class('IntToType', template_parameters=['4'])
+ ## int-to-type.h: ns3::IntToType<4>::v_e [enumeration]
+ module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 4 >'])
+ ## int-to-type.h: ns3::IntToType<5> [struct]
+ module.add_class('IntToType', template_parameters=['5'])
+ ## int-to-type.h: ns3::IntToType<5>::v_e [enumeration]
+ module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 5 >'])
+ ## int-to-type.h: ns3::IntToType<6> [struct]
+ module.add_class('IntToType', template_parameters=['6'])
+ ## int-to-type.h: ns3::IntToType<6>::v_e [enumeration]
+ module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 6 >'])
+ ## object-base.h: ns3::ObjectBase [class]
+ module.add_class('ObjectBase', allow_subclassing=True)
+ ## object-factory.h: ns3::ObjectFactory [class]
+ module.add_class('ObjectFactory')
+ ## random-variable.h: ns3::RandomVariable [class]
+ module.add_class('RandomVariable')
+ ## ref-count-base.h: ns3::RefCountBase [class]
+ module.add_class('RefCountBase', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
+ ## rng-stream.h: ns3::RngStream [class]
+ module.add_class('RngStream')
+ ## random-variable.h: ns3::SequentialVariable [class]
+ module.add_class('SequentialVariable', parent=root_module['ns3::RandomVariable'])
+ ## system-condition.h: ns3::SystemCondition [class]
+ module.add_class('SystemCondition')
+ ## system-mutex.h: ns3::SystemMutex [class]
+ module.add_class('SystemMutex')
+ ## system-thread.h: ns3::SystemThread [class]
+ module.add_class('SystemThread')
+ ## system-wall-clock-ms.h: ns3::SystemWallClockMs [class]
+ module.add_class('SystemWallClockMs')
+ ## trace-source-accessor.h: ns3::TraceSourceAccessor [class]
+ module.add_class('TraceSourceAccessor', allow_subclassing=True)
+ ## random-variable.h: ns3::TriangularVariable [class]
+ module.add_class('TriangularVariable', parent=root_module['ns3::RandomVariable'])
+ ## type-id.h: ns3::TypeId [class]
+ module.add_class('TypeId')
+ ## type-id.h: ns3::TypeId::AttributeFlag [enumeration]
+ module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'])
+ ## type-id.h: ns3::TypeId::AttributeInfo [struct]
+ module.add_class('AttributeInfo', outer_class=root_module['ns3::TypeId'])
+ ## random-variable.h: ns3::UniformVariable [class]
+ module.add_class('UniformVariable', parent=root_module['ns3::RandomVariable'])
+ ## attribute-list.h: ns3::UnsafeAttributeList [class]
+ module.add_class('UnsafeAttributeList')
+ ## random-variable.h: ns3::WeibullVariable [class]
+ module.add_class('WeibullVariable', parent=root_module['ns3::RandomVariable'])
+ ## empty.h: ns3::empty [class]
+ module.add_class('empty')
+ ## attribute.h: ns3::AttributeAccessor [class]
+ module.add_class('AttributeAccessor', parent=root_module['ns3::RefCountBase'])
+ ## attribute.h: ns3::AttributeChecker [class]
+ module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, parent=root_module['ns3::RefCountBase'])
+ ## attribute.h: ns3::AttributeValue [class]
+ module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, parent=root_module['ns3::RefCountBase'])
+ ## boolean.h: ns3::BooleanChecker [class]
+ module.add_class('BooleanChecker', parent=root_module['ns3::AttributeChecker'])
+ ## boolean.h: ns3::BooleanValue [class]
+ module.add_class('BooleanValue', parent=root_module['ns3::AttributeValue'])
+ ## callback.h: ns3::CallbackChecker [class]
+ module.add_class('CallbackChecker', parent=root_module['ns3::AttributeChecker'])
+ ## callback.h: ns3::CallbackValue [class]
+ module.add_class('CallbackValue', parent=root_module['ns3::AttributeValue'])
+ ## random-variable.h: ns3::ConstantVariable [class]
+ module.add_class('ConstantVariable', parent=root_module['ns3::RandomVariable'])
+ ## random-variable.h: ns3::DeterministicVariable [class]
+ module.add_class('DeterministicVariable', parent=root_module['ns3::RandomVariable'])
+ ## double.h: ns3::DoubleValue [class]
+ module.add_class('DoubleValue', parent=root_module['ns3::AttributeValue'])
+ ## random-variable.h: ns3::EmpiricalVariable [class]
+ module.add_class('EmpiricalVariable', parent=root_module['ns3::RandomVariable'])
+ ## attribute.h: ns3::EmptyAttributeValue [class]
+ module.add_class('EmptyAttributeValue', parent=root_module['ns3::AttributeValue'])
+ ## enum.h: ns3::EnumChecker [class]
+ module.add_class('EnumChecker', parent=root_module['ns3::AttributeChecker'])
+ ## enum.h: ns3::EnumValue [class]
+ module.add_class('EnumValue', parent=root_module['ns3::AttributeValue'])
+ ## random-variable.h: ns3::ExponentialVariable [class]
+ module.add_class('ExponentialVariable', parent=root_module['ns3::RandomVariable'])
+ ## random-variable.h: ns3::IntEmpiricalVariable [class]
+ module.add_class('IntEmpiricalVariable', parent=root_module['ns3::EmpiricalVariable'])
+ ## integer.h: ns3::IntegerValue [class]
+ module.add_class('IntegerValue', parent=root_module['ns3::AttributeValue'])
+ ## random-variable.h: ns3::LogNormalVariable [class]
+ module.add_class('LogNormalVariable', parent=root_module['ns3::RandomVariable'])
+ ## random-variable.h: ns3::NormalVariable [class]
+ module.add_class('NormalVariable', parent=root_module['ns3::RandomVariable'])
+ ## object.h: ns3::Object [class]
+ module.add_class('Object', automatic_type_narrowing=True, parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
+ ## object.h: ns3::Object::AggregateIterator [class]
+ module.add_class('AggregateIterator', outer_class=root_module['ns3::Object'])
+ ## object-factory.h: ns3::ObjectFactoryChecker [class]
+ module.add_class('ObjectFactoryChecker', parent=root_module['ns3::AttributeChecker'])
+ ## object-factory.h: ns3::ObjectFactoryValue [class]
+ module.add_class('ObjectFactoryValue', parent=root_module['ns3::AttributeValue'])
+ ## object-vector.h: ns3::ObjectVectorAccessor [class]
+ module.add_class('ObjectVectorAccessor', parent=root_module['ns3::AttributeAccessor'])
+ ## object-vector.h: ns3::ObjectVectorChecker [class]
+ module.add_class('ObjectVectorChecker', parent=root_module['ns3::AttributeChecker'])
+ ## object-vector.h: ns3::ObjectVectorValue [class]
+ module.add_class('ObjectVectorValue', parent=root_module['ns3::AttributeValue'])
+ ## random-variable.h: ns3::ParetoVariable [class]
+ module.add_class('ParetoVariable', parent=root_module['ns3::RandomVariable'])
+ ## pointer.h: ns3::PointerChecker [class]
+ module.add_class('PointerChecker', parent=root_module['ns3::AttributeChecker'])
+ ## pointer.h: ns3::PointerValue [class]
+ module.add_class('PointerValue', parent=root_module['ns3::AttributeValue'])
+ ## random-variable.h: ns3::RandomVariableChecker [class]
+ module.add_class('RandomVariableChecker', parent=root_module['ns3::AttributeChecker'])
+ ## random-variable.h: ns3::RandomVariableValue [class]
+ module.add_class('RandomVariableValue', parent=root_module['ns3::AttributeValue'])
+ ## string.h: ns3::StringChecker [class]
+ module.add_class('StringChecker', parent=root_module['ns3::AttributeChecker'])
+ ## string.h: ns3::StringValue [class]
+ module.add_class('StringValue', parent=root_module['ns3::AttributeValue'])
+ ## type-id.h: ns3::TypeIdChecker [class]
+ module.add_class('TypeIdChecker', parent=root_module['ns3::AttributeChecker'])
+ ## type-id.h: ns3::TypeIdValue [class]
+ module.add_class('TypeIdValue', parent=root_module['ns3::AttributeValue'])
+ ## uinteger.h: ns3::UintegerValue [class]
+ module.add_class('UintegerValue', parent=root_module['ns3::AttributeValue'])
+ ## traced-value.h: ns3::TracedValue [class]
+ module.add_class('TracedValue', template_parameters=['unsigned int'])
+ ## traced-value.h: ns3::TracedValue [class]
+ root_module['ns3::TracedValue< unsigned int >'].implicitly_converts_to(root_module['ns3::IntegerValue'])
+ ## traced-value.h: ns3::TracedValue [class]
+ root_module['ns3::TracedValue< unsigned int >'].implicitly_converts_to(root_module['ns3::UintegerValue'])
+ ## traced-value.h: ns3::TracedValue [class]
+ root_module['ns3::TracedValue< unsigned int >'].implicitly_converts_to(root_module['ns3::BooleanValue'])
+ ## traced-value.h: ns3::TracedValue [class]
+ root_module['ns3::TracedValue< unsigned int >'].implicitly_converts_to(root_module['ns3::EnumValue'])
+
+ ## 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 TimeStepPrecision
+
+ nested_module = module.add_cpp_namespace('TimeStepPrecision')
+ register_types_ns3_TimeStepPrecision(nested_module)
+
+
+ ## 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 olsr
+
+ nested_module = module.add_cpp_namespace('olsr')
+ register_types_ns3_olsr(nested_module)
+
+
+def register_types_ns3_internal(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_TimeStepPrecision(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_Config(module):
+ root_module = module.get_root()
+
+ ## config.h: ns3::Config::MatchContainer [class]
+ module.add_class('MatchContainer')
+ module.add_container('std::vector< ns3::Ptr< ns3::Object > >', 'ns3::Ptr< ns3::Object >', container_type='vector')
+
+def register_types_ns3_olsr(module):
+ root_module = module.get_root()
+
+
+def register_methods(root_module):
+ register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList'])
+ register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
+ register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
+ register_Ns3CommandLine_methods(root_module, root_module['ns3::CommandLine'])
+ register_Ns3CriticalSection_methods(root_module, root_module['ns3::CriticalSection'])
+ register_Ns3GlobalValue_methods(root_module, root_module['ns3::GlobalValue'])
+ register_Ns3IntToType__0_methods(root_module, root_module['ns3::IntToType< 0 >'])
+ register_Ns3IntToType__1_methods(root_module, root_module['ns3::IntToType< 1 >'])
+ register_Ns3IntToType__2_methods(root_module, root_module['ns3::IntToType< 2 >'])
+ register_Ns3IntToType__3_methods(root_module, root_module['ns3::IntToType< 3 >'])
+ register_Ns3IntToType__4_methods(root_module, root_module['ns3::IntToType< 4 >'])
+ register_Ns3IntToType__5_methods(root_module, root_module['ns3::IntToType< 5 >'])
+ register_Ns3IntToType__6_methods(root_module, root_module['ns3::IntToType< 6 >'])
+ register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
+ register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
+ register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
+ register_Ns3RefCountBase_methods(root_module, root_module['ns3::RefCountBase'])
+ register_Ns3RngStream_methods(root_module, root_module['ns3::RngStream'])
+ register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
+ register_Ns3SystemCondition_methods(root_module, root_module['ns3::SystemCondition'])
+ register_Ns3SystemMutex_methods(root_module, root_module['ns3::SystemMutex'])
+ register_Ns3SystemThread_methods(root_module, root_module['ns3::SystemThread'])
+ register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs'])
+ register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
+ register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable'])
+ register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
+ register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo'])
+ register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable'])
+ register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList'])
+ register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable'])
+ register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
+ register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
+ register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
+ register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
+ register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker'])
+ register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue'])
+ register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
+ register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
+ register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable'])
+ register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable'])
+ register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue'])
+ register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable'])
+ register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
+ register_Ns3EnumChecker_methods(root_module, root_module['ns3::EnumChecker'])
+ register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue'])
+ register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable'])
+ register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable'])
+ register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue'])
+ register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable'])
+ register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable'])
+ register_Ns3Object_methods(root_module, root_module['ns3::Object'])
+ register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
+ register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
+ register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
+ register_Ns3ObjectVectorAccessor_methods(root_module, root_module['ns3::ObjectVectorAccessor'])
+ register_Ns3ObjectVectorChecker_methods(root_module, root_module['ns3::ObjectVectorChecker'])
+ register_Ns3ObjectVectorValue_methods(root_module, root_module['ns3::ObjectVectorValue'])
+ register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable'])
+ register_Ns3PointerChecker_methods(root_module, root_module['ns3::PointerChecker'])
+ register_Ns3PointerValue_methods(root_module, root_module['ns3::PointerValue'])
+ register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker'])
+ register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue'])
+ register_Ns3StringChecker_methods(root_module, root_module['ns3::StringChecker'])
+ register_Ns3StringValue_methods(root_module, root_module['ns3::StringValue'])
+ register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
+ register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
+ register_Ns3UintegerValue_methods(root_module, root_module['ns3::UintegerValue'])
+ register_Ns3TracedValue__Unsigned_int_methods(root_module, root_module['ns3::TracedValue< unsigned int >'])
+ register_Ns3ConfigMatchContainer_methods(root_module, root_module['ns3::Config::MatchContainer'])
+ return
+
+def register_Ns3AttributeList_methods(root_module, cls):
+ ## attribute-list.h: ns3::AttributeList::AttributeList() [constructor]
+ cls.add_constructor([])
+ ## attribute-list.h: ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor]
+ cls.add_constructor([param('ns3::AttributeList const &', 'o')])
+ ## attribute-list.h: void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function]
+ cls.add_method('Set',
+ 'void',
+ [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
+ ## attribute-list.h: bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
+ cls.add_method('SetFailSafe',
+ 'bool',
+ [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
+ ## attribute-list.h: void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function]
+ cls.add_method('SetWithTid',
+ 'void',
+ [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
+ ## attribute-list.h: void ns3::AttributeList::Reset() [member function]
+ cls.add_method('Reset',
+ 'void',
+ [])
+ ## attribute-list.h: static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function]
+ cls.add_method('GetGlobal',
+ 'ns3::AttributeList *',
+ [],
+ is_static=True)
+ ## attribute-list.h: std::string ns3::AttributeList::SerializeToString() const [member function]
+ cls.add_method('SerializeToString',
+ 'std::string',
+ [],
+ is_const=True)
+ ## attribute-list.h: bool ns3::AttributeList::DeserializeFromString(std::string value) [member function]
+ cls.add_method('DeserializeFromString',
+ 'bool',
+ [param('std::string', 'value')])
+ return
+
+def register_Ns3CallbackBase_methods(root_module, cls):
+ ## callback.h: ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
+ ## callback.h: ns3::CallbackBase::CallbackBase() [constructor]
+ cls.add_constructor([])
+ ## callback.h: ns3::Ptr ns3::CallbackBase::GetImpl() const [member function]
+ cls.add_method('GetImpl',
+ 'ns3::Ptr< ns3::CallbackImplBase >',
+ [],
+ is_const=True)
+ ## callback.h: ns3::CallbackBase::CallbackBase(ns3::Ptr impl) [constructor]
+ cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')],
+ visibility='protected')
+ return
+
+def register_Ns3CallbackImplBase_methods(root_module, cls):
+ ## callback.h: ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
+ ## callback.h: ns3::CallbackImplBase::CallbackImplBase() [constructor]
+ cls.add_constructor([])
+ ## callback.h: bool ns3::CallbackImplBase::IsEqual(ns3::Ptr other) const [member function]
+ cls.add_method('IsEqual',
+ 'bool',
+ [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ return
+
+def register_Ns3CommandLine_methods(root_module, cls):
+ ## command-line.h: ns3::CommandLine::CommandLine(ns3::CommandLine const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::CommandLine const &', 'arg0')])
+ ## command-line.h: ns3::CommandLine::CommandLine() [constructor]
+ cls.add_constructor([])
+ return
+
+def register_Ns3CriticalSection_methods(root_module, cls):
+ ## system-mutex.h: ns3::CriticalSection::CriticalSection(ns3::CriticalSection const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::CriticalSection const &', 'arg0')])
+ ## system-mutex.h: ns3::CriticalSection::CriticalSection(ns3::SystemMutex & mutex) [constructor]
+ cls.add_constructor([param('ns3::SystemMutex &', 'mutex')])
+ return
+
+def register_Ns3GlobalValue_methods(root_module, cls):
+ ## global-value.h: ns3::GlobalValue::GlobalValue(ns3::GlobalValue const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::GlobalValue const &', 'arg0')])
+ ## global-value.h: ns3::GlobalValue::GlobalValue(std::string name, std::string help, ns3::AttributeValue const & initialValue, ns3::Ptr checker) [constructor]
+ cls.add_constructor([param('std::string', 'name'), param('std::string', 'help'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')])
+ ## global-value.h: std::string ns3::GlobalValue::GetName() const [member function]
+ cls.add_method('GetName',
+ 'std::string',
+ [],
+ is_const=True)
+ ## global-value.h: std::string ns3::GlobalValue::GetHelp() const [member function]
+ cls.add_method('GetHelp',
+ 'std::string',
+ [],
+ is_const=True)
+ ## global-value.h: void ns3::GlobalValue::GetValue(ns3::AttributeValue & value) const [member function]
+ cls.add_method('GetValue',
+ 'void',
+ [param('ns3::AttributeValue &', 'value')],
+ is_const=True)
+ ## global-value.h: ns3::Ptr ns3::GlobalValue::GetChecker() const [member function]
+ cls.add_method('GetChecker',
+ 'ns3::Ptr< ns3::AttributeChecker const >',
+ [],
+ is_const=True)
+ ## global-value.h: bool ns3::GlobalValue::SetValue(ns3::AttributeValue const & value) [member function]
+ cls.add_method('SetValue',
+ 'bool',
+ [param('ns3::AttributeValue const &', 'value')])
+ ## global-value.h: static void ns3::GlobalValue::Bind(std::string name, ns3::AttributeValue const & value) [member function]
+ cls.add_method('Bind',
+ 'void',
+ [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')],
+ is_static=True)
+ ## global-value.h: static bool ns3::GlobalValue::BindFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
+ cls.add_method('BindFailSafe',
+ 'bool',
+ [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')],
+ is_static=True)
+ ## global-value.h: static __gnu_cxx::__normal_iterator > > ns3::GlobalValue::Begin() [member function]
+ cls.add_method('Begin',
+ '__gnu_cxx::__normal_iterator< ns3::GlobalValue * const *, std::vector< ns3::GlobalValue * > >',
+ [],
+ is_static=True)
+ ## global-value.h: static __gnu_cxx::__normal_iterator > > ns3::GlobalValue::End() [member function]
+ cls.add_method('End',
+ '__gnu_cxx::__normal_iterator< ns3::GlobalValue * const *, std::vector< ns3::GlobalValue * > >',
+ [],
+ is_static=True)
+ return
+
+def register_Ns3IntToType__0_methods(root_module, cls):
+ ## int-to-type.h: ns3::IntToType<0>::IntToType(ns3::IntToType<0> const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::IntToType< 0 > const &', 'arg0')])
+ ## int-to-type.h: ns3::IntToType<0>::IntToType() [constructor]
+ cls.add_constructor([])
+ return
+
+def register_Ns3IntToType__1_methods(root_module, cls):
+ ## int-to-type.h: ns3::IntToType<1>::IntToType(ns3::IntToType<1> const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::IntToType< 1 > const &', 'arg0')])
+ ## int-to-type.h: ns3::IntToType<1>::IntToType() [constructor]
+ cls.add_constructor([])
+ return
+
+def register_Ns3IntToType__2_methods(root_module, cls):
+ ## int-to-type.h: ns3::IntToType<2>::IntToType(ns3::IntToType<2> const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::IntToType< 2 > const &', 'arg0')])
+ ## int-to-type.h: ns3::IntToType<2>::IntToType() [constructor]
+ cls.add_constructor([])
+ return
+
+def register_Ns3IntToType__3_methods(root_module, cls):
+ ## int-to-type.h: ns3::IntToType<3>::IntToType(ns3::IntToType<3> const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::IntToType< 3 > const &', 'arg0')])
+ ## int-to-type.h: ns3::IntToType<3>::IntToType() [constructor]
+ cls.add_constructor([])
+ return
+
+def register_Ns3IntToType__4_methods(root_module, cls):
+ ## int-to-type.h: ns3::IntToType<4>::IntToType(ns3::IntToType<4> const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::IntToType< 4 > const &', 'arg0')])
+ ## int-to-type.h: ns3::IntToType<4>::IntToType() [constructor]
+ cls.add_constructor([])
+ return
+
+def register_Ns3IntToType__5_methods(root_module, cls):
+ ## int-to-type.h: ns3::IntToType<5>::IntToType(ns3::IntToType<5> const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::IntToType< 5 > const &', 'arg0')])
+ ## int-to-type.h: ns3::IntToType<5>::IntToType() [constructor]
+ cls.add_constructor([])
+ return
+
+def register_Ns3IntToType__6_methods(root_module, cls):
+ ## int-to-type.h: ns3::IntToType<6>::IntToType(ns3::IntToType<6> const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::IntToType< 6 > const &', 'arg0')])
+ ## int-to-type.h: ns3::IntToType<6>::IntToType() [constructor]
+ cls.add_constructor([])
+ return
+
+def register_Ns3ObjectBase_methods(root_module, cls):
+ ## object-base.h: ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')])
+ ## object-base.h: ns3::ObjectBase::ObjectBase() [constructor]
+ cls.add_constructor([])
+ ## object-base.h: static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## object-base.h: ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]
+ cls.add_method('GetInstanceTypeId',
+ 'ns3::TypeId',
+ [],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## object-base.h: void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
+ cls.add_method('SetAttribute',
+ 'void',
+ [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
+ ## object-base.h: bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
+ cls.add_method('SetAttributeFailSafe',
+ 'bool',
+ [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
+ ## object-base.h: void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]
+ cls.add_method('GetAttribute',
+ 'void',
+ [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')],
+ is_const=True)
+ ## object-base.h: bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]
+ cls.add_method('GetAttributeFailSafe',
+ 'bool',
+ [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')],
+ is_const=True)
+ ## object-base.h: bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
+ cls.add_method('TraceConnect',
+ 'bool',
+ [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
+ ## object-base.h: bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
+ cls.add_method('TraceConnectWithoutContext',
+ 'bool',
+ [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
+ ## object-base.h: bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
+ cls.add_method('TraceDisconnect',
+ 'bool',
+ [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
+ ## object-base.h: bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
+ cls.add_method('TraceDisconnectWithoutContext',
+ 'bool',
+ [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
+ ## object-base.h: void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
+ cls.add_method('NotifyConstructionCompleted',
+ 'void',
+ [],
+ visibility='protected', is_virtual=True)
+ ## object-base.h: void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function]
+ cls.add_method('ConstructSelf',
+ 'void',
+ [param('ns3::AttributeList const &', 'attributes')],
+ visibility='protected')
+ return
+
+def register_Ns3ObjectFactory_methods(root_module, cls):
+ cls.add_output_stream_operator()
+ ## object-factory.h: ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
+ ## object-factory.h: ns3::ObjectFactory::ObjectFactory() [constructor]
+ cls.add_constructor([])
+ ## object-factory.h: ns3::Ptr ns3::ObjectFactory::Create() const [member function]
+ cls.add_method('Create',
+ 'ns3::Ptr< ns3::Object >',
+ [],
+ is_const=True)
+ ## object-factory.h: ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_const=True)
+ ## object-factory.h: void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
+ cls.add_method('Set',
+ 'void',
+ [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
+ ## object-factory.h: void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function]
+ cls.add_method('Set',
+ 'void',
+ [param('ns3::AttributeList const &', 'list')])
+ ## object-factory.h: void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
+ cls.add_method('SetTypeId',
+ 'void',
+ [param('ns3::TypeId', 'tid')])
+ ## object-factory.h: void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
+ cls.add_method('SetTypeId',
+ 'void',
+ [param('char const *', 'tid')])
+ ## object-factory.h: void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
+ cls.add_method('SetTypeId',
+ 'void',
+ [param('std::string', 'tid')])
+ return
+
+def register_Ns3RandomVariable_methods(root_module, cls):
+ cls.add_output_stream_operator()
+ ## random-variable.h: ns3::RandomVariable::RandomVariable() [constructor]
+ cls.add_constructor([])
+ ## random-variable.h: ns3::RandomVariable::RandomVariable(ns3::RandomVariable const & o) [copy constructor]
+ cls.add_constructor([param('ns3::RandomVariable const &', 'o')])
+ ## random-variable.h: uint32_t ns3::RandomVariable::GetInteger() const [member function]
+ cls.add_method('GetInteger',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## random-variable.h: void ns3::RandomVariable::GetSeed(uint32_t * seed) const [member function]
+ cls.add_method('GetSeed',
+ 'void',
+ [param('uint32_t *', 'seed', direction=2, array_length=6)],
+ is_const=True)
+ ## random-variable.h: double ns3::RandomVariable::GetValue() const [member function]
+ cls.add_method('GetValue',
+ 'double',
+ [],
+ is_const=True)
+ ## random-variable.h: static void ns3::RandomVariable::SetRunNumber(uint32_t n) [member function]
+ cls.add_method('SetRunNumber',
+ 'void',
+ [param('uint32_t', 'n')],
+ is_static=True)
+ ## random-variable.h: static void ns3::RandomVariable::UseDevRandom(bool udr=true) [member function]
+ cls.add_method('UseDevRandom',
+ 'void',
+ [param('bool', 'udr', default_value='true')],
+ is_static=True)
+ ## random-variable.h: static void ns3::RandomVariable::UseGlobalSeed(uint32_t s0, uint32_t s1, uint32_t s2, uint32_t s3, uint32_t s4, uint32_t s5) [member function]
+ cls.add_method('UseGlobalSeed',
+ 'void',
+ [param('uint32_t', 's0'), param('uint32_t', 's1'), param('uint32_t', 's2'), param('uint32_t', 's3'), param('uint32_t', 's4'), param('uint32_t', 's5')],
+ is_static=True)
+ return
+
+def register_Ns3RefCountBase_methods(root_module, cls):
+ ## ref-count-base.h: ns3::RefCountBase::RefCountBase() [constructor]
+ cls.add_constructor([])
+ ## ref-count-base.h: ns3::RefCountBase::RefCountBase(ns3::RefCountBase const & o) [copy constructor]
+ cls.add_constructor([param('ns3::RefCountBase const &', 'o')])
+ return
+
+def register_Ns3RngStream_methods(root_module, cls):
+ ## rng-stream.h: ns3::RngStream::RngStream() [constructor]
+ cls.add_constructor([])
+ ## rng-stream.h: ns3::RngStream::RngStream(ns3::RngStream const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::RngStream const &', 'arg0')])
+ ## rng-stream.h: void ns3::RngStream::InitializeStream() [member function]
+ cls.add_method('InitializeStream',
+ 'void',
+ [])
+ ## rng-stream.h: void ns3::RngStream::ResetStartStream() [member function]
+ cls.add_method('ResetStartStream',
+ 'void',
+ [])
+ ## rng-stream.h: void ns3::RngStream::ResetStartSubstream() [member function]
+ cls.add_method('ResetStartSubstream',
+ 'void',
+ [])
+ ## rng-stream.h: void ns3::RngStream::ResetNextSubstream() [member function]
+ cls.add_method('ResetNextSubstream',
+ 'void',
+ [])
+ ## rng-stream.h: void ns3::RngStream::ResetNthSubstream(uint32_t N) [member function]
+ cls.add_method('ResetNthSubstream',
+ 'void',
+ [param('uint32_t', 'N')])
+ ## rng-stream.h: void ns3::RngStream::SetAntithetic(bool a) [member function]
+ cls.add_method('SetAntithetic',
+ 'void',
+ [param('bool', 'a')])
+ ## rng-stream.h: void ns3::RngStream::IncreasedPrecis(bool incp) [member function]
+ cls.add_method('IncreasedPrecis',
+ 'void',
+ [param('bool', 'incp')])
+ ## rng-stream.h: bool ns3::RngStream::SetSeeds(uint32_t const * seed) [member function]
+ cls.add_method('SetSeeds',
+ 'bool',
+ [param('uint32_t const *', 'seed')])
+ ## rng-stream.h: void ns3::RngStream::AdvanceState(int32_t e, int32_t c) [member function]
+ cls.add_method('AdvanceState',
+ 'void',
+ [param('int32_t', 'e'), param('int32_t', 'c')])
+ ## rng-stream.h: void ns3::RngStream::GetState(uint32_t * seed) const [member function]
+ cls.add_method('GetState',
+ 'void',
+ [param('uint32_t *', 'seed')],
+ is_const=True)
+ ## rng-stream.h: double ns3::RngStream::RandU01() [member function]
+ cls.add_method('RandU01',
+ 'double',
+ [])
+ ## rng-stream.h: int32_t ns3::RngStream::RandInt(int32_t i, int32_t j) [member function]
+ cls.add_method('RandInt',
+ 'int32_t',
+ [param('int32_t', 'i'), param('int32_t', 'j')])
+ ## rng-stream.h: static bool ns3::RngStream::SetPackageSeed(uint32_t const * seed) [member function]
+ cls.add_method('SetPackageSeed',
+ 'bool',
+ [param('uint32_t const *', 'seed')],
+ is_static=True)
+ ## rng-stream.h: static bool ns3::RngStream::CheckSeed(uint32_t const * seed) [member function]
+ cls.add_method('CheckSeed',
+ 'bool',
+ [param('uint32_t const *', 'seed')],
+ is_static=True)
+ return
+
+def register_Ns3SequentialVariable_methods(root_module, cls):
+ ## random-variable.h: ns3::SequentialVariable::SequentialVariable(ns3::SequentialVariable const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::SequentialVariable const &', 'arg0')])
+ ## random-variable.h: ns3::SequentialVariable::SequentialVariable(double f, double l, double i=1, uint32_t c=1) [constructor]
+ cls.add_constructor([param('double', 'f'), param('double', 'l'), param('double', 'i', default_value='1'), param('uint32_t', 'c', default_value='1')])
+ ## random-variable.h: ns3::SequentialVariable::SequentialVariable(double f, double l, ns3::RandomVariable const & i, uint32_t c=1) [constructor]
+ cls.add_constructor([param('double', 'f'), param('double', 'l'), param('ns3::RandomVariable const &', 'i'), param('uint32_t', 'c', default_value='1')])
+ return
+
+def register_Ns3SystemCondition_methods(root_module, cls):
+ ## system-condition.h: ns3::SystemCondition::SystemCondition(ns3::SystemCondition const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::SystemCondition const &', 'arg0')])
+ ## system-condition.h: ns3::SystemCondition::SystemCondition() [constructor]
+ cls.add_constructor([])
+ ## system-condition.h: void ns3::SystemCondition::SetCondition(bool condition) [member function]
+ cls.add_method('SetCondition',
+ 'void',
+ [param('bool', 'condition')])
+ ## system-condition.h: bool ns3::SystemCondition::GetCondition() [member function]
+ cls.add_method('GetCondition',
+ 'bool',
+ [])
+ ## system-condition.h: void ns3::SystemCondition::Signal() [member function]
+ cls.add_method('Signal',
+ 'void',
+ [])
+ ## system-condition.h: void ns3::SystemCondition::Broadcast() [member function]
+ cls.add_method('Broadcast',
+ 'void',
+ [])
+ ## system-condition.h: void ns3::SystemCondition::Wait() [member function]
+ cls.add_method('Wait',
+ 'void',
+ [])
+ ## system-condition.h: bool ns3::SystemCondition::TimedWait(uint64_t ns) [member function]
+ cls.add_method('TimedWait',
+ 'bool',
+ [param('uint64_t', 'ns')])
+ return
+
+def register_Ns3SystemMutex_methods(root_module, cls):
+ ## system-mutex.h: ns3::SystemMutex::SystemMutex(ns3::SystemMutex const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::SystemMutex const &', 'arg0')])
+ ## system-mutex.h: ns3::SystemMutex::SystemMutex() [constructor]
+ cls.add_constructor([])
+ ## system-mutex.h: void ns3::SystemMutex::Lock() [member function]
+ cls.add_method('Lock',
+ 'void',
+ [])
+ ## system-mutex.h: void ns3::SystemMutex::Unlock() [member function]
+ cls.add_method('Unlock',
+ 'void',
+ [])
+ return
+
+def register_Ns3SystemThread_methods(root_module, cls):
+ ## system-thread.h: ns3::SystemThread::SystemThread(ns3::SystemThread const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::SystemThread const &', 'arg0')])
+ ## system-thread.h: ns3::SystemThread::SystemThread(ns3::Callback callback) [constructor]
+ cls.add_constructor([param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')])
+ ## system-thread.h: void ns3::SystemThread::Ref() const [member function]
+ cls.add_method('Ref',
+ 'void',
+ [],
+ is_const=True)
+ ## system-thread.h: void ns3::SystemThread::Unref() const [member function]
+ cls.add_method('Unref',
+ 'void',
+ [],
+ is_const=True)
+ ## system-thread.h: void ns3::SystemThread::Start() [member function]
+ cls.add_method('Start',
+ 'void',
+ [])
+ ## system-thread.h: void ns3::SystemThread::Join() [member function]
+ cls.add_method('Join',
+ 'void',
+ [])
+ ## system-thread.h: void ns3::SystemThread::Shutdown() [member function]
+ cls.add_method('Shutdown',
+ 'void',
+ [])
+ ## system-thread.h: bool ns3::SystemThread::Break() [member function]
+ cls.add_method('Break',
+ 'bool',
+ [])
+ return
+
+def register_Ns3SystemWallClockMs_methods(root_module, cls):
+ ## system-wall-clock-ms.h: ns3::SystemWallClockMs::SystemWallClockMs(ns3::SystemWallClockMs const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::SystemWallClockMs const &', 'arg0')])
+ ## system-wall-clock-ms.h: ns3::SystemWallClockMs::SystemWallClockMs() [constructor]
+ cls.add_constructor([])
+ ## system-wall-clock-ms.h: void ns3::SystemWallClockMs::Start() [member function]
+ cls.add_method('Start',
+ 'void',
+ [])
+ ## system-wall-clock-ms.h: long long unsigned int ns3::SystemWallClockMs::End() [member function]
+ cls.add_method('End',
+ 'long long unsigned int',
+ [])
+ return
+
+def register_Ns3TraceSourceAccessor_methods(root_module, cls):
+ ## trace-source-accessor.h: ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')])
+ ## trace-source-accessor.h: ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor]
+ cls.add_constructor([])
+ ## trace-source-accessor.h: void ns3::TraceSourceAccessor::Ref() const [member function]
+ cls.add_method('Ref',
+ 'void',
+ [],
+ is_const=True)
+ ## trace-source-accessor.h: void ns3::TraceSourceAccessor::Unref() const [member function]
+ cls.add_method('Unref',
+ 'void',
+ [],
+ is_const=True)
+ ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
+ cls.add_method('ConnectWithoutContext',
+ 'bool',
+ [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
+ cls.add_method('Connect',
+ 'bool',
+ [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::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)
+ ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
+ cls.add_method('Disconnect',
+ 'bool',
+ [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ return
+
+def register_Ns3TriangularVariable_methods(root_module, cls):
+ ## random-variable.h: ns3::TriangularVariable::TriangularVariable(ns3::TriangularVariable const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::TriangularVariable const &', 'arg0')])
+ ## random-variable.h: ns3::TriangularVariable::TriangularVariable() [constructor]
+ cls.add_constructor([])
+ ## random-variable.h: ns3::TriangularVariable::TriangularVariable(double s, double l, double mean) [constructor]
+ cls.add_constructor([param('double', 's'), param('double', 'l'), param('double', 'mean')])
+ ## random-variable.h: static double ns3::TriangularVariable::GetSingleValue(double s, double l, double mean) [member function]
+ cls.add_method('GetSingleValue',
+ 'double',
+ [param('double', 's'), param('double', 'l'), param('double', 'mean')],
+ is_static=True)
+ return
+
+def register_Ns3TypeId_methods(root_module, cls):
+ cls.add_binary_comparison_operator('!=')
+ cls.add_binary_comparison_operator('<')
+ cls.add_output_stream_operator()
+ cls.add_binary_comparison_operator('==')
+ ## type-id.h: ns3::TypeId::TypeId(ns3::TypeId const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::TypeId const &', 'arg0')])
+ ## type-id.h: ns3::TypeId::TypeId(char const * name) [constructor]
+ cls.add_constructor([param('char const *', 'name')])
+ ## type-id.h: ns3::TypeId::TypeId() [constructor]
+ cls.add_constructor([])
+ ## type-id.h: ns3::TypeId ns3::TypeId::AddAttribute(std::string name, std::string help, ns3::AttributeValue const & initialValue, ns3::Ptr accessor, ns3::Ptr checker) [member function]
+ cls.add_method('AddAttribute',
+ 'ns3::TypeId',
+ [param('std::string', 'name'), param('std::string', 'help'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')])
+ ## type-id.h: ns3::TypeId ns3::TypeId::AddAttribute(std::string name, std::string help, uint32_t flags, ns3::AttributeValue const & initialValue, ns3::Ptr accessor, ns3::Ptr checker) [member function]
+ cls.add_method('AddAttribute',
+ 'ns3::TypeId',
+ [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')])
+ ## type-id.h: ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function]
+ cls.add_method('AddTraceSource',
+ 'ns3::TypeId',
+ [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
+ ## type-id.h: ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function]
+ cls.add_method('GetAttributeAccessor',
+ 'ns3::Ptr< ns3::AttributeAccessor const >',
+ [param('uint32_t', 'i')],
+ is_const=True)
+ ## type-id.h: ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function]
+ cls.add_method('GetAttributeChecker',
+ 'ns3::Ptr< ns3::AttributeChecker const >',
+ [param('uint32_t', 'i')],
+ is_const=True)
+ ## type-id.h: uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function]
+ cls.add_method('GetAttributeFlags',
+ 'uint32_t',
+ [param('uint32_t', 'i')],
+ is_const=True)
+ ## type-id.h: std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
+ cls.add_method('GetAttributeFullName',
+ 'std::string',
+ [param('uint32_t', 'i')],
+ is_const=True)
+ ## type-id.h: std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function]
+ cls.add_method('GetAttributeHelp',
+ 'std::string',
+ [param('uint32_t', 'i')],
+ is_const=True)
+ ## type-id.h: ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function]
+ cls.add_method('GetAttributeInitialValue',
+ 'ns3::Ptr< ns3::AttributeValue const >',
+ [param('uint32_t', 'i')],
+ is_const=True)
+ ## type-id.h: uint32_t ns3::TypeId::GetAttributeN() const [member function]
+ cls.add_method('GetAttributeN',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## type-id.h: std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function]
+ cls.add_method('GetAttributeName',
+ 'std::string',
+ [param('uint32_t', 'i')],
+ is_const=True)
+ ## type-id.h: ns3::Callback ns3::TypeId::GetConstructor() const [member function]
+ cls.add_method('GetConstructor',
+ 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >',
+ [],
+ is_const=True)
+ ## type-id.h: std::string ns3::TypeId::GetGroupName() const [member function]
+ cls.add_method('GetGroupName',
+ 'std::string',
+ [],
+ is_const=True)
+ ## type-id.h: std::string ns3::TypeId::GetName() const [member function]
+ cls.add_method('GetName',
+ 'std::string',
+ [],
+ is_const=True)
+ ## type-id.h: ns3::TypeId ns3::TypeId::GetParent() const [member function]
+ cls.add_method('GetParent',
+ 'ns3::TypeId',
+ [],
+ is_const=True)
+ ## type-id.h: static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function]
+ cls.add_method('GetRegistered',
+ 'ns3::TypeId',
+ [param('uint32_t', 'i')],
+ is_static=True)
+ ## type-id.h: static uint32_t ns3::TypeId::GetRegisteredN() [member function]
+ cls.add_method('GetRegisteredN',
+ 'uint32_t',
+ [],
+ is_static=True)
+ ## type-id.h: ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function]
+ cls.add_method('GetTraceSourceAccessor',
+ 'ns3::Ptr< ns3::TraceSourceAccessor const >',
+ [param('uint32_t', 'i')],
+ is_const=True)
+ ## type-id.h: std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function]
+ cls.add_method('GetTraceSourceHelp',
+ 'std::string',
+ [param('uint32_t', 'i')],
+ is_const=True)
+ ## type-id.h: uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
+ cls.add_method('GetTraceSourceN',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## type-id.h: std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function]
+ cls.add_method('GetTraceSourceName',
+ 'std::string',
+ [param('uint32_t', 'i')],
+ is_const=True)
+ ## type-id.h: uint16_t ns3::TypeId::GetUid() const [member function]
+ cls.add_method('GetUid',
+ 'uint16_t',
+ [],
+ is_const=True)
+ ## type-id.h: bool ns3::TypeId::HasConstructor() const [member function]
+ cls.add_method('HasConstructor',
+ 'bool',
+ [],
+ is_const=True)
+ ## type-id.h: bool ns3::TypeId::HasParent() const [member function]
+ cls.add_method('HasParent',
+ 'bool',
+ [],
+ is_const=True)
+ ## type-id.h: ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function]
+ cls.add_method('HideFromDocumentation',
+ 'ns3::TypeId',
+ [])
+ ## type-id.h: bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
+ cls.add_method('IsChildOf',
+ 'bool',
+ [param('ns3::TypeId', 'other')],
+ is_const=True)
+ ## type-id.h: bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function]
+ cls.add_method('LookupAttributeByName',
+ 'bool',
+ [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)],
+ is_const=True)
+ ## type-id.h: static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
+ cls.add_method('LookupByName',
+ 'ns3::TypeId',
+ [param('std::string', 'name')],
+ is_static=True)
+ ## type-id.h: ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
+ cls.add_method('LookupTraceSourceByName',
+ 'ns3::Ptr< ns3::TraceSourceAccessor const >',
+ [param('std::string', 'name')],
+ is_const=True)
+ ## type-id.h: bool ns3::TypeId::MustHideFromDocumentation() const [member function]
+ cls.add_method('MustHideFromDocumentation',
+ 'bool',
+ [],
+ is_const=True)
+ ## type-id.h: ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
+ cls.add_method('SetGroupName',
+ 'ns3::TypeId',
+ [param('std::string', 'groupName')])
+ ## type-id.h: ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
+ cls.add_method('SetParent',
+ 'ns3::TypeId',
+ [param('ns3::TypeId', 'tid')])
+ ## type-id.h: void ns3::TypeId::SetUid(uint16_t tid) [member function]
+ cls.add_method('SetUid',
+ 'void',
+ [param('uint16_t', 'tid')])
+ return
+
+def register_Ns3TypeIdAttributeInfo_methods(root_module, cls):
+ ## type-id.h: ns3::TypeId::AttributeInfo::accessor [variable]
+ cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
+ ## type-id.h: ns3::TypeId::AttributeInfo::initialValue [variable]
+ cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
+ ## type-id.h: ns3::TypeId::AttributeInfo::flags [variable]
+ cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
+ ## type-id.h: ns3::TypeId::AttributeInfo::checker [variable]
+ cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
+ ## type-id.h: ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')])
+ ## type-id.h: ns3::TypeId::AttributeInfo::AttributeInfo() [constructor]
+ cls.add_constructor([])
+ return
+
+def register_Ns3UniformVariable_methods(root_module, cls):
+ ## random-variable.h: ns3::UniformVariable::UniformVariable(ns3::UniformVariable const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::UniformVariable const &', 'arg0')])
+ ## random-variable.h: ns3::UniformVariable::UniformVariable() [constructor]
+ cls.add_constructor([])
+ ## random-variable.h: ns3::UniformVariable::UniformVariable(double s, double l) [constructor]
+ cls.add_constructor([param('double', 's'), param('double', 'l')])
+ ## random-variable.h: static double ns3::UniformVariable::GetSingleValue(double s, double l) [member function]
+ cls.add_method('GetSingleValue',
+ 'double',
+ [param('double', 's'), param('double', 'l')],
+ is_static=True)
+ return
+
+def register_Ns3UnsafeAttributeList_methods(root_module, cls):
+ ## attribute-list.h: ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor]
+ cls.add_constructor([])
+ ## attribute-list.h: ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor]
+ cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')])
+ ## attribute-list.h: 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')])
+ ## attribute-list.h: ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function]
+ cls.add_method('GetSafe',
+ 'ns3::AttributeList',
+ [param('std::string', 'name')],
+ is_const=True)
+ return
+
+def register_Ns3WeibullVariable_methods(root_module, cls):
+ ## random-variable.h: ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')])
+ ## random-variable.h: ns3::WeibullVariable::WeibullVariable() [constructor]
+ cls.add_constructor([])
+ ## random-variable.h: ns3::WeibullVariable::WeibullVariable(double m) [constructor]
+ cls.add_constructor([param('double', 'm')])
+ ## random-variable.h: ns3::WeibullVariable::WeibullVariable(double m, double s) [constructor]
+ cls.add_constructor([param('double', 'm'), param('double', 's')])
+ ## random-variable.h: ns3::WeibullVariable::WeibullVariable(double m, double s, double b) [constructor]
+ cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
+ ## random-variable.h: static double ns3::WeibullVariable::GetSingleValue(double m, double s, double b=0) [member function]
+ cls.add_method('GetSingleValue',
+ 'double',
+ [param('double', 'm'), param('double', 's'), param('double', 'b', default_value='0')],
+ is_static=True)
+ return
+
+def register_Ns3Empty_methods(root_module, cls):
+ ## empty.h: ns3::empty::empty(ns3::empty const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::empty const &', 'arg0')])
+ ## empty.h: ns3::empty::empty() [constructor]
+ cls.add_constructor([])
+ return
+
+def register_Ns3AttributeAccessor_methods(root_module, cls):
+ ## attribute.h: ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
+ ## attribute.h: ns3::AttributeAccessor::AttributeAccessor() [constructor]
+ cls.add_constructor([])
+ ## attribute.h: bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
+ cls.add_method('Set',
+ 'bool',
+ [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## attribute.h: bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function]
+ cls.add_method('Get',
+ 'bool',
+ [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## attribute.h: bool ns3::AttributeAccessor::HasGetter() const [member function]
+ cls.add_method('HasGetter',
+ 'bool',
+ [],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## attribute.h: bool ns3::AttributeAccessor::HasSetter() const [member function]
+ cls.add_method('HasSetter',
+ 'bool',
+ [],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ return
+
+def register_Ns3AttributeChecker_methods(root_module, cls):
+ ## attribute.h: ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')])
+ ## attribute.h: ns3::AttributeChecker::AttributeChecker() [constructor]
+ cls.add_constructor([])
+ ## attribute.h: bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function]
+ cls.add_method('Check',
+ 'bool',
+ [param('ns3::AttributeValue const &', 'value')],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## attribute.h: std::string ns3::AttributeChecker::GetValueTypeName() const [member function]
+ cls.add_method('GetValueTypeName',
+ 'std::string',
+ [],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## attribute.h: bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function]
+ cls.add_method('HasUnderlyingTypeInformation',
+ 'bool',
+ [],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## attribute.h: std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
+ cls.add_method('GetUnderlyingTypeInformation',
+ 'std::string',
+ [],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## attribute.h: ns3::Ptr ns3::AttributeChecker::Create() const [member function]
+ cls.add_method('Create',
+ 'ns3::Ptr< ns3::AttributeValue >',
+ [],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## attribute.h: bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function]
+ cls.add_method('Copy',
+ 'bool',
+ [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ return
+
+def register_Ns3AttributeValue_methods(root_module, cls):
+ ## attribute.h: ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')])
+ ## attribute.h: ns3::AttributeValue::AttributeValue() [constructor]
+ cls.add_constructor([])
+ ## attribute.h: ns3::Ptr ns3::AttributeValue::Copy() const [member function]
+ cls.add_method('Copy',
+ 'ns3::Ptr< ns3::AttributeValue >',
+ [],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## attribute.h: std::string ns3::AttributeValue::SerializeToString(ns3::Ptr checker) const [member function]
+ cls.add_method('SerializeToString',
+ 'std::string',
+ [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## attribute.h: bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]
+ cls.add_method('DeserializeFromString',
+ 'bool',
+ [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_pure_virtual=True, is_virtual=True)
+ return
+
+def register_Ns3BooleanChecker_methods(root_module, cls):
+ ## boolean.h: ns3::BooleanChecker::BooleanChecker(ns3::BooleanChecker const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::BooleanChecker const &', 'arg0')])
+ ## boolean.h: ns3::BooleanChecker::BooleanChecker() [constructor]
+ cls.add_constructor([])
+ return
+
+def register_Ns3BooleanValue_methods(root_module, cls):
+ cls.add_output_stream_operator()
+ ## boolean.h: ns3::BooleanValue::BooleanValue(ns3::BooleanValue const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::BooleanValue const &', 'arg0')])
+ ## boolean.h: ns3::BooleanValue::BooleanValue() [constructor]
+ cls.add_constructor([])
+ ## boolean.h: ns3::BooleanValue::BooleanValue(bool value) [constructor]
+ cls.add_constructor([param('bool', 'value')])
+ ## boolean.h: ns3::Ptr ns3::BooleanValue::Copy() const [member function]
+ cls.add_method('Copy',
+ 'ns3::Ptr< ns3::AttributeValue >',
+ [],
+ is_const=True, is_virtual=True)
+ ## boolean.h: bool ns3::BooleanValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]
+ cls.add_method('DeserializeFromString',
+ 'bool',
+ [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_virtual=True)
+ ## boolean.h: bool ns3::BooleanValue::Get() const [member function]
+ cls.add_method('Get',
+ 'bool',
+ [],
+ is_const=True)
+ ## boolean.h: std::string ns3::BooleanValue::SerializeToString(ns3::Ptr checker) const [member function]
+ cls.add_method('SerializeToString',
+ 'std::string',
+ [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_const=True, is_virtual=True)
+ ## boolean.h: void ns3::BooleanValue::Set(bool value) [member function]
+ cls.add_method('Set',
+ 'void',
+ [param('bool', 'value')])
+ return
+
+def register_Ns3CallbackChecker_methods(root_module, cls):
+ ## callback.h: ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')])
+ ## callback.h: ns3::CallbackChecker::CallbackChecker() [constructor]
+ cls.add_constructor([])
+ return
+
+def register_Ns3CallbackValue_methods(root_module, cls):
+ ## callback.h: ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])
+ ## callback.h: ns3::CallbackValue::CallbackValue() [constructor]
+ cls.add_constructor([])
+ ## callback.h: ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor]
+ cls.add_constructor([param('ns3::CallbackBase const &', 'base')])
+ ## callback.h: void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function]
+ cls.add_method('Set',
+ 'void',
+ [param('ns3::CallbackBase', 'base')])
+ ## callback.h: ns3::Ptr ns3::CallbackValue::Copy() const [member function]
+ cls.add_method('Copy',
+ 'ns3::Ptr< ns3::AttributeValue >',
+ [],
+ is_const=True, is_virtual=True)
+ ## callback.h: std::string ns3::CallbackValue::SerializeToString(ns3::Ptr checker) const [member function]
+ cls.add_method('SerializeToString',
+ 'std::string',
+ [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_const=True, is_virtual=True)
+ ## callback.h: bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]
+ cls.add_method('DeserializeFromString',
+ 'bool',
+ [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_virtual=True)
+ return
+
+def register_Ns3ConstantVariable_methods(root_module, cls):
+ ## random-variable.h: ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')])
+ ## random-variable.h: ns3::ConstantVariable::ConstantVariable() [constructor]
+ cls.add_constructor([])
+ ## random-variable.h: ns3::ConstantVariable::ConstantVariable(double c) [constructor]
+ cls.add_constructor([param('double', 'c')])
+ ## random-variable.h: void ns3::ConstantVariable::SetConstant(double c) [member function]
+ cls.add_method('SetConstant',
+ 'void',
+ [param('double', 'c')])
+ return
+
+def register_Ns3DeterministicVariable_methods(root_module, cls):
+ ## random-variable.h: ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')])
+ ## random-variable.h: ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor]
+ cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')])
+ return
+
+def register_Ns3DoubleValue_methods(root_module, cls):
+ ## double.h: ns3::DoubleValue::DoubleValue(ns3::DoubleValue const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::DoubleValue const &', 'arg0')])
+ ## double.h: ns3::DoubleValue::DoubleValue() [constructor]
+ cls.add_constructor([])
+ ## double.h: ns3::DoubleValue::DoubleValue(double const & value) [constructor]
+ cls.add_constructor([param('double const &', 'value')])
+ ## double.h: void ns3::DoubleValue::Set(double const & value) [member function]
+ cls.add_method('Set',
+ 'void',
+ [param('double const &', 'value')])
+ ## double.h: double ns3::DoubleValue::Get() const [member function]
+ cls.add_method('Get',
+ 'double',
+ [],
+ is_const=True)
+ ## double.h: ns3::Ptr ns3::DoubleValue::Copy() const [member function]
+ cls.add_method('Copy',
+ 'ns3::Ptr< ns3::AttributeValue >',
+ [],
+ is_const=True, is_virtual=True)
+ ## double.h: std::string ns3::DoubleValue::SerializeToString(ns3::Ptr checker) const [member function]
+ cls.add_method('SerializeToString',
+ 'std::string',
+ [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_const=True, is_virtual=True)
+ ## double.h: bool ns3::DoubleValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]
+ cls.add_method('DeserializeFromString',
+ 'bool',
+ [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_virtual=True)
+ return
+
+def register_Ns3EmpiricalVariable_methods(root_module, cls):
+ ## random-variable.h: ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')])
+ ## random-variable.h: ns3::EmpiricalVariable::EmpiricalVariable() [constructor]
+ cls.add_constructor([])
+ ## random-variable.h: void ns3::EmpiricalVariable::CDF(double v, double c) [member function]
+ cls.add_method('CDF',
+ 'void',
+ [param('double', 'v'), param('double', 'c')])
+ return
+
+def register_Ns3EmptyAttributeValue_methods(root_module, cls):
+ ## attribute.h: ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
+ ## attribute.h: ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor]
+ cls.add_constructor([])
+ ## attribute.h: ns3::Ptr ns3::EmptyAttributeValue::Copy() const [member function]
+ cls.add_method('Copy',
+ 'ns3::Ptr< ns3::AttributeValue >',
+ [],
+ is_const=True, visibility='private', is_virtual=True)
+ ## attribute.h: std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr checker) const [member function]
+ cls.add_method('SerializeToString',
+ 'std::string',
+ [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_const=True, visibility='private', is_virtual=True)
+ ## attribute.h: bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]
+ cls.add_method('DeserializeFromString',
+ 'bool',
+ [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ visibility='private', is_virtual=True)
+ return
+
+def register_Ns3EnumChecker_methods(root_module, cls):
+ ## enum.h: ns3::EnumChecker::EnumChecker(ns3::EnumChecker const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::EnumChecker const &', 'arg0')])
+ ## enum.h: ns3::EnumChecker::EnumChecker() [constructor]
+ cls.add_constructor([])
+ ## enum.h: void ns3::EnumChecker::AddDefault(int v, std::string name) [member function]
+ cls.add_method('AddDefault',
+ 'void',
+ [param('int', 'v'), param('std::string', 'name')])
+ ## enum.h: void ns3::EnumChecker::Add(int v, std::string name) [member function]
+ cls.add_method('Add',
+ 'void',
+ [param('int', 'v'), param('std::string', 'name')])
+ ## enum.h: bool ns3::EnumChecker::Check(ns3::AttributeValue const & value) const [member function]
+ cls.add_method('Check',
+ 'bool',
+ [param('ns3::AttributeValue const &', 'value')],
+ is_const=True, is_virtual=True)
+ ## enum.h: std::string ns3::EnumChecker::GetValueTypeName() const [member function]
+ cls.add_method('GetValueTypeName',
+ 'std::string',
+ [],
+ is_const=True, is_virtual=True)
+ ## enum.h: bool ns3::EnumChecker::HasUnderlyingTypeInformation() const [member function]
+ cls.add_method('HasUnderlyingTypeInformation',
+ 'bool',
+ [],
+ is_const=True, is_virtual=True)
+ ## enum.h: std::string ns3::EnumChecker::GetUnderlyingTypeInformation() const [member function]
+ cls.add_method('GetUnderlyingTypeInformation',
+ 'std::string',
+ [],
+ is_const=True, is_virtual=True)
+ ## enum.h: ns3::Ptr ns3::EnumChecker::Create() const [member function]
+ cls.add_method('Create',
+ 'ns3::Ptr< ns3::AttributeValue >',
+ [],
+ is_const=True, is_virtual=True)
+ ## enum.h: bool ns3::EnumChecker::Copy(ns3::AttributeValue const & src, ns3::AttributeValue & dst) const [member function]
+ cls.add_method('Copy',
+ 'bool',
+ [param('ns3::AttributeValue const &', 'src'), param('ns3::AttributeValue &', 'dst')],
+ is_const=True, is_virtual=True)
+ return
+
+def register_Ns3EnumValue_methods(root_module, cls):
+ ## enum.h: ns3::EnumValue::EnumValue(ns3::EnumValue const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::EnumValue const &', 'arg0')])
+ ## enum.h: ns3::EnumValue::EnumValue() [constructor]
+ cls.add_constructor([])
+ ## enum.h: ns3::EnumValue::EnumValue(int v) [constructor]
+ cls.add_constructor([param('int', 'v')])
+ ## enum.h: void ns3::EnumValue::Set(int v) [member function]
+ cls.add_method('Set',
+ 'void',
+ [param('int', 'v')])
+ ## enum.h: int ns3::EnumValue::Get() const [member function]
+ cls.add_method('Get',
+ 'int',
+ [],
+ is_const=True)
+ ## enum.h: ns3::Ptr ns3::EnumValue::Copy() const [member function]
+ cls.add_method('Copy',
+ 'ns3::Ptr< ns3::AttributeValue >',
+ [],
+ is_const=True, is_virtual=True)
+ ## enum.h: std::string ns3::EnumValue::SerializeToString(ns3::Ptr checker) const [member function]
+ cls.add_method('SerializeToString',
+ 'std::string',
+ [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_const=True, is_virtual=True)
+ ## enum.h: bool ns3::EnumValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]
+ cls.add_method('DeserializeFromString',
+ 'bool',
+ [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_virtual=True)
+ return
+
+def register_Ns3ExponentialVariable_methods(root_module, cls):
+ ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')])
+ ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable() [constructor]
+ cls.add_constructor([])
+ ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(double m) [constructor]
+ cls.add_constructor([param('double', 'm')])
+ ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor]
+ cls.add_constructor([param('double', 'm'), param('double', 'b')])
+ ## random-variable.h: static double ns3::ExponentialVariable::GetSingleValue(double m, double b=0) [member function]
+ cls.add_method('GetSingleValue',
+ 'double',
+ [param('double', 'm'), param('double', 'b', default_value='0')],
+ is_static=True)
+ return
+
+def register_Ns3IntEmpiricalVariable_methods(root_module, cls):
+ ## random-variable.h: ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')])
+ ## random-variable.h: ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor]
+ cls.add_constructor([])
+ return
+
+def register_Ns3IntegerValue_methods(root_module, cls):
+ ## integer.h: ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')])
+ ## integer.h: ns3::IntegerValue::IntegerValue() [constructor]
+ cls.add_constructor([])
+ ## integer.h: ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor]
+ cls.add_constructor([param('int64_t const &', 'value')])
+ ## integer.h: void ns3::IntegerValue::Set(int64_t const & value) [member function]
+ cls.add_method('Set',
+ 'void',
+ [param('int64_t const &', 'value')])
+ ## integer.h: int64_t ns3::IntegerValue::Get() const [member function]
+ cls.add_method('Get',
+ 'int64_t',
+ [],
+ is_const=True)
+ ## integer.h: ns3::Ptr ns3::IntegerValue::Copy() const [member function]
+ cls.add_method('Copy',
+ 'ns3::Ptr< ns3::AttributeValue >',
+ [],
+ is_const=True, is_virtual=True)
+ ## integer.h: std::string ns3::IntegerValue::SerializeToString(ns3::Ptr checker) const [member function]
+ cls.add_method('SerializeToString',
+ 'std::string',
+ [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_const=True, is_virtual=True)
+ ## integer.h: bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]
+ cls.add_method('DeserializeFromString',
+ 'bool',
+ [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_virtual=True)
+ return
+
+def register_Ns3LogNormalVariable_methods(root_module, cls):
+ ## random-variable.h: ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')])
+ ## random-variable.h: ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor]
+ cls.add_constructor([param('double', 'mu'), param('double', 'sigma')])
+ ## random-variable.h: static double ns3::LogNormalVariable::GetSingleValue(double mu, double sigma) [member function]
+ cls.add_method('GetSingleValue',
+ 'double',
+ [param('double', 'mu'), param('double', 'sigma')],
+ is_static=True)
+ return
+
+def register_Ns3NormalVariable_methods(root_module, cls):
+ ## random-variable.h: ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')])
+ ## random-variable.h: ns3::NormalVariable::NormalVariable() [constructor]
+ cls.add_constructor([])
+ ## random-variable.h: ns3::NormalVariable::NormalVariable(double m, double v) [constructor]
+ cls.add_constructor([param('double', 'm'), param('double', 'v')])
+ ## random-variable.h: ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor]
+ cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')])
+ ## random-variable.h: static double ns3::NormalVariable::GetSingleValue(double m, double v) [member function]
+ cls.add_method('GetSingleValue',
+ 'double',
+ [param('double', 'm'), param('double', 'v')],
+ is_static=True)
+ ## random-variable.h: static double ns3::NormalVariable::GetSingleValue(double m, double v, double b) [member function]
+ cls.add_method('GetSingleValue',
+ 'double',
+ [param('double', 'm'), param('double', 'v'), param('double', 'b')],
+ is_static=True)
+ return
+
+def register_Ns3Object_methods(root_module, cls):
+ ## object.h: static ns3::TypeId ns3::Object::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## object.h: ns3::Object::Object() [constructor]
+ cls.add_constructor([])
+ ## object.h: ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function]
+ cls.add_method('GetInstanceTypeId',
+ 'ns3::TypeId',
+ [],
+ is_const=True, is_virtual=True)
+ ## object.h: ns3::Ptr ns3::Object::GetObject(ns3::TypeId tid) const [member function]
+ cls.add_method('GetObject',
+ 'ns3::Ptr< ns3::Object >',
+ [param('ns3::TypeId', 'tid')],
+ is_const=True, template_parameters=['ns3::Object'], custom_template_method_name='GetObject')
+ ## object.h: void ns3::Object::Dispose() [member function]
+ cls.add_method('Dispose',
+ 'void',
+ [])
+ ## object.h: void ns3::Object::AggregateObject(ns3::Ptr other) [member function]
+ cls.add_method('AggregateObject',
+ 'void',
+ [param('ns3::Ptr< ns3::Object >', 'other')])
+ ## object.h: ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function]
+ cls.add_method('GetAggregateIterator',
+ 'ns3::Object::AggregateIterator',
+ [],
+ is_const=True)
+ ## object.h: void ns3::Object::DoDispose() [member function]
+ cls.add_method('DoDispose',
+ 'void',
+ [],
+ visibility='protected', is_virtual=True)
+ ## object.h: ns3::Object::Object(ns3::Object const & o) [copy constructor]
+ cls.add_constructor([param('ns3::Object const &', 'o')],
+ visibility='protected')
+ return
+
+def register_Ns3ObjectAggregateIterator_methods(root_module, cls):
+ ## object.h: ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')])
+ ## object.h: ns3::Object::AggregateIterator::AggregateIterator() [constructor]
+ cls.add_constructor([])
+ ## object.h: bool ns3::Object::AggregateIterator::HasNext() const [member function]
+ cls.add_method('HasNext',
+ 'bool',
+ [],
+ is_const=True)
+ ## object.h: ns3::Ptr ns3::Object::AggregateIterator::Next() [member function]
+ cls.add_method('Next',
+ 'ns3::Ptr< ns3::Object const >',
+ [])
+ return
+
+def register_Ns3ObjectFactoryChecker_methods(root_module, cls):
+ ## object-factory.h: ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])
+ ## object-factory.h: ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]
+ cls.add_constructor([])
+ return
+
+def register_Ns3ObjectFactoryValue_methods(root_module, cls):
+ ## object-factory.h: ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])
+ ## object-factory.h: ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
+ cls.add_constructor([])
+ ## object-factory.h: ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
+ cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])
+ ## object-factory.h: void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
+ cls.add_method('Set',
+ 'void',
+ [param('ns3::ObjectFactory const &', 'value')])
+ ## object-factory.h: ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
+ cls.add_method('Get',
+ 'ns3::ObjectFactory',
+ [],
+ is_const=True)
+ ## object-factory.h: ns3::Ptr ns3::ObjectFactoryValue::Copy() const [member function]
+ cls.add_method('Copy',
+ 'ns3::Ptr< ns3::AttributeValue >',
+ [],
+ is_const=True, is_virtual=True)
+ ## object-factory.h: std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr checker) const [member function]
+ cls.add_method('SerializeToString',
+ 'std::string',
+ [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_const=True, is_virtual=True)
+ ## object-factory.h: bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]
+ cls.add_method('DeserializeFromString',
+ 'bool',
+ [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_virtual=True)
+ return
+
+def register_Ns3ObjectVectorAccessor_methods(root_module, cls):
+ ## object-vector.h: ns3::ObjectVectorAccessor::ObjectVectorAccessor(ns3::ObjectVectorAccessor const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::ObjectVectorAccessor const &', 'arg0')])
+ ## object-vector.h: ns3::ObjectVectorAccessor::ObjectVectorAccessor() [constructor]
+ cls.add_constructor([])
+ ## object-vector.h: bool ns3::ObjectVectorAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
+ cls.add_method('Set',
+ 'bool',
+ [param('ns3::ObjectBase *', 'object'), param('ns3::AttributeValue const &', 'value')],
+ is_const=True, is_virtual=True)
+ ## object-vector.h: bool ns3::ObjectVectorAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & value) const [member function]
+ cls.add_method('Get',
+ 'bool',
+ [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'value')],
+ is_const=True, is_virtual=True)
+ ## object-vector.h: bool ns3::ObjectVectorAccessor::HasGetter() const [member function]
+ cls.add_method('HasGetter',
+ 'bool',
+ [],
+ is_const=True, is_virtual=True)
+ ## object-vector.h: bool ns3::ObjectVectorAccessor::HasSetter() const [member function]
+ cls.add_method('HasSetter',
+ 'bool',
+ [],
+ is_const=True, is_virtual=True)
+ ## object-vector.h: bool ns3::ObjectVectorAccessor::DoGetN(ns3::ObjectBase const * object, uint32_t * n) const [member function]
+ cls.add_method('DoGetN',
+ 'bool',
+ [param('ns3::ObjectBase const *', 'object'), param('uint32_t *', 'n')],
+ is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
+ ## object-vector.h: ns3::Ptr ns3::ObjectVectorAccessor::DoGet(ns3::ObjectBase const * object, uint32_t i) const [member function]
+ cls.add_method('DoGet',
+ 'ns3::Ptr< ns3::Object >',
+ [param('ns3::ObjectBase const *', 'object'), param('uint32_t', 'i')],
+ is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
+ return
+
+def register_Ns3ObjectVectorChecker_methods(root_module, cls):
+ ## object-vector.h: ns3::ObjectVectorChecker::ObjectVectorChecker(ns3::ObjectVectorChecker const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::ObjectVectorChecker const &', 'arg0')])
+ ## object-vector.h: ns3::ObjectVectorChecker::ObjectVectorChecker() [constructor]
+ cls.add_constructor([])
+ ## object-vector.h: ns3::TypeId ns3::ObjectVectorChecker::GetItemTypeId() const [member function]
+ cls.add_method('GetItemTypeId',
+ 'ns3::TypeId',
+ [],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ return
+
+def register_Ns3ObjectVectorValue_methods(root_module, cls):
+ ## object-vector.h: ns3::ObjectVectorValue::ObjectVectorValue(ns3::ObjectVectorValue const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::ObjectVectorValue const &', 'arg0')])
+ ## object-vector.h: ns3::ObjectVectorValue::ObjectVectorValue() [constructor]
+ cls.add_constructor([])
+ ## object-vector.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ObjectVectorValue::Begin() const [member function]
+ cls.add_method('Begin',
+ '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > >',
+ [],
+ is_const=True)
+ ## object-vector.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ObjectVectorValue::End() const [member function]
+ cls.add_method('End',
+ '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > >',
+ [],
+ is_const=True)
+ ## object-vector.h: uint32_t ns3::ObjectVectorValue::GetN() const [member function]
+ cls.add_method('GetN',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## object-vector.h: ns3::Ptr ns3::ObjectVectorValue::Get(uint32_t i) const [member function]
+ cls.add_method('Get',
+ 'ns3::Ptr< ns3::Object >',
+ [param('uint32_t', 'i')],
+ is_const=True)
+ ## object-vector.h: ns3::Ptr ns3::ObjectVectorValue::Copy() const [member function]
+ cls.add_method('Copy',
+ 'ns3::Ptr< ns3::AttributeValue >',
+ [],
+ is_const=True, is_virtual=True)
+ ## object-vector.h: std::string ns3::ObjectVectorValue::SerializeToString(ns3::Ptr checker) const [member function]
+ cls.add_method('SerializeToString',
+ 'std::string',
+ [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_const=True, is_virtual=True)
+ ## object-vector.h: bool ns3::ObjectVectorValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]
+ cls.add_method('DeserializeFromString',
+ 'bool',
+ [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_virtual=True)
+ return
+
+def register_Ns3ParetoVariable_methods(root_module, cls):
+ ## random-variable.h: ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')])
+ ## random-variable.h: ns3::ParetoVariable::ParetoVariable() [constructor]
+ cls.add_constructor([])
+ ## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m) [constructor]
+ cls.add_constructor([param('double', 'm')])
+ ## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor]
+ cls.add_constructor([param('double', 'm'), param('double', 's')])
+ ## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor]
+ cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
+ ## random-variable.h: static double ns3::ParetoVariable::GetSingleValue(double m, double s, double b=0) [member function]
+ cls.add_method('GetSingleValue',
+ 'double',
+ [param('double', 'm'), param('double', 's'), param('double', 'b', default_value='0')],
+ is_static=True)
+ return
+
+def register_Ns3PointerChecker_methods(root_module, cls):
+ ## pointer.h: ns3::PointerChecker::PointerChecker(ns3::PointerChecker const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::PointerChecker const &', 'arg0')])
+ ## pointer.h: ns3::PointerChecker::PointerChecker() [constructor]
+ cls.add_constructor([])
+ ## pointer.h: ns3::TypeId ns3::PointerChecker::GetPointeeTypeId() const [member function]
+ cls.add_method('GetPointeeTypeId',
+ 'ns3::TypeId',
+ [],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ return
+
+def register_Ns3PointerValue_methods(root_module, cls):
+ ## pointer.h: ns3::PointerValue::PointerValue(ns3::PointerValue const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::PointerValue const &', 'arg0')])
+ ## pointer.h: ns3::PointerValue::PointerValue() [constructor]
+ cls.add_constructor([])
+ ## pointer.h: ns3::PointerValue::PointerValue(ns3::Ptr object) [constructor]
+ cls.add_constructor([param('ns3::Ptr< ns3::Object >', 'object')])
+ ## pointer.h: void ns3::PointerValue::SetObject(ns3::Ptr object) [member function]
+ cls.add_method('SetObject',
+ 'void',
+ [param('ns3::Ptr< ns3::Object >', 'object')])
+ ## pointer.h: ns3::Ptr ns3::PointerValue::GetObject() const [member function]
+ cls.add_method('GetObject',
+ 'ns3::Ptr< ns3::Object >',
+ [],
+ is_const=True)
+ ## pointer.h: ns3::Ptr ns3::PointerValue::Copy() const [member function]
+ cls.add_method('Copy',
+ 'ns3::Ptr< ns3::AttributeValue >',
+ [],
+ is_const=True, is_virtual=True)
+ ## pointer.h: std::string ns3::PointerValue::SerializeToString(ns3::Ptr checker) const [member function]
+ cls.add_method('SerializeToString',
+ 'std::string',
+ [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_const=True, is_virtual=True)
+ ## pointer.h: bool ns3::PointerValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]
+ cls.add_method('DeserializeFromString',
+ 'bool',
+ [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_virtual=True)
+ return
+
+def register_Ns3RandomVariableChecker_methods(root_module, cls):
+ ## random-variable.h: ns3::RandomVariableChecker::RandomVariableChecker(ns3::RandomVariableChecker const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::RandomVariableChecker const &', 'arg0')])
+ ## random-variable.h: ns3::RandomVariableChecker::RandomVariableChecker() [constructor]
+ cls.add_constructor([])
+ return
+
+def register_Ns3RandomVariableValue_methods(root_module, cls):
+ ## random-variable.h: ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariableValue const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::RandomVariableValue const &', 'arg0')])
+ ## random-variable.h: ns3::RandomVariableValue::RandomVariableValue() [constructor]
+ cls.add_constructor([])
+ ## random-variable.h: ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariable const & value) [constructor]
+ cls.add_constructor([param('ns3::RandomVariable const &', 'value')])
+ ## random-variable.h: void ns3::RandomVariableValue::Set(ns3::RandomVariable const & value) [member function]
+ cls.add_method('Set',
+ 'void',
+ [param('ns3::RandomVariable const &', 'value')])
+ ## random-variable.h: ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function]
+ cls.add_method('Get',
+ 'ns3::RandomVariable',
+ [],
+ is_const=True)
+ ## random-variable.h: ns3::Ptr ns3::RandomVariableValue::Copy() const [member function]
+ cls.add_method('Copy',
+ 'ns3::Ptr< ns3::AttributeValue >',
+ [],
+ is_const=True, is_virtual=True)
+ ## random-variable.h: std::string ns3::RandomVariableValue::SerializeToString(ns3::Ptr checker) const [member function]
+ cls.add_method('SerializeToString',
+ 'std::string',
+ [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_const=True, is_virtual=True)
+ ## random-variable.h: bool ns3::RandomVariableValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]
+ cls.add_method('DeserializeFromString',
+ 'bool',
+ [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_virtual=True)
+ return
+
+def register_Ns3StringChecker_methods(root_module, cls):
+ ## string.h: ns3::StringChecker::StringChecker(ns3::StringChecker const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::StringChecker const &', 'arg0')])
+ ## string.h: ns3::StringChecker::StringChecker() [constructor]
+ cls.add_constructor([])
+ return
+
+def register_Ns3StringValue_methods(root_module, cls):
+ ## string.h: ns3::StringValue::StringValue(ns3::StringValue const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::StringValue const &', 'arg0')])
+ ## string.h: ns3::StringValue::StringValue() [constructor]
+ cls.add_constructor([])
+ ## string.h: ns3::StringValue::StringValue(std::string const & value) [constructor]
+ cls.add_constructor([param('std::string const &', 'value')])
+ ## string.h: void ns3::StringValue::Set(std::string const & value) [member function]
+ cls.add_method('Set',
+ 'void',
+ [param('std::string const &', 'value')])
+ ## string.h: std::string ns3::StringValue::Get() const [member function]
+ cls.add_method('Get',
+ 'std::string',
+ [],
+ is_const=True)
+ ## string.h: ns3::Ptr ns3::StringValue::Copy() const [member function]
+ cls.add_method('Copy',
+ 'ns3::Ptr< ns3::AttributeValue >',
+ [],
+ is_const=True, is_virtual=True)
+ ## string.h: std::string ns3::StringValue::SerializeToString(ns3::Ptr checker) const [member function]
+ cls.add_method('SerializeToString',
+ 'std::string',
+ [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_const=True, is_virtual=True)
+ ## string.h: bool ns3::StringValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]
+ cls.add_method('DeserializeFromString',
+ 'bool',
+ [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_virtual=True)
+ return
+
+def register_Ns3TypeIdChecker_methods(root_module, cls):
+ ## type-id.h: ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')])
+ ## type-id.h: ns3::TypeIdChecker::TypeIdChecker() [constructor]
+ cls.add_constructor([])
+ return
+
+def register_Ns3TypeIdValue_methods(root_module, cls):
+ ## type-id.h: ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')])
+ ## type-id.h: ns3::TypeIdValue::TypeIdValue() [constructor]
+ cls.add_constructor([])
+ ## type-id.h: ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor]
+ cls.add_constructor([param('ns3::TypeId const &', 'value')])
+ ## type-id.h: void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function]
+ cls.add_method('Set',
+ 'void',
+ [param('ns3::TypeId const &', 'value')])
+ ## type-id.h: ns3::TypeId ns3::TypeIdValue::Get() const [member function]
+ cls.add_method('Get',
+ 'ns3::TypeId',
+ [],
+ is_const=True)
+ ## type-id.h: ns3::Ptr ns3::TypeIdValue::Copy() const [member function]
+ cls.add_method('Copy',
+ 'ns3::Ptr< ns3::AttributeValue >',
+ [],
+ is_const=True, is_virtual=True)
+ ## type-id.h: std::string ns3::TypeIdValue::SerializeToString(ns3::Ptr checker) const [member function]
+ cls.add_method('SerializeToString',
+ 'std::string',
+ [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_const=True, is_virtual=True)
+ ## type-id.h: bool ns3::TypeIdValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]
+ cls.add_method('DeserializeFromString',
+ 'bool',
+ [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_virtual=True)
+ return
+
+def register_Ns3UintegerValue_methods(root_module, cls):
+ ## uinteger.h: ns3::UintegerValue::UintegerValue(ns3::UintegerValue const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::UintegerValue const &', 'arg0')])
+ ## uinteger.h: ns3::UintegerValue::UintegerValue() [constructor]
+ cls.add_constructor([])
+ ## uinteger.h: ns3::UintegerValue::UintegerValue(uint64_t const & value) [constructor]
+ cls.add_constructor([param('uint64_t const &', 'value')])
+ ## uinteger.h: void ns3::UintegerValue::Set(uint64_t const & value) [member function]
+ cls.add_method('Set',
+ 'void',
+ [param('uint64_t const &', 'value')])
+ ## uinteger.h: uint64_t ns3::UintegerValue::Get() const [member function]
+ cls.add_method('Get',
+ 'uint64_t',
+ [],
+ is_const=True)
+ ## uinteger.h: ns3::Ptr ns3::UintegerValue::Copy() const [member function]
+ cls.add_method('Copy',
+ 'ns3::Ptr< ns3::AttributeValue >',
+ [],
+ is_const=True, is_virtual=True)
+ ## uinteger.h: std::string ns3::UintegerValue::SerializeToString(ns3::Ptr checker) const [member function]
+ cls.add_method('SerializeToString',
+ 'std::string',
+ [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_const=True, is_virtual=True)
+ ## uinteger.h: bool ns3::UintegerValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]
+ cls.add_method('DeserializeFromString',
+ 'bool',
+ [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_virtual=True)
+ return
+
+def register_Ns3TracedValue__Unsigned_int_methods(root_module, cls):
+ ## traced-value.h: ns3::TracedValue::TracedValue() [constructor]
+ cls.add_constructor([])
+ ## traced-value.h: ns3::TracedValue::TracedValue(ns3::TracedValue const & o) [copy constructor]
+ cls.add_constructor([param('ns3::TracedValue< unsigned int > const &', 'o')])
+ ## traced-value.h: ns3::TracedValue::TracedValue(unsigned int const & v) [constructor]
+ cls.add_constructor([param('unsigned int const &', 'v')])
+ ## traced-value.h: ns3::TracedValue::TracedValue(ns3::IntegerValue const & value) [constructor]
+ cls.add_constructor([param('ns3::IntegerValue const &', 'value')])
+ ## traced-value.h: ns3::TracedValue::TracedValue(ns3::UintegerValue const & value) [constructor]
+ cls.add_constructor([param('ns3::UintegerValue const &', 'value')])
+ ## traced-value.h: ns3::TracedValue::TracedValue(ns3::BooleanValue const & value) [constructor]
+ cls.add_constructor([param('ns3::BooleanValue const &', 'value')])
+ ## traced-value.h: ns3::TracedValue::TracedValue(ns3::EnumValue const & value) [constructor]
+ cls.add_constructor([param('ns3::EnumValue const &', 'value')])
+ ## traced-value.h: void ns3::TracedValue::ConnectWithoutContext(ns3::CallbackBase const & cb) [member function]
+ cls.add_method('ConnectWithoutContext',
+ 'void',
+ [param('ns3::CallbackBase const &', 'cb')])
+ ## traced-value.h: void ns3::TracedValue::Connect(ns3::CallbackBase const & cb, std::string path) [member function]
+ cls.add_method('Connect',
+ 'void',
+ [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
+ ## traced-value.h: void ns3::TracedValue::DisconnectWithoutContext(ns3::CallbackBase const & cb) [member function]
+ cls.add_method('DisconnectWithoutContext',
+ 'void',
+ [param('ns3::CallbackBase const &', 'cb')])
+ ## traced-value.h: void ns3::TracedValue::Disconnect(ns3::CallbackBase const & cb, std::string path) [member function]
+ cls.add_method('Disconnect',
+ 'void',
+ [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
+ ## traced-value.h: void ns3::TracedValue::Set(unsigned int const & v) [member function]
+ cls.add_method('Set',
+ 'void',
+ [param('unsigned int const &', 'v')])
+ ## traced-value.h: unsigned int ns3::TracedValue::Get() const [member function]
+ cls.add_method('Get',
+ 'unsigned int',
+ [],
+ is_const=True)
+ return
+
+def register_Ns3ConfigMatchContainer_methods(root_module, cls):
+ ## config.h: ns3::Config::MatchContainer::MatchContainer(ns3::Config::MatchContainer const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::Config::MatchContainer const &', 'arg0')])
+ ## config.h: ns3::Config::MatchContainer::MatchContainer() [constructor]
+ cls.add_constructor([])
+ ## config.h: ns3::Config::MatchContainer::MatchContainer(std::vector, std::allocator > > const & objects, std::vector > const & contexts, std::string path) [constructor]
+ cls.add_constructor([param('std::vector< ns3::Ptr< ns3::Object > > const &', 'objects'), param('std::vector< std::string > const &', 'contexts'), param('std::string', 'path')])
+ ## config.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::Config::MatchContainer::Begin() const [member function]
+ cls.add_method('Begin',
+ '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > >',
+ [],
+ is_const=True)
+ ## config.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::Config::MatchContainer::End() const [member function]
+ cls.add_method('End',
+ '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > >',
+ [],
+ is_const=True)
+ ## config.h: uint32_t ns3::Config::MatchContainer::GetN() const [member function]
+ cls.add_method('GetN',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## config.h: ns3::Ptr ns3::Config::MatchContainer::Get(uint32_t i) const [member function]
+ cls.add_method('Get',
+ 'ns3::Ptr< ns3::Object >',
+ [param('uint32_t', 'i')],
+ is_const=True)
+ ## config.h: std::string ns3::Config::MatchContainer::GetMatchedPath(uint32_t i) const [member function]
+ cls.add_method('GetMatchedPath',
+ 'std::string',
+ [param('uint32_t', 'i')],
+ is_const=True)
+ ## config.h: std::string ns3::Config::MatchContainer::GetPath() const [member function]
+ cls.add_method('GetPath',
+ 'std::string',
+ [],
+ is_const=True)
+ ## config.h: void ns3::Config::MatchContainer::Set(std::string name, ns3::AttributeValue const & value) [member function]
+ cls.add_method('Set',
+ 'void',
+ [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
+ ## config.h: void ns3::Config::MatchContainer::Connect(std::string name, ns3::CallbackBase const & cb) [member function]
+ cls.add_method('Connect',
+ 'void',
+ [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
+ ## config.h: void ns3::Config::MatchContainer::ConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
+ cls.add_method('ConnectWithoutContext',
+ 'void',
+ [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
+ ## config.h: void ns3::Config::MatchContainer::Disconnect(std::string name, ns3::CallbackBase const & cb) [member function]
+ cls.add_method('Disconnect',
+ 'void',
+ [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
+ ## config.h: void ns3::Config::MatchContainer::DisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
+ cls.add_method('DisconnectWithoutContext',
+ 'void',
+ [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
+ return
+
+def register_functions(root_module):
+ module = root_module
+ ## boolean.h: extern ns3::Ptr ns3::MakeBooleanChecker() [free function]
+ module.add_function('MakeBooleanChecker',
+ 'ns3::Ptr< ns3::AttributeChecker const >',
+ [])
+ ## type-name.h: extern std::string ns3::TypeNameGet() [free function]
+ module.add_function('TypeNameGet',
+ 'std::string',
+ [],
+ template_parameters=['double'])
+ ## type-name.h: extern std::string ns3::TypeNameGet() [free function]
+ module.add_function('TypeNameGet',
+ 'std::string',
+ [],
+ template_parameters=['float'])
+ ## type-name.h: extern std::string ns3::TypeNameGet() [free function]
+ module.add_function('TypeNameGet',
+ 'std::string',
+ [],
+ template_parameters=['long long'])
+ ## type-name.h: extern std::string ns3::TypeNameGet() [free function]
+ module.add_function('TypeNameGet',
+ 'std::string',
+ [],
+ template_parameters=['int'])
+ ## type-name.h: extern std::string ns3::TypeNameGet() [free function]
+ module.add_function('TypeNameGet',
+ 'std::string',
+ [],
+ template_parameters=['short'])
+ ## type-name.h: extern std::string ns3::TypeNameGet() [free function]
+ module.add_function('TypeNameGet',
+ 'std::string',
+ [],
+ template_parameters=['signed char'])
+ ## type-name.h: extern std::string ns3::TypeNameGet() [free function]
+ module.add_function('TypeNameGet',
+ 'std::string',
+ [],
+ template_parameters=['unsigned long long'])
+ ## type-name.h: extern std::string ns3::TypeNameGet() [free function]
+ module.add_function('TypeNameGet',
+ 'std::string',
+ [],
+ template_parameters=['unsigned int'])
+ ## type-name.h: extern std::string ns3::TypeNameGet() [free function]
+ module.add_function('TypeNameGet',
+ 'std::string',
+ [],
+ template_parameters=['unsigned short'])
+ ## type-name.h: extern std::string ns3::TypeNameGet() [free function]
+ module.add_function('TypeNameGet',
+ 'std::string',
+ [],
+ template_parameters=['unsigned char'])
+ ## log.h: extern void ns3::LogComponentDisable(char const * name, ns3::LogLevel level) [free function]
+ module.add_function('LogComponentDisable',
+ 'void',
+ [param('char const *', 'name'), param('ns3::LogLevel', 'level')])
+ ## string.h: extern ns3::Ptr ns3::MakeStringChecker() [free function]
+ module.add_function('MakeStringChecker',
+ 'ns3::Ptr< ns3::AttributeChecker const >',
+ [])
+ ## ptr.h: extern ns3::Ptr ns3::Create() [free function]
+ module.add_function('Create',
+ 'ns3::Ptr< ns3::PointerValue >',
+ [],
+ template_parameters=['ns3::PointerValue'])
+ ## ptr.h: extern ns3::Ptr ns3::Create() [free function]
+ module.add_function('Create',
+ 'ns3::Ptr< ns3::ObjectVectorValue >',
+ [],
+ template_parameters=['ns3::ObjectVectorValue'])
+ ## log.h: extern void ns3::LogComponentEnableAll(ns3::LogLevel level) [free function]
+ module.add_function('LogComponentEnableAll',
+ 'void',
+ [param('ns3::LogLevel', 'level')])
+ ## type-id.h: extern ns3::Ptr ns3::MakeTypeIdChecker() [free function]
+ module.add_function('MakeTypeIdChecker',
+ 'ns3::Ptr< ns3::AttributeChecker const >',
+ [])
+ ## object-factory.h: extern ns3::Ptr ns3::MakeObjectFactoryChecker() [free function]
+ module.add_function('MakeObjectFactoryChecker',
+ 'ns3::Ptr< ns3::AttributeChecker const >',
+ [])
+ ## log.h: extern void ns3::LogComponentDisableAll(ns3::LogLevel level) [free function]
+ module.add_function('LogComponentDisableAll',
+ 'void',
+ [param('ns3::LogLevel', 'level')])
+ ## callback.h: extern ns3::Ptr ns3::MakeCallbackChecker() [free function]
+ module.add_function('MakeCallbackChecker',
+ 'ns3::Ptr< ns3::AttributeChecker const >',
+ [])
+ ## breakpoint.h: extern void ns3::BreakpointFallback() [free function]
+ module.add_function('BreakpointFallback',
+ 'void',
+ [])
+ ## random-variable.h: extern ns3::Ptr ns3::MakeRandomVariableChecker() [free function]
+ module.add_function('MakeRandomVariableChecker',
+ 'ns3::Ptr< ns3::AttributeChecker const >',
+ [])
+ ## log.h: extern void ns3::LogComponentEnable(char const * name, ns3::LogLevel level) [free function]
+ module.add_function('LogComponentEnable',
+ 'void',
+ [param('char const *', 'name'), param('ns3::LogLevel', 'level')])
+ ## enum.h: extern ns3::Ptr ns3::MakeEnumChecker(int v1, std::string n1, int v2=0, std::string n2="", int v3=0, std::string n3="", int v4=0, std::string n4="", int v5=0, std::string n5="", int v6=0, std::string n6="", int v7=0, std::string n7="", int v8=0, std::string n8="", int v9=0, std::string n9="", int v10=0, std::string n10="", int v11=0, std::string n11="", int v12=0, std::string n12="") [free function]
+ module.add_function('MakeEnumChecker',
+ 'ns3::Ptr< ns3::AttributeChecker const >',
+ [param('int', 'v1'), param('std::string', 'n1'), param('int', 'v2', default_value='0'), param('std::string', 'n2', default_value='""'), param('int', 'v3', default_value='0'), param('std::string', 'n3', default_value='""'), param('int', 'v4', default_value='0'), param('std::string', 'n4', default_value='""'), param('int', 'v5', default_value='0'), param('std::string', 'n5', default_value='""'), param('int', 'v6', default_value='0'), param('std::string', 'n6', default_value='""'), param('int', 'v7', default_value='0'), param('std::string', 'n7', default_value='""'), param('int', 'v8', default_value='0'), param('std::string', 'n8', default_value='""'), param('int', 'v9', default_value='0'), param('std::string', 'n9', default_value='""'), param('int', 'v10', default_value='0'), param('std::string', 'n10', default_value='""'), param('int', 'v11', default_value='0'), param('std::string', 'n11', default_value='""'), param('int', 'v12', default_value='0'), param('std::string', 'n12', default_value='""')])
+ register_functions_ns3_internal(module.get_submodule('internal'), root_module)
+ register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
+ register_functions_ns3_Config(module.get_submodule('Config'), root_module)
+ register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
+ return
+
+def register_functions_ns3_internal(module, root_module):
+ ## uinteger.h: extern ns3::Ptr ns3::internal::MakeUintegerChecker(uint64_t min, uint64_t max, std::string name) [free function]
+ module.add_function('MakeUintegerChecker',
+ 'ns3::Ptr< ns3::AttributeChecker const >',
+ [param('uint64_t', 'min'), param('uint64_t', 'max'), param('std::string', 'name')])
+ ## integer.h: extern ns3::Ptr ns3::internal::MakeIntegerChecker(int64_t min, int64_t max, std::string name) [free function]
+ module.add_function('MakeIntegerChecker',
+ 'ns3::Ptr< ns3::AttributeChecker const >',
+ [param('int64_t', 'min'), param('int64_t', 'max'), param('std::string', 'name')])
+ ## double.h: extern ns3::Ptr ns3::internal::MakeDoubleChecker(double min, double max, std::string name) [free function]
+ module.add_function('MakeDoubleChecker',
+ 'ns3::Ptr< ns3::AttributeChecker const >',
+ [param('double', 'min'), param('double', 'max'), param('std::string', 'name')])
+ return
+
+def register_functions_ns3_TimeStepPrecision(module, root_module):
+ return
+
+def register_functions_ns3_Config(module, root_module):
+ ## config.h: extern bool ns3::Config::SetDefaultFailSafe(std::string name, ns3::AttributeValue const & value) [free function]
+ module.add_function('SetDefaultFailSafe',
+ 'bool',
+ [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
+ ## config.h: extern void ns3::Config::DisconnectWithoutContext(std::string path, ns3::CallbackBase const & cb) [free function]
+ module.add_function('DisconnectWithoutContext',
+ 'void',
+ [param('std::string', 'path'), param('ns3::CallbackBase const &', 'cb')])
+ ## config.h: extern void ns3::Config::SetDefault(std::string name, ns3::AttributeValue const & value) [free function]
+ module.add_function('SetDefault',
+ 'void',
+ [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
+ ## config.h: extern ns3::Config::MatchContainer ns3::Config::LookupMatches(std::string path) [free function]
+ module.add_function('LookupMatches',
+ 'ns3::Config::MatchContainer',
+ [param('std::string', 'path')])
+ ## config.h: extern void ns3::Config::Connect(std::string path, ns3::CallbackBase const & cb) [free function]
+ module.add_function('Connect',
+ 'void',
+ [param('std::string', 'path'), param('ns3::CallbackBase const &', 'cb')])
+ ## config.h: extern ns3::Ptr ns3::Config::GetRootNamespaceObject(uint32_t i) [free function]
+ module.add_function('GetRootNamespaceObject',
+ 'ns3::Ptr< ns3::Object >',
+ [param('uint32_t', 'i')])
+ ## config.h: extern void ns3::Config::ConnectWithoutContext(std::string path, ns3::CallbackBase const & cb) [free function]
+ module.add_function('ConnectWithoutContext',
+ 'void',
+ [param('std::string', 'path'), param('ns3::CallbackBase const &', 'cb')])
+ ## config.h: extern void ns3::Config::UnregisterRootNamespaceObject(ns3::Ptr obj) [free function]
+ module.add_function('UnregisterRootNamespaceObject',
+ 'void',
+ [param('ns3::Ptr< ns3::Object >', 'obj')])
+ ## config.h: extern bool ns3::Config::SetGlobalFailSafe(std::string name, ns3::AttributeValue const & value) [free function]
+ module.add_function('SetGlobalFailSafe',
+ 'bool',
+ [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
+ ## config.h: extern void ns3::Config::Disconnect(std::string path, ns3::CallbackBase const & cb) [free function]
+ module.add_function('Disconnect',
+ 'void',
+ [param('std::string', 'path'), param('ns3::CallbackBase const &', 'cb')])
+ ## config.h: extern uint32_t ns3::Config::GetRootNamespaceObjectN() [free function]
+ module.add_function('GetRootNamespaceObjectN',
+ 'uint32_t',
+ [])
+ ## config.h: extern void ns3::Config::Set(std::string path, ns3::AttributeValue const & value) [free function]
+ module.add_function('Set',
+ 'void',
+ [param('std::string', 'path'), param('ns3::AttributeValue const &', 'value')])
+ ## config.h: extern void ns3::Config::SetGlobal(std::string name, ns3::AttributeValue const & value) [free function]
+ module.add_function('SetGlobal',
+ 'void',
+ [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
+ ## config.h: extern void ns3::Config::RegisterRootNamespaceObject(ns3::Ptr obj) [free function]
+ module.add_function('RegisterRootNamespaceObject',
+ 'void',
+ [param('ns3::Ptr< ns3::Object >', 'obj')])
+ return
+
+def register_functions_ns3_olsr(module, root_module):
+ return
+
diff --git a/bindings/python/ns3_module_csma.py b/bindings/python/ns3_module_csma.py
new file mode 100644
index 000000000..ddcaae307
--- /dev/null
+++ b/bindings/python/ns3_module_csma.py
@@ -0,0 +1,437 @@
+from pybindgen import Module, FileCodeSink, param, retval, cppclass
+
+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-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 internal
+
+ nested_module = module.add_cpp_namespace('internal')
+ register_types_ns3_internal(nested_module)
+
+
+ ## Register a nested module for the namespace TimeStepPrecision
+
+ nested_module = module.add_cpp_namespace('TimeStepPrecision')
+ register_types_ns3_TimeStepPrecision(nested_module)
+
+
+ ## 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 olsr
+
+ nested_module = module.add_cpp_namespace('olsr')
+ register_types_ns3_olsr(nested_module)
+
+
+def register_types_ns3_internal(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_TimeStepPrecision(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_Config(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_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::m_minSlots [variable]
+ cls.add_instance_attribute('m_minSlots', '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_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_slotTime [variable]
+ cls.add_instance_attribute('m_slotTime', 'ns3::Time', is_const=False)
+ ## 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::ResetBackoffTime() [member function]
+ cls.add_method('ResetBackoffTime',
+ 'void',
+ [])
+ ## backoff.h: bool ns3::Backoff::MaxRetriesReached() [member function]
+ cls.add_method('MaxRetriesReached',
+ 'bool',
+ [])
+ ## backoff.h: void ns3::Backoff::IncrNumRetries() [member function]
+ cls.add_method('IncrNumRetries',
+ 'void',
+ [])
+ return
+
+def register_Ns3CsmaDeviceRec_methods(root_module, cls):
+ ## csma-channel.h: ns3::CsmaDeviceRec::devicePtr [variable]
+ cls.add_instance_attribute('devicePtr', 'ns3::Ptr< ns3::CsmaNetDevice >', is_const=False)
+ ## csma-channel.h: ns3::CsmaDeviceRec::active [variable]
+ cls.add_instance_attribute('active', 'bool', is_const=False)
+ ## csma-channel.h: ns3::CsmaDeviceRec::CsmaDeviceRec(ns3::CsmaDeviceRec const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::CsmaDeviceRec const &', 'arg0')])
+ ## csma-channel.h: ns3::CsmaDeviceRec::CsmaDeviceRec() [constructor]
+ cls.add_constructor([])
+ ## csma-channel.h: ns3::CsmaDeviceRec::CsmaDeviceRec(ns3::Ptr device) [constructor]
+ cls.add_constructor([param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')])
+ ## csma-channel.h: bool ns3::CsmaDeviceRec::IsActive() [member function]
+ cls.add_method('IsActive',
+ 'bool',
+ [])
+ 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: static ns3::TypeId ns3::CsmaChannel::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## csma-channel.h: ns3::CsmaChannel::CsmaChannel() [constructor]
+ cls.add_constructor([])
+ ## csma-channel.h: int32_t ns3::CsmaChannel::Attach(ns3::Ptr device) [member function]
+ cls.add_method('Attach',
+ 'int32_t',
+ [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')])
+ ## csma-channel.h: bool ns3::CsmaChannel::Detach(ns3::Ptr device) [member function]
+ cls.add_method('Detach',
+ 'bool',
+ [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')])
+ ## csma-channel.h: bool ns3::CsmaChannel::Detach(uint32_t deviceId) [member function]
+ cls.add_method('Detach',
+ 'bool',
+ [param('uint32_t', 'deviceId')])
+ ## csma-channel.h: bool ns3::CsmaChannel::Reattach(uint32_t deviceId) [member function]
+ cls.add_method('Reattach',
+ 'bool',
+ [param('uint32_t', 'deviceId')])
+ ## csma-channel.h: bool ns3::CsmaChannel::Reattach(ns3::Ptr device) [member function]
+ cls.add_method('Reattach',
+ 'bool',
+ [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')])
+ ## csma-channel.h: bool ns3::CsmaChannel::TransmitStart(ns3::Ptr p, uint32_t srcId) [member function]
+ cls.add_method('TransmitStart',
+ 'bool',
+ [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'srcId')])
+ ## csma-channel.h: bool ns3::CsmaChannel::TransmitEnd() [member function]
+ cls.add_method('TransmitEnd',
+ 'bool',
+ [])
+ ## csma-channel.h: void ns3::CsmaChannel::PropagationCompleteEvent() [member function]
+ cls.add_method('PropagationCompleteEvent',
+ 'void',
+ [])
+ ## csma-channel.h: int32_t ns3::CsmaChannel::GetDeviceNum(ns3::Ptr device) [member function]
+ cls.add_method('GetDeviceNum',
+ 'int32_t',
+ [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')])
+ ## csma-channel.h: ns3::WireState ns3::CsmaChannel::GetState() [member function]
+ cls.add_method('GetState',
+ 'ns3::WireState',
+ [])
+ ## csma-channel.h: bool ns3::CsmaChannel::IsBusy() [member function]
+ cls.add_method('IsBusy',
+ 'bool',
+ [])
+ ## csma-channel.h: bool ns3::CsmaChannel::IsActive(uint32_t deviceId) [member function]
+ cls.add_method('IsActive',
+ 'bool',
+ [param('uint32_t', 'deviceId')])
+ ## csma-channel.h: uint32_t ns3::CsmaChannel::GetNumActDevices() [member function]
+ cls.add_method('GetNumActDevices',
+ 'uint32_t',
+ [])
+ ## 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: ns3::Ptr ns3::CsmaChannel::GetDevice(uint32_t i) const [member function]
+ cls.add_method('GetDevice',
+ 'ns3::Ptr< ns3::NetDevice >',
+ [param('uint32_t', 'i')],
+ is_const=True, is_virtual=True)
+ ## csma-channel.h: ns3::Ptr ns3::CsmaChannel::GetCsmaDevice(uint32_t i) const [member function]
+ cls.add_method('GetCsmaDevice',
+ 'ns3::Ptr< ns3::CsmaNetDevice >',
+ [param('uint32_t', 'i')],
+ is_const=True)
+ ## csma-channel.h: ns3::DataRate ns3::CsmaChannel::GetDataRate() [member function]
+ cls.add_method('GetDataRate',
+ 'ns3::DataRate',
+ [],
+ is_virtual=True)
+ ## csma-channel.h: ns3::Time ns3::CsmaChannel::GetDelay() [member function]
+ cls.add_method('GetDelay',
+ 'ns3::Time',
+ [],
+ is_virtual=True)
+ return
+
+def register_Ns3CsmaNetDevice_methods(root_module, cls):
+ ## csma-net-device.h: static ns3::TypeId ns3::CsmaNetDevice::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## csma-net-device.h: ns3::CsmaNetDevice::CsmaNetDevice() [constructor]
+ cls.add_constructor([])
+ ## csma-net-device.h: void ns3::CsmaNetDevice::SetInterframeGap(ns3::Time t) [member function]
+ cls.add_method('SetInterframeGap',
+ 'void',
+ [param('ns3::Time', 't')])
+ ## csma-net-device.h: void ns3::CsmaNetDevice::SetBackoffParams(ns3::Time slotTime, uint32_t minSlots, uint32_t maxSlots, uint32_t maxRetries, uint32_t ceiling) [member function]
+ cls.add_method('SetBackoffParams',
+ 'void',
+ [param('ns3::Time', 'slotTime'), param('uint32_t', 'minSlots'), param('uint32_t', 'maxSlots'), param('uint32_t', 'maxRetries'), param('uint32_t', 'ceiling')])
+ ## csma-net-device.h: bool ns3::CsmaNetDevice::Attach(ns3::Ptr ch) [member function]
+ cls.add_method('Attach',
+ 'bool',
+ [param('ns3::Ptr< ns3::CsmaChannel >', 'ch')])
+ ## csma-net-device.h: void ns3::CsmaNetDevice::SetQueue(ns3::Ptr queue) [member function]
+ cls.add_method('SetQueue',
+ 'void',
+ [param('ns3::Ptr< ns3::Queue >', 'queue')])
+ ## csma-net-device.h: void ns3::CsmaNetDevice::SetReceiveErrorModel(ns3::Ptr em) [member function]
+ cls.add_method('SetReceiveErrorModel',
+ 'void',
+ [param('ns3::Ptr< ns3::ErrorModel >', 'em')])
+ ## csma-net-device.h: void ns3::CsmaNetDevice::Receive(ns3::Ptr p, ns3::Ptr sender) [member function]
+ cls.add_method('Receive',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ptr< ns3::CsmaNetDevice >', 'sender')])
+ ## csma-net-device.h: bool ns3::CsmaNetDevice::IsSendEnabled() [member function]
+ cls.add_method('IsSendEnabled',
+ 'bool',
+ [])
+ ## csma-net-device.h: void ns3::CsmaNetDevice::SetSendEnable(bool enable) [member function]
+ cls.add_method('SetSendEnable',
+ 'void',
+ [param('bool', 'enable')])
+ ## csma-net-device.h: bool ns3::CsmaNetDevice::IsReceiveEnabled() [member function]
+ cls.add_method('IsReceiveEnabled',
+ 'bool',
+ [])
+ ## csma-net-device.h: void ns3::CsmaNetDevice::SetReceiveEnable(bool enable) [member function]
+ cls.add_method('SetReceiveEnable',
+ 'void',
+ [param('bool', 'enable')])
+ ## csma-net-device.h: void ns3::CsmaNetDevice::SetAddress(ns3::Mac48Address addr) [member function]
+ cls.add_method('SetAddress',
+ 'void',
+ [param('ns3::Mac48Address', 'addr')])
+ ## csma-net-device.h: void ns3::CsmaNetDevice::SetFrameSize(uint16_t frameSize) [member function]
+ cls.add_method('SetFrameSize',
+ 'void',
+ [param('uint16_t', 'frameSize')])
+ ## csma-net-device.h: uint16_t ns3::CsmaNetDevice::GetFrameSize() const [member function]
+ cls.add_method('GetFrameSize',
+ 'uint16_t',
+ [],
+ is_const=True)
+ ## 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::SetName(std::string const name) [member function]
+ cls.add_method('SetName',
+ 'void',
+ [param('std::string const', 'name')],
+ is_virtual=True)
+ ## csma-net-device.h: std::string ns3::CsmaNetDevice::GetName() const [member function]
+ cls.add_method('GetName',
+ 'std::string',
+ [],
+ is_const=True, is_virtual=True)
+ ## csma-net-device.h: void ns3::CsmaNetDevice::SetIfIndex(uint32_t const index) [member function]
+ cls.add_method('SetIfIndex',
+ 'void',
+ [param('uint32_t const', 'index')],
+ is_virtual=True)
+ ## csma-net-device.h: uint32_t ns3::CsmaNetDevice::GetIfIndex() const [member function]
+ cls.add_method('GetIfIndex',
+ 'uint32_t',
+ [],
+ is_const=True, is_virtual=True)
+ ## csma-net-device.h: ns3::Ptr ns3::CsmaNetDevice::GetChannel() const [member function]
+ cls.add_method('GetChannel',
+ 'ns3::Ptr< ns3::Channel >',
+ [],
+ is_const=True, is_virtual=True)
+ ## csma-net-device.h: bool ns3::CsmaNetDevice::SetMtu(uint16_t const mtu) [member function]
+ cls.add_method('SetMtu',
+ 'bool',
+ [param('uint16_t const', 'mtu')],
+ is_virtual=True)
+ ## csma-net-device.h: uint16_t ns3::CsmaNetDevice::GetMtu() const [member function]
+ cls.add_method('GetMtu',
+ 'uint16_t',
+ [],
+ is_const=True, is_virtual=True)
+ ## csma-net-device.h: 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::SetLinkChangeCallback(ns3::Callback callback) [member function]
+ cls.add_method('SetLinkChangeCallback',
+ 'void',
+ [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', '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() const [member function]
+ cls.add_method('GetMulticast',
+ 'ns3::Address',
+ [],
+ is_const=True, is_virtual=True)
+ ## csma-net-device.h: ns3::Address ns3::CsmaNetDevice::MakeMulticastAddress(ns3::Ipv4Address multicastGroup) const [member function]
+ cls.add_method('MakeMulticastAddress',
+ '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::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
+ cls.add_method('Send',
+ 'bool',
+ [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
+ is_virtual=True)
+ ## csma-net-device.h: bool ns3::CsmaNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function]
+ cls.add_method('SendFrom',
+ 'bool',
+ [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
+ is_virtual=True)
+ ## csma-net-device.h: ns3::Ptr ns3::CsmaNetDevice::GetNode() const [member function]
+ cls.add_method('GetNode',
+ 'ns3::Ptr< ns3::Node >',
+ [],
+ is_const=True, is_virtual=True)
+ ## csma-net-device.h: void ns3::CsmaNetDevice::SetNode(ns3::Ptr node) [member function]
+ cls.add_method('SetNode',
+ 'void',
+ [param('ns3::Ptr< ns3::Node >', 'node')],
+ is_virtual=True)
+ ## csma-net-device.h: bool ns3::CsmaNetDevice::NeedsArp() const [member function]
+ cls.add_method('NeedsArp',
+ 'bool',
+ [],
+ is_const=True, is_virtual=True)
+ ## csma-net-device.h: void ns3::CsmaNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty> 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 >', 'cb')],
+ is_virtual=True)
+ ## csma-net-device.h: void ns3::CsmaNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType> 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 >', '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: ns3::Ptr ns3::CsmaNetDevice::GetQueue() const [member function]
+ cls.add_method('GetQueue',
+ 'ns3::Ptr< ns3::Queue >',
+ [],
+ is_const=True, visibility='protected')
+ ## csma-net-device.h: void ns3::CsmaNetDevice::AddHeader(ns3::Ptr p, ns3::Mac48Address source, ns3::Mac48Address dest, uint16_t protocolNumber) [member function]
+ cls.add_method('AddHeader',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Mac48Address', 'source'), param('ns3::Mac48Address', 'dest'), param('uint16_t', 'protocolNumber')],
+ visibility='protected')
+ ## csma-net-device.h: bool ns3::CsmaNetDevice::ProcessHeader(ns3::Ptr p, uint16_t & param) [member function]
+ cls.add_method('ProcessHeader',
+ 'bool',
+ [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint16_t &', 'param')],
+ visibility='protected')
+ return
+
+def register_functions(root_module):
+ module = root_module
+ register_functions_ns3_internal(module.get_submodule('internal'), root_module)
+ register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
+ register_functions_ns3_Config(module.get_submodule('Config'), root_module)
+ register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
+ return
+
+def register_functions_ns3_internal(module, root_module):
+ return
+
+def register_functions_ns3_TimeStepPrecision(module, root_module):
+ return
+
+def register_functions_ns3_Config(module, root_module):
+ return
+
+def register_functions_ns3_olsr(module, root_module):
+ return
+
diff --git a/bindings/python/ns3_module_global_routing.py b/bindings/python/ns3_module_global_routing.py
new file mode 100644
index 000000000..67de0a1ab
--- /dev/null
+++ b/bindings/python/ns3_module_global_routing.py
@@ -0,0 +1,280 @@
+from pybindgen import Module, FileCodeSink, param, retval, cppclass
+
+def register_types(module):
+ root_module = module.get_root()
+
+ ## global-route-manager.h: ns3::GlobalRouteManager [class]
+ module.add_class('GlobalRouteManager')
+ ## global-router-interface.h: ns3::GlobalRoutingLSA [class]
+ module.add_class('GlobalRoutingLSA')
+ ## global-router-interface.h: ns3::GlobalRoutingLSA::LSType [enumeration]
+ module.add_enum('LSType', ['Unknown', 'RouterLSA', 'NetworkLSA', 'SummaryLSA', 'SummaryLSA_ASBR', 'ASExternalLSAs'], outer_class=root_module['ns3::GlobalRoutingLSA'])
+ ## global-router-interface.h: ns3::GlobalRoutingLSA::SPFStatus [enumeration]
+ module.add_enum('SPFStatus', ['LSA_SPF_NOT_EXPLORED', 'LSA_SPF_CANDIDATE', 'LSA_SPF_IN_SPFTREE'], outer_class=root_module['ns3::GlobalRoutingLSA'])
+ ## global-router-interface.h: ns3::GlobalRoutingLinkRecord [class]
+ module.add_class('GlobalRoutingLinkRecord')
+ ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::LinkType [enumeration]
+ module.add_enum('LinkType', ['Unknown', 'PointToPoint', 'TransitNetwork', 'StubNetwork', 'VirtualLink'], outer_class=root_module['ns3::GlobalRoutingLinkRecord'])
+ ## global-router-interface.h: ns3::GlobalRouter [class]
+ module.add_class('GlobalRouter', is_singleton=True, parent=root_module['ns3::Object'])
+
+ ## 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 TimeStepPrecision
+
+ nested_module = module.add_cpp_namespace('TimeStepPrecision')
+ register_types_ns3_TimeStepPrecision(nested_module)
+
+
+ ## 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 olsr
+
+ nested_module = module.add_cpp_namespace('olsr')
+ register_types_ns3_olsr(nested_module)
+
+
+def register_types_ns3_internal(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_TimeStepPrecision(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_Config(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_olsr(module):
+ root_module = module.get_root()
+
+
+def register_methods(root_module):
+ register_Ns3GlobalRouteManager_methods(root_module, root_module['ns3::GlobalRouteManager'])
+ register_Ns3GlobalRoutingLSA_methods(root_module, root_module['ns3::GlobalRoutingLSA'])
+ register_Ns3GlobalRoutingLinkRecord_methods(root_module, root_module['ns3::GlobalRoutingLinkRecord'])
+ register_Ns3GlobalRouter_methods(root_module, root_module['ns3::GlobalRouter'])
+ return
+
+def register_Ns3GlobalRouteManager_methods(root_module, cls):
+ ## global-route-manager.h: static void ns3::GlobalRouteManager::PopulateRoutingTables() [member function]
+ cls.add_method('PopulateRoutingTables',
+ 'void',
+ [],
+ is_static=True)
+ ## global-route-manager.h: static uint32_t ns3::GlobalRouteManager::AllocateRouterId() [member function]
+ cls.add_method('AllocateRouterId',
+ 'uint32_t',
+ [],
+ is_static=True)
+ return
+
+def register_Ns3GlobalRoutingLSA_methods(root_module, cls):
+ cls.add_output_stream_operator()
+ ## global-router-interface.h: ns3::GlobalRoutingLSA::GlobalRoutingLSA() [constructor]
+ cls.add_constructor([])
+ ## global-router-interface.h: ns3::GlobalRoutingLSA::GlobalRoutingLSA(ns3::GlobalRoutingLSA::SPFStatus status, ns3::Ipv4Address linkStateId, ns3::Ipv4Address advertisingRtr) [constructor]
+ cls.add_constructor([param('ns3::GlobalRoutingLSA::SPFStatus', 'status'), param('ns3::Ipv4Address', 'linkStateId'), param('ns3::Ipv4Address', 'advertisingRtr')])
+ ## global-router-interface.h: ns3::GlobalRoutingLSA::GlobalRoutingLSA(ns3::GlobalRoutingLSA & lsa) [constructor]
+ cls.add_constructor([param('ns3::GlobalRoutingLSA &', 'lsa')])
+ ## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::AddAttachedRouter(ns3::Ipv4Address addr) [member function]
+ cls.add_method('AddAttachedRouter',
+ 'uint32_t',
+ [param('ns3::Ipv4Address', 'addr')])
+ ## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::AddLinkRecord(ns3::GlobalRoutingLinkRecord * lr) [member function]
+ cls.add_method('AddLinkRecord',
+ 'uint32_t',
+ [param('ns3::GlobalRoutingLinkRecord *', 'lr')])
+ ## global-router-interface.h: void ns3::GlobalRoutingLSA::ClearLinkRecords() [member function]
+ cls.add_method('ClearLinkRecords',
+ 'void',
+ [])
+ ## global-router-interface.h: void ns3::GlobalRoutingLSA::CopyLinkRecords(ns3::GlobalRoutingLSA const & lsa) [member function]
+ cls.add_method('CopyLinkRecords',
+ 'void',
+ [param('ns3::GlobalRoutingLSA const &', 'lsa')])
+ ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLSA::GetAdvertisingRouter() const [member function]
+ cls.add_method('GetAdvertisingRouter',
+ 'ns3::Ipv4Address',
+ [],
+ is_const=True)
+ ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLSA::GetAttachedRouter(uint32_t n) const [member function]
+ cls.add_method('GetAttachedRouter',
+ 'ns3::Ipv4Address',
+ [param('uint32_t', 'n')],
+ is_const=True)
+ ## global-router-interface.h: ns3::GlobalRoutingLSA::LSType ns3::GlobalRoutingLSA::GetLSType() const [member function]
+ cls.add_method('GetLSType',
+ 'ns3::GlobalRoutingLSA::LSType',
+ [],
+ is_const=True)
+ ## global-router-interface.h: ns3::GlobalRoutingLinkRecord * ns3::GlobalRoutingLSA::GetLinkRecord(uint32_t n) const [member function]
+ cls.add_method('GetLinkRecord',
+ 'ns3::GlobalRoutingLinkRecord *',
+ [param('uint32_t', 'n')],
+ is_const=True)
+ ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLSA::GetLinkStateId() const [member function]
+ cls.add_method('GetLinkStateId',
+ 'ns3::Ipv4Address',
+ [],
+ is_const=True)
+ ## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::GetNAttachedRouters() const [member function]
+ cls.add_method('GetNAttachedRouters',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::GetNLinkRecords() const [member function]
+ cls.add_method('GetNLinkRecords',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## global-router-interface.h: ns3::Ipv4Mask ns3::GlobalRoutingLSA::GetNetworkLSANetworkMask() const [member function]
+ cls.add_method('GetNetworkLSANetworkMask',
+ 'ns3::Ipv4Mask',
+ [],
+ is_const=True)
+ ## global-router-interface.h: ns3::GlobalRoutingLSA::SPFStatus ns3::GlobalRoutingLSA::GetStatus() const [member function]
+ cls.add_method('GetStatus',
+ 'ns3::GlobalRoutingLSA::SPFStatus',
+ [],
+ is_const=True)
+ ## global-router-interface.h: bool ns3::GlobalRoutingLSA::IsEmpty() const [member function]
+ cls.add_method('IsEmpty',
+ 'bool',
+ [],
+ is_const=True)
+ ## global-router-interface.h: void ns3::GlobalRoutingLSA::Print(std::ostream & os) const [member function]
+ cls.add_method('Print',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_const=True)
+ ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetAdvertisingRouter(ns3::Ipv4Address rtr) [member function]
+ cls.add_method('SetAdvertisingRouter',
+ 'void',
+ [param('ns3::Ipv4Address', 'rtr')])
+ ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetLSType(ns3::GlobalRoutingLSA::LSType typ) [member function]
+ cls.add_method('SetLSType',
+ 'void',
+ [param('ns3::GlobalRoutingLSA::LSType', 'typ')])
+ ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetLinkStateId(ns3::Ipv4Address addr) [member function]
+ cls.add_method('SetLinkStateId',
+ 'void',
+ [param('ns3::Ipv4Address', 'addr')])
+ ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetNetworkLSANetworkMask(ns3::Ipv4Mask mask) [member function]
+ cls.add_method('SetNetworkLSANetworkMask',
+ 'void',
+ [param('ns3::Ipv4Mask', 'mask')])
+ ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetStatus(ns3::GlobalRoutingLSA::SPFStatus status) [member function]
+ cls.add_method('SetStatus',
+ 'void',
+ [param('ns3::GlobalRoutingLSA::SPFStatus', 'status')])
+ return
+
+def register_Ns3GlobalRoutingLinkRecord_methods(root_module, cls):
+ ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::GlobalRoutingLinkRecord(ns3::GlobalRoutingLinkRecord const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::GlobalRoutingLinkRecord const &', 'arg0')])
+ ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::GlobalRoutingLinkRecord() [constructor]
+ cls.add_constructor([])
+ ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::GlobalRoutingLinkRecord(ns3::GlobalRoutingLinkRecord::LinkType linkType, ns3::Ipv4Address linkId, ns3::Ipv4Address linkData, uint16_t metric) [constructor]
+ cls.add_constructor([param('ns3::GlobalRoutingLinkRecord::LinkType', 'linkType'), param('ns3::Ipv4Address', 'linkId'), param('ns3::Ipv4Address', 'linkData'), param('uint16_t', 'metric')])
+ ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLinkRecord::GetLinkId() const [member function]
+ cls.add_method('GetLinkId',
+ 'ns3::Ipv4Address',
+ [],
+ is_const=True)
+ ## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetLinkId(ns3::Ipv4Address addr) [member function]
+ cls.add_method('SetLinkId',
+ 'void',
+ [param('ns3::Ipv4Address', 'addr')])
+ ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLinkRecord::GetLinkData() const [member function]
+ cls.add_method('GetLinkData',
+ 'ns3::Ipv4Address',
+ [],
+ is_const=True)
+ ## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetLinkData(ns3::Ipv4Address addr) [member function]
+ cls.add_method('SetLinkData',
+ 'void',
+ [param('ns3::Ipv4Address', 'addr')])
+ ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::LinkType ns3::GlobalRoutingLinkRecord::GetLinkType() const [member function]
+ cls.add_method('GetLinkType',
+ 'ns3::GlobalRoutingLinkRecord::LinkType',
+ [],
+ is_const=True)
+ ## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetLinkType(ns3::GlobalRoutingLinkRecord::LinkType linkType) [member function]
+ cls.add_method('SetLinkType',
+ 'void',
+ [param('ns3::GlobalRoutingLinkRecord::LinkType', 'linkType')])
+ ## global-router-interface.h: uint16_t ns3::GlobalRoutingLinkRecord::GetMetric() const [member function]
+ cls.add_method('GetMetric',
+ 'uint16_t',
+ [],
+ is_const=True)
+ ## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetMetric(uint16_t metric) [member function]
+ cls.add_method('SetMetric',
+ 'void',
+ [param('uint16_t', 'metric')])
+ return
+
+def register_Ns3GlobalRouter_methods(root_module, cls):
+ ## global-router-interface.h: static ns3::TypeId ns3::GlobalRouter::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## global-router-interface.h: ns3::GlobalRouter::GlobalRouter() [constructor]
+ cls.add_constructor([])
+ ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRouter::GetRouterId() const [member function]
+ cls.add_method('GetRouterId',
+ 'ns3::Ipv4Address',
+ [],
+ is_const=True)
+ ## global-router-interface.h: uint32_t ns3::GlobalRouter::DiscoverLSAs() [member function]
+ cls.add_method('DiscoverLSAs',
+ 'uint32_t',
+ [])
+ ## global-router-interface.h: uint32_t ns3::GlobalRouter::GetNumLSAs() const [member function]
+ cls.add_method('GetNumLSAs',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## global-router-interface.h: bool ns3::GlobalRouter::GetLSA(uint32_t n, ns3::GlobalRoutingLSA & lsa) const [member function]
+ cls.add_method('GetLSA',
+ 'bool',
+ [param('uint32_t', 'n'), param('ns3::GlobalRoutingLSA &', 'lsa')],
+ is_const=True)
+ ## global-router-interface.h: void ns3::GlobalRouter::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_internal(module.get_submodule('internal'), root_module)
+ register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
+ register_functions_ns3_Config(module.get_submodule('Config'), root_module)
+ register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
+ return
+
+def register_functions_ns3_internal(module, root_module):
+ return
+
+def register_functions_ns3_TimeStepPrecision(module, root_module):
+ return
+
+def register_functions_ns3_Config(module, root_module):
+ return
+
+def register_functions_ns3_olsr(module, root_module):
+ return
+
diff --git a/bindings/python/ns3_module_helper.py b/bindings/python/ns3_module_helper.py
new file mode 100644
index 000000000..4f4540086
--- /dev/null
+++ b/bindings/python/ns3_module_helper.py
@@ -0,0 +1,758 @@
+from pybindgen import Module, FileCodeSink, param, retval, cppclass
+
+def register_types(module):
+ root_module = module.get_root()
+
+ ## application-container.h: ns3::ApplicationContainer [class]
+ module.add_class('ApplicationContainer')
+ ## bridge-helper.h: ns3::BridgeHelper [class]
+ module.add_class('BridgeHelper', allow_subclassing=False)
+ ## csma-helper.h: ns3::CsmaHelper [class]
+ module.add_class('CsmaHelper', allow_subclassing=False)
+ ## internet-stack-helper.h: ns3::InternetStackHelper [class]
+ module.add_class('InternetStackHelper', allow_subclassing=False)
+ ## ipv4-address-helper.h: ns3::Ipv4AddressHelper [class]
+ module.add_class('Ipv4AddressHelper', allow_subclassing=False)
+ ## ipv4-interface-container.h: ns3::Ipv4InterfaceContainer [class]
+ module.add_class('Ipv4InterfaceContainer')
+ ## mobility-helper.h: ns3::MobilityHelper [class]
+ module.add_class('MobilityHelper', allow_subclassing=False)
+ ## net-device-container.h: ns3::NetDeviceContainer [class]
+ module.add_class('NetDeviceContainer')
+ ## node-container.h: ns3::NodeContainer [class]
+ module.add_class('NodeContainer')
+ ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper [class]
+ module.add_class('Ns2MobilityHelper', allow_subclassing=False)
+ ## olsr-helper.h: ns3::OlsrHelper [class]
+ module.add_class('OlsrHelper', allow_subclassing=False)
+ ## on-off-helper.h: ns3::OnOffHelper [class]
+ module.add_class('OnOffHelper', allow_subclassing=False)
+ ## packet-sink-helper.h: ns3::PacketSinkHelper [class]
+ module.add_class('PacketSinkHelper', allow_subclassing=False)
+ ## packet-socket-helper.h: ns3::PacketSocketHelper [class]
+ module.add_class('PacketSocketHelper', allow_subclassing=False)
+ ## point-to-point-helper.h: ns3::PointToPointHelper [class]
+ module.add_class('PointToPointHelper', allow_subclassing=False)
+ ## static-multicast-route-helper.h: ns3::StaticMulticastRouteHelper [class]
+ module.add_class('StaticMulticastRouteHelper', allow_subclassing=False)
+ ## udp-echo-helper.h: ns3::UdpEchoClientHelper [class]
+ module.add_class('UdpEchoClientHelper', allow_subclassing=False)
+ ## udp-echo-helper.h: ns3::UdpEchoServerHelper [class]
+ module.add_class('UdpEchoServerHelper', allow_subclassing=False)
+ ## wifi-helper.h: ns3::WifiHelper [class]
+ module.add_class('WifiHelper', allow_subclassing=False)
+
+ ## 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 TimeStepPrecision
+
+ nested_module = module.add_cpp_namespace('TimeStepPrecision')
+ register_types_ns3_TimeStepPrecision(nested_module)
+
+
+ ## 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 olsr
+
+ nested_module = module.add_cpp_namespace('olsr')
+ register_types_ns3_olsr(nested_module)
+
+
+def register_types_ns3_internal(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_TimeStepPrecision(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_Config(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_olsr(module):
+ root_module = module.get_root()
+
+
+def register_methods(root_module):
+ register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer'])
+ register_Ns3BridgeHelper_methods(root_module, root_module['ns3::BridgeHelper'])
+ register_Ns3CsmaHelper_methods(root_module, root_module['ns3::CsmaHelper'])
+ register_Ns3InternetStackHelper_methods(root_module, root_module['ns3::InternetStackHelper'])
+ register_Ns3Ipv4AddressHelper_methods(root_module, root_module['ns3::Ipv4AddressHelper'])
+ register_Ns3Ipv4InterfaceContainer_methods(root_module, root_module['ns3::Ipv4InterfaceContainer'])
+ register_Ns3MobilityHelper_methods(root_module, root_module['ns3::MobilityHelper'])
+ register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
+ register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
+ register_Ns3Ns2MobilityHelper_methods(root_module, root_module['ns3::Ns2MobilityHelper'])
+ register_Ns3OlsrHelper_methods(root_module, root_module['ns3::OlsrHelper'])
+ register_Ns3OnOffHelper_methods(root_module, root_module['ns3::OnOffHelper'])
+ register_Ns3PacketSinkHelper_methods(root_module, root_module['ns3::PacketSinkHelper'])
+ register_Ns3PacketSocketHelper_methods(root_module, root_module['ns3::PacketSocketHelper'])
+ register_Ns3PointToPointHelper_methods(root_module, root_module['ns3::PointToPointHelper'])
+ register_Ns3StaticMulticastRouteHelper_methods(root_module, root_module['ns3::StaticMulticastRouteHelper'])
+ register_Ns3UdpEchoClientHelper_methods(root_module, root_module['ns3::UdpEchoClientHelper'])
+ register_Ns3UdpEchoServerHelper_methods(root_module, root_module['ns3::UdpEchoServerHelper'])
+ register_Ns3WifiHelper_methods(root_module, root_module['ns3::WifiHelper'])
+ return
+
+def register_Ns3ApplicationContainer_methods(root_module, cls):
+ ## application-container.h: ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')])
+ ## application-container.h: ns3::ApplicationContainer::ApplicationContainer() [constructor]
+ cls.add_constructor([])
+ ## application-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ApplicationContainer::Begin() const [member function]
+ cls.add_method('Begin',
+ '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
+ [],
+ is_const=True)
+ ## application-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ApplicationContainer::End() const [member function]
+ cls.add_method('End',
+ '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
+ [],
+ is_const=True)
+ ## application-container.h: uint32_t ns3::ApplicationContainer::GetN() const [member function]
+ cls.add_method('GetN',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## application-container.h: ns3::Ptr ns3::ApplicationContainer::Get(uint32_t i) const [member function]
+ cls.add_method('Get',
+ 'ns3::Ptr< ns3::Application >',
+ [param('uint32_t', 'i')],
+ is_const=True)
+ ## application-container.h: void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function]
+ cls.add_method('Add',
+ 'void',
+ [param('ns3::ApplicationContainer', 'other')])
+ ## application-container.h: void ns3::ApplicationContainer::Add(ns3::Ptr application) [member function]
+ cls.add_method('Add',
+ 'void',
+ [param('ns3::Ptr< ns3::Application >', 'application')])
+ ## application-container.h: void ns3::ApplicationContainer::Start(ns3::Time start) [member function]
+ cls.add_method('Start',
+ 'void',
+ [param('ns3::Time', 'start')])
+ ## application-container.h: void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function]
+ cls.add_method('Stop',
+ 'void',
+ [param('ns3::Time', 'stop')])
+ return
+
+def register_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: 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')])
+ ## bridge-helper.h: ns3::NetDeviceContainer ns3::BridgeHelper::Install(ns3::Ptr node, ns3::NetDeviceContainer c) [member function]
+ cls.add_method('Install',
+ 'ns3::NetDeviceContainer',
+ [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::NetDeviceContainer', 'c')])
+ 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: 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::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::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::SetDeviceParameter(std::string n1, ns3::AttributeValue const & v1) [member function]
+ cls.add_method('SetDeviceParameter',
+ 'void',
+ [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')],
+ deprecated=True)
+ ## csma-helper.h: void ns3::CsmaHelper::SetChannelParameter(std::string n1, ns3::AttributeValue const & v1) [member function]
+ cls.add_method('SetChannelParameter',
+ 'void',
+ [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')],
+ deprecated=True)
+ ## csma-helper.h: static void ns3::CsmaHelper::EnablePcap(std::string filename, uint32_t nodeid, uint32_t deviceid) [member function]
+ cls.add_method('EnablePcap',
+ 'void',
+ [param('std::string', 'filename'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')],
+ is_static=True)
+ ## csma-helper.h: static void ns3::CsmaHelper::EnablePcap(std::string filename, ns3::NetDeviceContainer d) [member function]
+ cls.add_method('EnablePcap',
+ 'void',
+ [param('std::string', 'filename'), param('ns3::NetDeviceContainer', 'd')],
+ is_static=True)
+ ## csma-helper.h: static void ns3::CsmaHelper::EnablePcap(std::string filename, ns3::NodeContainer n) [member function]
+ cls.add_method('EnablePcap',
+ 'void',
+ [param('std::string', 'filename'), param('ns3::NodeContainer', 'n')],
+ is_static=True)
+ ## csma-helper.h: static void ns3::CsmaHelper::EnablePcapAll(std::string filename) [member function]
+ cls.add_method('EnablePcapAll',
+ 'void',
+ [param('std::string', 'filename')],
+ is_static=True)
+ ## csma-helper.h: static void ns3::CsmaHelper::EnableAscii(std::ostream & os, uint32_t nodeid, uint32_t deviceid) [member function]
+ cls.add_method('EnableAscii',
+ 'void',
+ [param('std::ostream &', 'os'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')],
+ is_static=True)
+ ## csma-helper.h: static void ns3::CsmaHelper::EnableAscii(std::ostream & os, ns3::NetDeviceContainer d) [member function]
+ cls.add_method('EnableAscii',
+ 'void',
+ [param('std::ostream &', 'os'), param('ns3::NetDeviceContainer', 'd')],
+ is_static=True)
+ ## csma-helper.h: static void ns3::CsmaHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function]
+ cls.add_method('EnableAscii',
+ 'void',
+ [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')],
+ is_static=True)
+ ## csma-helper.h: static void ns3::CsmaHelper::EnableAsciiAll(std::ostream & os) [member function]
+ cls.add_method('EnableAsciiAll',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_static=True)
+ ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::NodeContainer const & c) [member function]
+ cls.add_method('Install',
+ 'ns3::NetDeviceContainer',
+ [param('ns3::NodeContainer const &', 'c')])
+ ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::NodeContainer const & c, ns3::Ptr channel) [member function]
+ cls.add_method('Install',
+ 'ns3::NetDeviceContainer',
+ [param('ns3::NodeContainer const &', 'c'), param('ns3::Ptr< ns3::CsmaChannel >', 'channel')])
+ ## csma-helper.h: void ns3::CsmaHelper::InstallStar(ns3::Ptr hub, ns3::NodeContainer spokes, ns3::NetDeviceContainer & hubDevices, ns3::NetDeviceContainer & spokeDevices) [member function]
+ cls.add_method('InstallStar',
+ 'void',
+ [param('ns3::Ptr< ns3::Node >', 'hub'), param('ns3::NodeContainer', 'spokes'), param('ns3::NetDeviceContainer &', 'hubDevices'), param('ns3::NetDeviceContainer &', 'spokeDevices')])
+ return
+
+def register_Ns3InternetStackHelper_methods(root_module, cls):
+ ## internet-stack-helper.h: ns3::InternetStackHelper::InternetStackHelper(ns3::InternetStackHelper const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::InternetStackHelper const &', 'arg0')])
+ ## internet-stack-helper.h: ns3::InternetStackHelper::InternetStackHelper() [constructor]
+ cls.add_constructor([])
+ ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(ns3::NodeContainer c) [member function]
+ cls.add_method('Install',
+ 'void',
+ [param('ns3::NodeContainer', 'c')])
+ ## internet-stack-helper.h: void ns3::InternetStackHelper::SetNscStack(std::string soname) [member function]
+ cls.add_method('SetNscStack',
+ 'void',
+ [param('std::string', 'soname')])
+ ## internet-stack-helper.h: static void ns3::InternetStackHelper::EnablePcapAll(std::string filename) [member function]
+ cls.add_method('EnablePcapAll',
+ 'void',
+ [param('std::string', 'filename')],
+ is_static=True)
+ return
+
+def register_Ns3Ipv4AddressHelper_methods(root_module, cls):
+ ## ipv4-address-helper.h: ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4AddressHelper const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::Ipv4AddressHelper const &', 'arg0')])
+ ## ipv4-address-helper.h: ns3::Ipv4AddressHelper::Ipv4AddressHelper() [constructor]
+ cls.add_constructor([])
+ ## ipv4-address-helper.h: void ns3::Ipv4AddressHelper::SetBase(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [member function]
+ cls.add_method('SetBase',
+ 'void',
+ [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')])
+ ## ipv4-address-helper.h: ns3::Ipv4Address ns3::Ipv4AddressHelper::NewNetwork() [member function]
+ cls.add_method('NewNetwork',
+ 'ns3::Ipv4Address',
+ [])
+ ## ipv4-address-helper.h: ns3::Ipv4Address ns3::Ipv4AddressHelper::NewAddress() [member function]
+ cls.add_method('NewAddress',
+ 'ns3::Ipv4Address',
+ [])
+ ## ipv4-address-helper.h: ns3::Ipv4InterfaceContainer ns3::Ipv4AddressHelper::Assign(ns3::NetDeviceContainer const & c) [member function]
+ cls.add_method('Assign',
+ 'ns3::Ipv4InterfaceContainer',
+ [param('ns3::NetDeviceContainer const &', 'c')])
+ return
+
+def register_Ns3Ipv4InterfaceContainer_methods(root_module, cls):
+ ## ipv4-interface-container.h: ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer(ns3::Ipv4InterfaceContainer const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::Ipv4InterfaceContainer const &', 'arg0')])
+ ## ipv4-interface-container.h: ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer() [constructor]
+ cls.add_constructor([])
+ ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(ns3::Ipv4InterfaceContainer other) [member function]
+ cls.add_method('Add',
+ 'void',
+ [param('ns3::Ipv4InterfaceContainer', 'other')])
+ ## ipv4-interface-container.h: uint32_t ns3::Ipv4InterfaceContainer::GetN() const [member function]
+ cls.add_method('GetN',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## ipv4-interface-container.h: ns3::Ipv4Address ns3::Ipv4InterfaceContainer::GetAddress(uint32_t i) const [member function]
+ cls.add_method('GetAddress',
+ 'ns3::Ipv4Address',
+ [param('uint32_t', 'i')],
+ is_const=True)
+ ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::SetMetric(uint32_t i, uint16_t metric) [member function]
+ cls.add_method('SetMetric',
+ 'void',
+ [param('uint32_t', 'i'), param('uint16_t', 'metric')])
+ ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(ns3::Ptr ipv4, uint32_t interface) [member function]
+ cls.add_method('Add',
+ 'void',
+ [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')])
+ return
+
+def register_Ns3MobilityHelper_methods(root_module, cls):
+ ## mobility-helper.h: ns3::MobilityHelper::MobilityHelper(ns3::MobilityHelper const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::MobilityHelper const &', 'arg0')])
+ ## mobility-helper.h: ns3::MobilityHelper::MobilityHelper() [constructor]
+ cls.add_constructor([])
+ ## mobility-helper.h: void ns3::MobilityHelper::SetPositionAllocator(ns3::Ptr allocator) [member function]
+ cls.add_method('SetPositionAllocator',
+ 'void',
+ [param('ns3::Ptr< ns3::PositionAllocator >', 'allocator')])
+ ## mobility-helper.h: void ns3::MobilityHelper::SetPositionAllocator(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue(), std::string n8="", ns3::AttributeValue const & v8=ns3::EmptyAttributeValue(), std::string n9="", ns3::AttributeValue const & v9=ns3::EmptyAttributeValue()) [member function]
+ cls.add_method('SetPositionAllocator',
+ 'void',
+ [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n8', default_value='""'), param('ns3::AttributeValue const &', 'v8', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n9', default_value='""'), param('ns3::AttributeValue const &', 'v9', default_value='ns3::EmptyAttributeValue()')])
+ ## mobility-helper.h: void ns3::MobilityHelper::SetMobilityModel(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue(), std::string n8="", ns3::AttributeValue const & v8=ns3::EmptyAttributeValue(), std::string n9="", ns3::AttributeValue const & v9=ns3::EmptyAttributeValue()) [member function]
+ cls.add_method('SetMobilityModel',
+ 'void',
+ [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n8', default_value='""'), param('ns3::AttributeValue const &', 'v8', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n9', default_value='""'), param('ns3::AttributeValue const &', 'v9', default_value='ns3::EmptyAttributeValue()')])
+ ## mobility-helper.h: void ns3::MobilityHelper::PushReferenceMobilityModel(ns3::Ptr reference) [member function]
+ cls.add_method('PushReferenceMobilityModel',
+ 'void',
+ [param('ns3::Ptr< ns3::Object >', 'reference')])
+ ## mobility-helper.h: void ns3::MobilityHelper::PopReferenceMobilityModel() [member function]
+ cls.add_method('PopReferenceMobilityModel',
+ 'void',
+ [])
+ ## mobility-helper.h: std::string ns3::MobilityHelper::GetMobilityModelType() const [member function]
+ cls.add_method('GetMobilityModelType',
+ 'std::string',
+ [],
+ is_const=True)
+ ## mobility-helper.h: void ns3::MobilityHelper::Install(ns3::NodeContainer container) [member function]
+ cls.add_method('Install',
+ 'void',
+ [param('ns3::NodeContainer', 'container')])
+ ## mobility-helper.h: void ns3::MobilityHelper::InstallAll() [member function]
+ cls.add_method('InstallAll',
+ 'void',
+ [])
+ ## mobility-helper.h: static void ns3::MobilityHelper::EnableAscii(std::ostream & os, uint32_t nodeid) [member function]
+ cls.add_method('EnableAscii',
+ 'void',
+ [param('std::ostream &', 'os'), param('uint32_t', 'nodeid')],
+ is_static=True)
+ ## mobility-helper.h: static void ns3::MobilityHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function]
+ cls.add_method('EnableAscii',
+ 'void',
+ [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')],
+ is_static=True)
+ ## mobility-helper.h: static void ns3::MobilityHelper::EnableAsciiAll(std::ostream & os) [member function]
+ cls.add_method('EnableAsciiAll',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_static=True)
+ return
+
+def register_Ns3NetDeviceContainer_methods(root_module, cls):
+ ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')])
+ ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer() [constructor]
+ cls.add_constructor([])
+ ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr dev) [constructor]
+ cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')])
+ ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor]
+ cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')])
+ ## net-device-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NetDeviceContainer::Begin() const [member function]
+ cls.add_method('Begin',
+ '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
+ [],
+ is_const=True)
+ ## net-device-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NetDeviceContainer::End() const [member function]
+ cls.add_method('End',
+ '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
+ [],
+ is_const=True)
+ ## net-device-container.h: uint32_t ns3::NetDeviceContainer::GetN() const [member function]
+ cls.add_method('GetN',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## net-device-container.h: ns3::Ptr ns3::NetDeviceContainer::Get(uint32_t i) const [member function]
+ cls.add_method('Get',
+ 'ns3::Ptr< ns3::NetDevice >',
+ [param('uint32_t', 'i')],
+ is_const=True)
+ ## net-device-container.h: void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function]
+ cls.add_method('Add',
+ 'void',
+ [param('ns3::NetDeviceContainer', 'other')])
+ ## net-device-container.h: void ns3::NetDeviceContainer::Add(ns3::Ptr device) [member function]
+ cls.add_method('Add',
+ 'void',
+ [param('ns3::Ptr< ns3::NetDevice >', 'device')])
+ return
+
+def register_Ns3NodeContainer_methods(root_module, cls):
+ ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
+ ## node-container.h: ns3::NodeContainer::NodeContainer() [constructor]
+ cls.add_constructor([])
+ ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::Ptr node) [constructor]
+ cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
+ ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
+ cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
+ ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
+ cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
+ ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c, ns3::NodeContainer const & d) [constructor]
+ cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
+ ## node-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NodeContainer::Begin() const [member function]
+ cls.add_method('Begin',
+ '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
+ [],
+ is_const=True)
+ ## node-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NodeContainer::End() const [member function]
+ cls.add_method('End',
+ '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
+ [],
+ is_const=True)
+ ## node-container.h: uint32_t ns3::NodeContainer::GetN() const [member function]
+ cls.add_method('GetN',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## node-container.h: ns3::Ptr ns3::NodeContainer::Get(uint32_t i) const [member function]
+ cls.add_method('Get',
+ 'ns3::Ptr< ns3::Node >',
+ [param('uint32_t', 'i')],
+ is_const=True)
+ ## node-container.h: void ns3::NodeContainer::Create(uint32_t n) [member function]
+ cls.add_method('Create',
+ 'void',
+ [param('uint32_t', 'n')])
+ ## node-container.h: void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
+ cls.add_method('Add',
+ 'void',
+ [param('ns3::NodeContainer', 'other')])
+ ## node-container.h: void ns3::NodeContainer::Add(ns3::Ptr node) [member function]
+ cls.add_method('Add',
+ 'void',
+ [param('ns3::Ptr< ns3::Node >', 'node')])
+ ## node-container.h: static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
+ cls.add_method('GetGlobal',
+ 'ns3::NodeContainer',
+ [],
+ is_static=True)
+ return
+
+def register_Ns3Ns2MobilityHelper_methods(root_module, cls):
+ ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper::Ns2MobilityHelper(ns3::Ns2MobilityHelper const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::Ns2MobilityHelper const &', 'arg0')])
+ ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper::Ns2MobilityHelper(std::string filename) [constructor]
+ cls.add_constructor([param('std::string', 'filename')])
+ ## ns2-mobility-helper.h: void ns3::Ns2MobilityHelper::Install() const [member function]
+ cls.add_method('Install',
+ 'void',
+ [],
+ is_const=True)
+ return
+
+def register_Ns3OlsrHelper_methods(root_module, cls):
+ ## olsr-helper.h: ns3::OlsrHelper::OlsrHelper(ns3::OlsrHelper const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::OlsrHelper const &', 'arg0')])
+ ## olsr-helper.h: ns3::OlsrHelper::OlsrHelper() [constructor]
+ cls.add_constructor([])
+ ## olsr-helper.h: void ns3::OlsrHelper::SetAgent(std::string tid, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function]
+ cls.add_method('SetAgent',
+ 'void',
+ [param('std::string', 'tid'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')])
+ ## olsr-helper.h: void ns3::OlsrHelper::Install(ns3::NodeContainer container) [member function]
+ cls.add_method('Install',
+ 'void',
+ [param('ns3::NodeContainer', 'container')])
+ ## olsr-helper.h: void ns3::OlsrHelper::Install(ns3::Ptr node) [member function]
+ cls.add_method('Install',
+ 'void',
+ [param('ns3::Ptr< ns3::Node >', 'node')])
+ ## olsr-helper.h: void ns3::OlsrHelper::InstallAll() [member function]
+ cls.add_method('InstallAll',
+ 'void',
+ [])
+ return
+
+def register_Ns3OnOffHelper_methods(root_module, cls):
+ ## on-off-helper.h: ns3::OnOffHelper::OnOffHelper(ns3::OnOffHelper const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::OnOffHelper const &', 'arg0')])
+ ## on-off-helper.h: ns3::OnOffHelper::OnOffHelper(std::string protocol, ns3::Address address) [constructor]
+ cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')])
+ ## on-off-helper.h: void ns3::OnOffHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
+ cls.add_method('SetAttribute',
+ 'void',
+ [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
+ ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(ns3::NodeContainer c) [member function]
+ cls.add_method('Install',
+ 'ns3::ApplicationContainer',
+ [param('ns3::NodeContainer', 'c')])
+ return
+
+def register_Ns3PacketSinkHelper_methods(root_module, cls):
+ ## packet-sink-helper.h: ns3::PacketSinkHelper::PacketSinkHelper(ns3::PacketSinkHelper const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::PacketSinkHelper const &', 'arg0')])
+ ## packet-sink-helper.h: ns3::PacketSinkHelper::PacketSinkHelper(std::string protocol, ns3::Address address) [constructor]
+ cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')])
+ ## packet-sink-helper.h: void ns3::PacketSinkHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
+ cls.add_method('SetAttribute',
+ 'void',
+ [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
+ ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(ns3::NodeContainer c) [member function]
+ cls.add_method('Install',
+ 'ns3::ApplicationContainer',
+ [param('ns3::NodeContainer', 'c')])
+ return
+
+def register_Ns3PacketSocketHelper_methods(root_module, cls):
+ ## packet-socket-helper.h: ns3::PacketSocketHelper::PacketSocketHelper(ns3::PacketSocketHelper const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::PacketSocketHelper const &', 'arg0')])
+ ## packet-socket-helper.h: ns3::PacketSocketHelper::PacketSocketHelper() [constructor]
+ cls.add_constructor([])
+ ## packet-socket-helper.h: void ns3::PacketSocketHelper::Install(ns3::NodeContainer c) [member function]
+ cls.add_method('Install',
+ 'void',
+ [param('ns3::NodeContainer', 'c')])
+ 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: 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::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::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::SetDeviceParameter(std::string name, ns3::AttributeValue const & value) [member function]
+ cls.add_method('SetDeviceParameter',
+ 'void',
+ [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')],
+ deprecated=True)
+ ## point-to-point-helper.h: void ns3::PointToPointHelper::SetChannelParameter(std::string name, ns3::AttributeValue const & value) [member function]
+ cls.add_method('SetChannelParameter',
+ 'void',
+ [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')],
+ deprecated=True)
+ ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcap(std::string filename, uint32_t nodeid, uint32_t deviceid) [member function]
+ cls.add_method('EnablePcap',
+ 'void',
+ [param('std::string', 'filename'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')],
+ is_static=True)
+ ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcap(std::string filename, ns3::NetDeviceContainer d) [member function]
+ cls.add_method('EnablePcap',
+ 'void',
+ [param('std::string', 'filename'), param('ns3::NetDeviceContainer', 'd')],
+ is_static=True)
+ ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcap(std::string filename, ns3::NodeContainer n) [member function]
+ cls.add_method('EnablePcap',
+ 'void',
+ [param('std::string', 'filename'), param('ns3::NodeContainer', 'n')],
+ is_static=True)
+ ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcapAll(std::string filename) [member function]
+ cls.add_method('EnablePcapAll',
+ 'void',
+ [param('std::string', 'filename')],
+ is_static=True)
+ ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnableAscii(std::ostream & os, uint32_t nodeid, uint32_t deviceid) [member function]
+ cls.add_method('EnableAscii',
+ 'void',
+ [param('std::ostream &', 'os'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')],
+ is_static=True)
+ ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnableAscii(std::ostream & os, ns3::NetDeviceContainer d) [member function]
+ cls.add_method('EnableAscii',
+ 'void',
+ [param('std::ostream &', 'os'), param('ns3::NetDeviceContainer', 'd')],
+ is_static=True)
+ ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function]
+ cls.add_method('EnableAscii',
+ 'void',
+ [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')],
+ is_static=True)
+ ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnableAsciiAll(std::ostream & os) [member function]
+ cls.add_method('EnableAsciiAll',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_static=True)
+ ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::NodeContainer c) [member function]
+ cls.add_method('Install',
+ 'ns3::NetDeviceContainer',
+ [param('ns3::NodeContainer', 'c')])
+ ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr a, ns3::Ptr b) [member function]
+ cls.add_method('Install',
+ 'ns3::NetDeviceContainer',
+ [param('ns3::Ptr< ns3::Node >', 'a'), param('ns3::Ptr< ns3::Node >', 'b')])
+ ## point-to-point-helper.h: void ns3::PointToPointHelper::InstallStar(ns3::Ptr hub, ns3::NodeContainer spokes, ns3::NetDeviceContainer & hubDevices, ns3::NetDeviceContainer & spokeDevices) [member function]
+ cls.add_method('InstallStar',
+ 'void',
+ [param('ns3::Ptr< ns3::Node >', 'hub'), param('ns3::NodeContainer', 'spokes'), param('ns3::NetDeviceContainer &', 'hubDevices'), param('ns3::NetDeviceContainer &', 'spokeDevices')])
+ return
+
+def register_Ns3StaticMulticastRouteHelper_methods(root_module, cls):
+ ## static-multicast-route-helper.h: ns3::StaticMulticastRouteHelper::StaticMulticastRouteHelper(ns3::StaticMulticastRouteHelper const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::StaticMulticastRouteHelper const &', 'arg0')])
+ ## static-multicast-route-helper.h: ns3::StaticMulticastRouteHelper::StaticMulticastRouteHelper() [constructor]
+ cls.add_constructor([])
+ ## static-multicast-route-helper.h: void ns3::StaticMulticastRouteHelper::AddMulticastRoute(ns3::Ptr arg0, ns3::Ipv4Address source, ns3::Ipv4Address group, ns3::Ptr input, ns3::NetDeviceContainer output) [member function]
+ cls.add_method('AddMulticastRoute',
+ 'void',
+ [param('ns3::Ptr< ns3::Node >', 'arg0'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'group'), param('ns3::Ptr< ns3::NetDevice >', 'input'), param('ns3::NetDeviceContainer', 'output')])
+ ## static-multicast-route-helper.h: void ns3::StaticMulticastRouteHelper::SetDefaultMulticastRoute(ns3::Ptr n, ns3::Ptr nd) [member function]
+ cls.add_method('SetDefaultMulticastRoute',
+ 'void',
+ [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ptr< ns3::NetDevice >', 'nd')])
+ ## static-multicast-route-helper.h: void ns3::StaticMulticastRouteHelper::JoinMulticastGroup(ns3::Ptr n, ns3::Ipv4Address source, ns3::Ipv4Address group) [member function]
+ cls.add_method('JoinMulticastGroup',
+ 'void',
+ [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'group')])
+ return
+
+def register_Ns3UdpEchoClientHelper_methods(root_module, cls):
+ ## udp-echo-helper.h: ns3::UdpEchoClientHelper::UdpEchoClientHelper(ns3::UdpEchoClientHelper const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::UdpEchoClientHelper const &', 'arg0')])
+ ## udp-echo-helper.h: ns3::UdpEchoClientHelper::UdpEchoClientHelper(ns3::Ipv4Address ip, uint16_t port) [constructor]
+ cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')])
+ ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
+ cls.add_method('SetAttribute',
+ 'void',
+ [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
+ ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(ns3::NodeContainer c) [member function]
+ cls.add_method('Install',
+ 'ns3::ApplicationContainer',
+ [param('ns3::NodeContainer', 'c')])
+ return
+
+def register_Ns3UdpEchoServerHelper_methods(root_module, cls):
+ ## udp-echo-helper.h: ns3::UdpEchoServerHelper::UdpEchoServerHelper(ns3::UdpEchoServerHelper const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::UdpEchoServerHelper const &', 'arg0')])
+ ## udp-echo-helper.h: ns3::UdpEchoServerHelper::UdpEchoServerHelper(uint16_t port) [constructor]
+ cls.add_constructor([param('uint16_t', 'port')])
+ ## udp-echo-helper.h: void ns3::UdpEchoServerHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
+ cls.add_method('SetAttribute',
+ 'void',
+ [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
+ ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(ns3::NodeContainer c) [member function]
+ cls.add_method('Install',
+ 'ns3::ApplicationContainer',
+ [param('ns3::NodeContainer', 'c')])
+ return
+
+def register_Ns3WifiHelper_methods(root_module, cls):
+ ## wifi-helper.h: ns3::WifiHelper::WifiHelper(ns3::WifiHelper const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::WifiHelper const &', 'arg0')])
+ ## wifi-helper.h: ns3::WifiHelper::WifiHelper() [constructor]
+ cls.add_constructor([])
+ ## wifi-helper.h: void ns3::WifiHelper::SetRemoteStationManager(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function]
+ cls.add_method('SetRemoteStationManager',
+ 'void',
+ [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')])
+ ## wifi-helper.h: void ns3::WifiHelper::SetMac(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function]
+ cls.add_method('SetMac',
+ 'void',
+ [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')])
+ ## wifi-helper.h: void ns3::WifiHelper::SetPhyAttribute(std::string n0, ns3::AttributeValue const & v0) [member function]
+ cls.add_method('SetPhyAttribute',
+ 'void',
+ [param('std::string', 'n0'), param('ns3::AttributeValue const &', 'v0')])
+ ## wifi-helper.h: static void ns3::WifiHelper::EnablePcap(std::string filename, uint32_t nodeid, uint32_t deviceid) [member function]
+ cls.add_method('EnablePcap',
+ 'void',
+ [param('std::string', 'filename'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')],
+ is_static=True)
+ ## wifi-helper.h: static void ns3::WifiHelper::EnablePcap(std::string filename, ns3::NetDeviceContainer d) [member function]
+ cls.add_method('EnablePcap',
+ 'void',
+ [param('std::string', 'filename'), param('ns3::NetDeviceContainer', 'd')],
+ is_static=True)
+ ## wifi-helper.h: static void ns3::WifiHelper::EnablePcap(std::string filename, ns3::NodeContainer n) [member function]
+ cls.add_method('EnablePcap',
+ 'void',
+ [param('std::string', 'filename'), param('ns3::NodeContainer', 'n')],
+ is_static=True)
+ ## wifi-helper.h: static void ns3::WifiHelper::EnablePcapAll(std::string filename) [member function]
+ cls.add_method('EnablePcapAll',
+ 'void',
+ [param('std::string', 'filename')],
+ is_static=True)
+ ## wifi-helper.h: static void ns3::WifiHelper::EnableAscii(std::ostream & os, uint32_t nodeid, uint32_t deviceid) [member function]
+ cls.add_method('EnableAscii',
+ 'void',
+ [param('std::ostream &', 'os'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')],
+ is_static=True)
+ ## wifi-helper.h: static void ns3::WifiHelper::EnableAscii(std::ostream & os, ns3::NetDeviceContainer d) [member function]
+ cls.add_method('EnableAscii',
+ 'void',
+ [param('std::ostream &', 'os'), param('ns3::NetDeviceContainer', 'd')],
+ is_static=True)
+ ## wifi-helper.h: static void ns3::WifiHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function]
+ cls.add_method('EnableAscii',
+ 'void',
+ [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')],
+ is_static=True)
+ ## wifi-helper.h: static void ns3::WifiHelper::EnableAsciiAll(std::ostream & os) [member function]
+ cls.add_method('EnableAsciiAll',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_static=True)
+ ## wifi-helper.h: ns3::NetDeviceContainer ns3::WifiHelper::Install(ns3::NodeContainer c) const [member function]
+ cls.add_method('Install',
+ 'ns3::NetDeviceContainer',
+ [param('ns3::NodeContainer', 'c')],
+ is_const=True)
+ ## wifi-helper.h: ns3::NetDeviceContainer ns3::WifiHelper::Install(ns3::NodeContainer c, ns3::Ptr channel) const [member function]
+ cls.add_method('Install',
+ 'ns3::NetDeviceContainer',
+ [param('ns3::NodeContainer', 'c'), param('ns3::Ptr< ns3::WifiChannel >', 'channel')],
+ is_const=True)
+ return
+
+def register_functions(root_module):
+ module = root_module
+ register_functions_ns3_internal(module.get_submodule('internal'), root_module)
+ register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
+ register_functions_ns3_Config(module.get_submodule('Config'), root_module)
+ register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
+ return
+
+def register_functions_ns3_internal(module, root_module):
+ return
+
+def register_functions_ns3_TimeStepPrecision(module, root_module):
+ return
+
+def register_functions_ns3_Config(module, root_module):
+ return
+
+def register_functions_ns3_olsr(module, root_module):
+ return
+
diff --git a/bindings/python/ns3_module_internet_stack.py b/bindings/python/ns3_module_internet_stack.py
new file mode 100644
index 000000000..439307348
--- /dev/null
+++ b/bindings/python/ns3_module_internet_stack.py
@@ -0,0 +1,662 @@
+from pybindgen import Module, FileCodeSink, param, retval, cppclass
+
+def register_types(module):
+ root_module = module.get_root()
+
+ ## tcp-header.h: ns3::TcpHeader [class]
+ module.add_class('TcpHeader', parent=root_module['ns3::Header'])
+ ## tcp-header.h: ns3::TcpHeader::Flags_t [enumeration]
+ module.add_enum('Flags_t', ['NONE', 'FIN', 'SYN', 'RST', 'PSH', 'ACK', 'URG'], outer_class=root_module['ns3::TcpHeader'])
+ ## udp-header.h: ns3::UdpHeader [class]
+ module.add_class('UdpHeader', parent=root_module['ns3::Header'])
+ ## ipv4-interface.h: ns3::Ipv4Interface [class]
+ module.add_class('Ipv4Interface', parent=root_module['ns3::Object'])
+ ## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol [class]
+ module.add_class('Ipv4L3Protocol', parent=root_module['ns3::Object'])
+ ## ipv4-static-routing.h: ns3::Ipv4StaticRouting [class]
+ module.add_class('Ipv4StaticRouting', parent=root_module['ns3::Ipv4RoutingProtocol'])
+
+ ## 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 TimeStepPrecision
+
+ nested_module = module.add_cpp_namespace('TimeStepPrecision')
+ register_types_ns3_TimeStepPrecision(nested_module)
+
+
+ ## 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 olsr
+
+ nested_module = module.add_cpp_namespace('olsr')
+ register_types_ns3_olsr(nested_module)
+
+
+def register_types_ns3_internal(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_TimeStepPrecision(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_Config(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_olsr(module):
+ root_module = module.get_root()
+
+
+def register_methods(root_module):
+ register_Ns3TcpHeader_methods(root_module, root_module['ns3::TcpHeader'])
+ register_Ns3UdpHeader_methods(root_module, root_module['ns3::UdpHeader'])
+ register_Ns3Ipv4Interface_methods(root_module, root_module['ns3::Ipv4Interface'])
+ register_Ns3Ipv4L3Protocol_methods(root_module, root_module['ns3::Ipv4L3Protocol'])
+ register_Ns3Ipv4StaticRouting_methods(root_module, root_module['ns3::Ipv4StaticRouting'])
+ return
+
+def register_Ns3TcpHeader_methods(root_module, cls):
+ ## tcp-header.h: ns3::TcpHeader::TcpHeader(ns3::TcpHeader const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::TcpHeader const &', 'arg0')])
+ ## tcp-header.h: ns3::TcpHeader::TcpHeader() [constructor]
+ cls.add_constructor([])
+ ## tcp-header.h: void ns3::TcpHeader::EnableChecksums() [member function]
+ cls.add_method('EnableChecksums',
+ 'void',
+ [])
+ ## tcp-header.h: void ns3::TcpHeader::SetSourcePort(uint16_t port) [member function]
+ cls.add_method('SetSourcePort',
+ 'void',
+ [param('uint16_t', 'port')])
+ ## tcp-header.h: void ns3::TcpHeader::SetDestinationPort(uint16_t port) [member function]
+ cls.add_method('SetDestinationPort',
+ 'void',
+ [param('uint16_t', 'port')])
+ ## tcp-header.h: void ns3::TcpHeader::SetSequenceNumber(SequenceNumber sequenceNumber) [member function]
+ cls.add_method('SetSequenceNumber',
+ 'void',
+ [param('SequenceNumber', 'sequenceNumber')])
+ ## tcp-header.h: void ns3::TcpHeader::SetAckNumber(SequenceNumber ackNumber) [member function]
+ cls.add_method('SetAckNumber',
+ 'void',
+ [param('SequenceNumber', 'ackNumber')])
+ ## tcp-header.h: void ns3::TcpHeader::SetLength(uint8_t length) [member function]
+ cls.add_method('SetLength',
+ 'void',
+ [param('uint8_t', 'length')])
+ ## tcp-header.h: void ns3::TcpHeader::SetFlags(uint8_t flags) [member function]
+ cls.add_method('SetFlags',
+ 'void',
+ [param('uint8_t', 'flags')])
+ ## tcp-header.h: void ns3::TcpHeader::SetWindowSize(uint16_t windowSize) [member function]
+ cls.add_method('SetWindowSize',
+ 'void',
+ [param('uint16_t', 'windowSize')])
+ ## tcp-header.h: void ns3::TcpHeader::SetUrgentPointer(uint16_t urgentPointer) [member function]
+ cls.add_method('SetUrgentPointer',
+ 'void',
+ [param('uint16_t', 'urgentPointer')])
+ ## tcp-header.h: uint16_t ns3::TcpHeader::GetSourcePort() const [member function]
+ cls.add_method('GetSourcePort',
+ 'uint16_t',
+ [],
+ is_const=True)
+ ## tcp-header.h: uint16_t ns3::TcpHeader::GetDestinationPort() const [member function]
+ cls.add_method('GetDestinationPort',
+ 'uint16_t',
+ [],
+ is_const=True)
+ ## tcp-header.h: SequenceNumber ns3::TcpHeader::GetSequenceNumber() const [member function]
+ cls.add_method('GetSequenceNumber',
+ 'SequenceNumber',
+ [],
+ is_const=True)
+ ## tcp-header.h: SequenceNumber ns3::TcpHeader::GetAckNumber() const [member function]
+ cls.add_method('GetAckNumber',
+ 'SequenceNumber',
+ [],
+ is_const=True)
+ ## tcp-header.h: uint8_t ns3::TcpHeader::GetLength() const [member function]
+ cls.add_method('GetLength',
+ 'uint8_t',
+ [],
+ is_const=True)
+ ## tcp-header.h: uint8_t ns3::TcpHeader::GetFlags() const [member function]
+ cls.add_method('GetFlags',
+ 'uint8_t',
+ [],
+ is_const=True)
+ ## tcp-header.h: uint16_t ns3::TcpHeader::GetWindowSize() const [member function]
+ cls.add_method('GetWindowSize',
+ 'uint16_t',
+ [],
+ is_const=True)
+ ## tcp-header.h: uint16_t ns3::TcpHeader::GetUrgentPointer() const [member function]
+ cls.add_method('GetUrgentPointer',
+ 'uint16_t',
+ [],
+ is_const=True)
+ ## tcp-header.h: void ns3::TcpHeader::InitializeChecksum(ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol) [member function]
+ cls.add_method('InitializeChecksum',
+ 'void',
+ [param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol')])
+ ## tcp-header.h: static ns3::TypeId ns3::TcpHeader::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## tcp-header.h: ns3::TypeId ns3::TcpHeader::GetInstanceTypeId() const [member function]
+ cls.add_method('GetInstanceTypeId',
+ 'ns3::TypeId',
+ [],
+ is_const=True, is_virtual=True)
+ ## tcp-header.h: void ns3::TcpHeader::Print(std::ostream & os) const [member function]
+ cls.add_method('Print',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_const=True, is_virtual=True)
+ ## tcp-header.h: uint32_t ns3::TcpHeader::GetSerializedSize() const [member function]
+ cls.add_method('GetSerializedSize',
+ 'uint32_t',
+ [],
+ is_const=True, is_virtual=True)
+ ## tcp-header.h: void ns3::TcpHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
+ cls.add_method('Serialize',
+ 'void',
+ [param('ns3::Buffer::Iterator', 'start')],
+ is_const=True, is_virtual=True)
+ ## tcp-header.h: uint32_t ns3::TcpHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
+ cls.add_method('Deserialize',
+ 'uint32_t',
+ [param('ns3::Buffer::Iterator', 'start')],
+ is_virtual=True)
+ ## tcp-header.h: bool ns3::TcpHeader::IsChecksumOk() const [member function]
+ cls.add_method('IsChecksumOk',
+ 'bool',
+ [],
+ is_const=True)
+ return
+
+def register_Ns3UdpHeader_methods(root_module, cls):
+ ## udp-header.h: ns3::UdpHeader::UdpHeader(ns3::UdpHeader const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::UdpHeader const &', 'arg0')])
+ ## udp-header.h: ns3::UdpHeader::UdpHeader() [constructor]
+ cls.add_constructor([])
+ ## udp-header.h: void ns3::UdpHeader::EnableChecksums() [member function]
+ cls.add_method('EnableChecksums',
+ 'void',
+ [])
+ ## udp-header.h: void ns3::UdpHeader::SetDestinationPort(uint16_t port) [member function]
+ cls.add_method('SetDestinationPort',
+ 'void',
+ [param('uint16_t', 'port')])
+ ## udp-header.h: void ns3::UdpHeader::SetSourcePort(uint16_t port) [member function]
+ cls.add_method('SetSourcePort',
+ 'void',
+ [param('uint16_t', 'port')])
+ ## udp-header.h: uint16_t ns3::UdpHeader::GetSourcePort() const [member function]
+ cls.add_method('GetSourcePort',
+ 'uint16_t',
+ [],
+ is_const=True)
+ ## udp-header.h: uint16_t ns3::UdpHeader::GetDestinationPort() const [member function]
+ cls.add_method('GetDestinationPort',
+ 'uint16_t',
+ [],
+ is_const=True)
+ ## udp-header.h: void ns3::UdpHeader::InitializeChecksum(ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol) [member function]
+ cls.add_method('InitializeChecksum',
+ 'void',
+ [param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol')])
+ ## udp-header.h: static ns3::TypeId ns3::UdpHeader::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## udp-header.h: ns3::TypeId ns3::UdpHeader::GetInstanceTypeId() const [member function]
+ cls.add_method('GetInstanceTypeId',
+ 'ns3::TypeId',
+ [],
+ is_const=True, is_virtual=True)
+ ## udp-header.h: void ns3::UdpHeader::Print(std::ostream & os) const [member function]
+ cls.add_method('Print',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_const=True, is_virtual=True)
+ ## udp-header.h: uint32_t ns3::UdpHeader::GetSerializedSize() const [member function]
+ cls.add_method('GetSerializedSize',
+ 'uint32_t',
+ [],
+ is_const=True, is_virtual=True)
+ ## udp-header.h: void ns3::UdpHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
+ cls.add_method('Serialize',
+ 'void',
+ [param('ns3::Buffer::Iterator', 'start')],
+ is_const=True, is_virtual=True)
+ ## udp-header.h: uint32_t ns3::UdpHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
+ cls.add_method('Deserialize',
+ 'uint32_t',
+ [param('ns3::Buffer::Iterator', 'start')],
+ is_virtual=True)
+ ## udp-header.h: bool ns3::UdpHeader::IsChecksumOk() const [member function]
+ cls.add_method('IsChecksumOk',
+ 'bool',
+ [],
+ is_const=True)
+ return
+
+def register_Ns3Ipv4Interface_methods(root_module, cls):
+ ## ipv4-interface.h: ns3::Ipv4Interface::Ipv4Interface(ns3::Ipv4Interface const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::Ipv4Interface const &', 'arg0')])
+ ## ipv4-interface.h: static ns3::TypeId ns3::Ipv4Interface::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## ipv4-interface.h: ns3::Ipv4Interface::Ipv4Interface() [constructor]
+ cls.add_constructor([])
+ ## ipv4-interface.h: ns3::Ptr ns3::Ipv4Interface::GetDevice() const [member function]
+ cls.add_method('GetDevice',
+ 'ns3::Ptr< ns3::NetDevice >',
+ [],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## ipv4-interface.h: void ns3::Ipv4Interface::SetAddress(ns3::Ipv4Address a) [member function]
+ cls.add_method('SetAddress',
+ 'void',
+ [param('ns3::Ipv4Address', 'a')])
+ ## ipv4-interface.h: void ns3::Ipv4Interface::SetNetworkMask(ns3::Ipv4Mask mask) [member function]
+ cls.add_method('SetNetworkMask',
+ 'void',
+ [param('ns3::Ipv4Mask', 'mask')])
+ ## ipv4-interface.h: ns3::Ipv4Address ns3::Ipv4Interface::GetBroadcast() const [member function]
+ cls.add_method('GetBroadcast',
+ 'ns3::Ipv4Address',
+ [],
+ is_const=True)
+ ## ipv4-interface.h: ns3::Ipv4Mask ns3::Ipv4Interface::GetNetworkMask() const [member function]
+ cls.add_method('GetNetworkMask',
+ 'ns3::Ipv4Mask',
+ [],
+ is_const=True)
+ ## ipv4-interface.h: void ns3::Ipv4Interface::SetMetric(uint16_t metric) [member function]
+ cls.add_method('SetMetric',
+ 'void',
+ [param('uint16_t', 'metric')])
+ ## ipv4-interface.h: uint16_t ns3::Ipv4Interface::GetMetric() const [member function]
+ cls.add_method('GetMetric',
+ 'uint16_t',
+ [],
+ is_const=True)
+ ## ipv4-interface.h: ns3::Ipv4Address ns3::Ipv4Interface::GetAddress() const [member function]
+ cls.add_method('GetAddress',
+ 'ns3::Ipv4Address',
+ [],
+ is_const=True)
+ ## ipv4-interface.h: uint16_t ns3::Ipv4Interface::GetMtu() const [member function]
+ cls.add_method('GetMtu',
+ 'uint16_t',
+ [],
+ is_const=True)
+ ## ipv4-interface.h: bool ns3::Ipv4Interface::IsUp() const [member function]
+ cls.add_method('IsUp',
+ 'bool',
+ [],
+ is_const=True)
+ ## ipv4-interface.h: bool ns3::Ipv4Interface::IsDown() const [member function]
+ cls.add_method('IsDown',
+ 'bool',
+ [],
+ is_const=True)
+ ## ipv4-interface.h: void ns3::Ipv4Interface::SetUp() [member function]
+ cls.add_method('SetUp',
+ 'void',
+ [])
+ ## ipv4-interface.h: void ns3::Ipv4Interface::SetDown() [member function]
+ cls.add_method('SetDown',
+ 'void',
+ [])
+ ## ipv4-interface.h: void ns3::Ipv4Interface::Send(ns3::Ptr p, ns3::Ipv4Address dest) [member function]
+ cls.add_method('Send',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Address', 'dest')])
+ ## ipv4-interface.h: void ns3::Ipv4Interface::DoDispose() [member function]
+ cls.add_method('DoDispose',
+ 'void',
+ [],
+ visibility='protected', is_virtual=True)
+ ## ipv4-interface.h: void ns3::Ipv4Interface::SendTo(ns3::Ptr p, ns3::Ipv4Address dest) [member function]
+ cls.add_method('SendTo',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Address', 'dest')],
+ is_pure_virtual=True, visibility='private', is_virtual=True)
+ return
+
+def register_Ns3Ipv4L3Protocol_methods(root_module, cls):
+ ## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol::PROT_NUMBER [variable]
+ cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
+ ## ipv4-l3-protocol.h: static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor]
+ cls.add_constructor([])
+ ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function]
+ cls.add_method('SetNode',
+ 'void',
+ [param('ns3::Ptr< ns3::Node >', 'node')])
+ ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function]
+ cls.add_method('Insert',
+ 'void',
+ [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')])
+ ## ipv4-l3-protocol.h: ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function]
+ cls.add_method('GetProtocol',
+ 'ns3::Ptr< ns3::Ipv4L4Protocol >',
+ [param('int', 'protocolNumber')],
+ is_const=True)
+ ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function]
+ cls.add_method('Remove',
+ 'void',
+ [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')])
+ ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function]
+ cls.add_method('SetDefaultTtl',
+ 'void',
+ [param('uint8_t', 'ttl')])
+ ## ipv4-l3-protocol.h: ns3::Ptr ns3::Ipv4L3Protocol::FindInterfaceForDevice(ns3::Ptr device) [member function]
+ cls.add_method('FindInterfaceForDevice',
+ 'ns3::Ptr< ns3::Ipv4Interface >',
+ [param('ns3::Ptr< ns3::NetDevice const >', 'device')])
+ ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::Receive(ns3::Ptr device, ns3::Ptr p, uint16_t protocol, ns3::Address const & from, ns3::Address const & to, ns3::NetDevice::PacketType packetType) [member function]
+ cls.add_method('Receive',
+ 'void',
+ [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'p'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'from'), param('ns3::Address const &', 'to'), param('ns3::NetDevice::PacketType', 'packetType')])
+ ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol) [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')])
+ ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::AddHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
+ cls.add_method('AddHostRouteTo',
+ 'void',
+ [param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')])
+ ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::AddHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function]
+ cls.add_method('AddHostRouteTo',
+ 'void',
+ [param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')])
+ ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
+ cls.add_method('AddNetworkRouteTo',
+ 'void',
+ [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')])
+ ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function]
+ cls.add_method('AddNetworkRouteTo',
+ 'void',
+ [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')])
+ ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function]
+ cls.add_method('SetDefaultRoute',
+ 'void',
+ [param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')])
+ ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::Lookup(ns3::Ipv4Header const & ipHeader, ns3::Ptr