author | Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
Sat, 04 Jul 2009 08:15:48 +0200 | |
changeset 4654 | 2eaebe77d66b |
parent 4589 | c9374dcfd09a |
permissions | -rw-r--r-- |
4474
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
1 |
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers |
3408 | 2 |
|
3 |
def register_types(module): |
|
4 |
root_module = module.get_root() |
|
5 |
||
3861
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
6 |
## ppp-header.h: ns3::PppHeader [class] |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
7 |
module.add_class('PppHeader', parent=root_module['ns3::Header']) |
3408 | 8 |
## point-to-point-channel.h: ns3::PointToPointChannel [class] |
3457 | 9 |
module.add_class('PointToPointChannel', parent=root_module['ns3::Channel']) |
3408 | 10 |
## point-to-point-net-device.h: ns3::PointToPointNetDevice [class] |
3457 | 11 |
module.add_class('PointToPointNetDevice', parent=root_module['ns3::NetDevice']) |
3408 | 12 |
|
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3842
diff
changeset
|
13 |
## Register a nested module for the namespace Config |
3408 | 14 |
|
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3842
diff
changeset
|
15 |
nested_module = module.add_cpp_namespace('Config') |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3842
diff
changeset
|
16 |
register_types_ns3_Config(nested_module) |
3408 | 17 |
|
18 |
||
19 |
## Register a nested module for the namespace TimeStepPrecision |
|
20 |
||
21 |
nested_module = module.add_cpp_namespace('TimeStepPrecision') |
|
22 |
register_types_ns3_TimeStepPrecision(nested_module) |
|
23 |
||
24 |
||
4474
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
25 |
## Register a nested module for the namespace addressUtils |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
26 |
|
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
27 |
nested_module = module.add_cpp_namespace('addressUtils') |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
28 |
register_types_ns3_addressUtils(nested_module) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
29 |
|
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
30 |
|
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3842
diff
changeset
|
31 |
## Register a nested module for the namespace internal |
3408 | 32 |
|
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3842
diff
changeset
|
33 |
nested_module = module.add_cpp_namespace('internal') |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3842
diff
changeset
|
34 |
register_types_ns3_internal(nested_module) |
3408 | 35 |
|
36 |
||
37 |
## Register a nested module for the namespace olsr |
|
38 |
||
39 |
nested_module = module.add_cpp_namespace('olsr') |
|
40 |
register_types_ns3_olsr(nested_module) |
|
41 |
||
42 |
||
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3842
diff
changeset
|
43 |
def register_types_ns3_Config(module): |
3408 | 44 |
root_module = module.get_root() |
45 |
||
46 |
||
47 |
def register_types_ns3_TimeStepPrecision(module): |
|
48 |
root_module = module.get_root() |
|
49 |
||
50 |
||
4474
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
51 |
def register_types_ns3_addressUtils(module): |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
52 |
root_module = module.get_root() |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
53 |
|
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
54 |
|
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3842
diff
changeset
|
55 |
def register_types_ns3_internal(module): |
3408 | 56 |
root_module = module.get_root() |
57 |
||
58 |
||
59 |
def register_types_ns3_olsr(module): |
|
60 |
root_module = module.get_root() |
|
61 |
||
62 |
||
63 |
def register_methods(root_module): |
|
3861
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
64 |
register_Ns3PppHeader_methods(root_module, root_module['ns3::PppHeader']) |
3408 | 65 |
register_Ns3PointToPointChannel_methods(root_module, root_module['ns3::PointToPointChannel']) |
66 |
register_Ns3PointToPointNetDevice_methods(root_module, root_module['ns3::PointToPointNetDevice']) |
|
67 |
return |
|
68 |
||
3861
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
69 |
def register_Ns3PppHeader_methods(root_module, cls): |
4241
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
70 |
## ppp-header.h: ns3::PppHeader::PppHeader(ns3::PppHeader const & arg0) [copy constructor] |
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
71 |
cls.add_constructor([param('ns3::PppHeader const &', 'arg0')]) |
3861
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
72 |
## ppp-header.h: ns3::PppHeader::PppHeader() [constructor] |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
73 |
cls.add_constructor([]) |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
74 |
## ppp-header.h: static ns3::TypeId ns3::PppHeader::GetTypeId() [member function] |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
75 |
cls.add_method('GetTypeId', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
76 |
'ns3::TypeId', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
77 |
[], |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
78 |
is_static=True) |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
79 |
## ppp-header.h: ns3::TypeId ns3::PppHeader::GetInstanceTypeId() const [member function] |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
80 |
cls.add_method('GetInstanceTypeId', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
81 |
'ns3::TypeId', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
82 |
[], |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
83 |
is_const=True, is_virtual=True) |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
84 |
## ppp-header.h: void ns3::PppHeader::Print(std::ostream & os) const [member function] |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
85 |
cls.add_method('Print', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
86 |
'void', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
87 |
[param('std::ostream &', 'os')], |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
88 |
is_const=True, is_virtual=True) |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
89 |
## ppp-header.h: void ns3::PppHeader::Serialize(ns3::Buffer::Iterator start) const [member function] |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
90 |
cls.add_method('Serialize', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
91 |
'void', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
92 |
[param('ns3::Buffer::Iterator', 'start')], |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
93 |
is_const=True, is_virtual=True) |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
94 |
## ppp-header.h: uint32_t ns3::PppHeader::Deserialize(ns3::Buffer::Iterator start) [member function] |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
95 |
cls.add_method('Deserialize', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
96 |
'uint32_t', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
97 |
[param('ns3::Buffer::Iterator', 'start')], |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
98 |
is_virtual=True) |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
99 |
## ppp-header.h: uint32_t ns3::PppHeader::GetSerializedSize() const [member function] |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
100 |
cls.add_method('GetSerializedSize', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
101 |
'uint32_t', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
102 |
[], |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
103 |
is_const=True, is_virtual=True) |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
104 |
return |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
105 |
|
3408 | 106 |
def register_Ns3PointToPointChannel_methods(root_module, cls): |
4241
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
107 |
## point-to-point-channel.h: ns3::PointToPointChannel::PointToPointChannel(ns3::PointToPointChannel const & arg0) [copy constructor] |
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
108 |
cls.add_constructor([param('ns3::PointToPointChannel const &', 'arg0')]) |
3408 | 109 |
## point-to-point-channel.h: static ns3::TypeId ns3::PointToPointChannel::GetTypeId() [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
110 |
cls.add_method('GetTypeId', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
111 |
'ns3::TypeId', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
112 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
113 |
is_static=True) |
3408 | 114 |
## point-to-point-channel.h: ns3::PointToPointChannel::PointToPointChannel() [constructor] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
115 |
cls.add_constructor([]) |
3408 | 116 |
## point-to-point-channel.h: void ns3::PointToPointChannel::Attach(ns3::Ptr<ns3::PointToPointNetDevice> device) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
117 |
cls.add_method('Attach', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
118 |
'void', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
119 |
[param('ns3::Ptr< ns3::PointToPointNetDevice >', 'device')]) |
3408 | 120 |
## point-to-point-channel.h: bool ns3::PointToPointChannel::TransmitStart(ns3::Ptr<ns3::Packet> p, ns3::Ptr<ns3::PointToPointNetDevice> src, ns3::Time txTime) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
121 |
cls.add_method('TransmitStart', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
122 |
'bool', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
123 |
[param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ptr< ns3::PointToPointNetDevice >', 'src'), param('ns3::Time', 'txTime')]) |
3408 | 124 |
## point-to-point-channel.h: uint32_t ns3::PointToPointChannel::GetNDevices() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
125 |
cls.add_method('GetNDevices', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
126 |
'uint32_t', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
127 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
128 |
is_const=True, is_virtual=True) |
3408 | 129 |
## point-to-point-channel.h: ns3::Ptr<ns3::PointToPointNetDevice> ns3::PointToPointChannel::GetPointToPointDevice(uint32_t i) const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
130 |
cls.add_method('GetPointToPointDevice', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
131 |
'ns3::Ptr< ns3::PointToPointNetDevice >', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
132 |
[param('uint32_t', 'i')], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
133 |
is_const=True) |
3408 | 134 |
## point-to-point-channel.h: ns3::Ptr<ns3::NetDevice> ns3::PointToPointChannel::GetDevice(uint32_t i) const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
135 |
cls.add_method('GetDevice', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
136 |
'ns3::Ptr< ns3::NetDevice >', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
137 |
[param('uint32_t', 'i')], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
138 |
is_const=True, is_virtual=True) |
3408 | 139 |
return |
140 |
||
141 |
def register_Ns3PointToPointNetDevice_methods(root_module, cls): |
|
4241
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
142 |
## point-to-point-net-device.h: ns3::PointToPointNetDevice::PointToPointNetDevice(ns3::PointToPointNetDevice const & arg0) [copy constructor] |
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
143 |
cls.add_constructor([param('ns3::PointToPointNetDevice const &', 'arg0')]) |
3408 | 144 |
## point-to-point-net-device.h: static ns3::TypeId ns3::PointToPointNetDevice::GetTypeId() [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
145 |
cls.add_method('GetTypeId', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
146 |
'ns3::TypeId', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
147 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
148 |
is_static=True) |
3408 | 149 |
## point-to-point-net-device.h: ns3::PointToPointNetDevice::PointToPointNetDevice() [constructor] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
150 |
cls.add_constructor([]) |
3408 | 151 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetDataRate(ns3::DataRate bps) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
152 |
cls.add_method('SetDataRate', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
153 |
'void', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
154 |
[param('ns3::DataRate', 'bps')]) |
3408 | 155 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetInterframeGap(ns3::Time t) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
156 |
cls.add_method('SetInterframeGap', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
157 |
'void', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
158 |
[param('ns3::Time', 't')]) |
3408 | 159 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::Attach(ns3::Ptr<ns3::PointToPointChannel> ch) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
160 |
cls.add_method('Attach', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
161 |
'bool', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
162 |
[param('ns3::Ptr< ns3::PointToPointChannel >', 'ch')]) |
3408 | 163 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetQueue(ns3::Ptr<ns3::Queue> queue) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
164 |
cls.add_method('SetQueue', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
165 |
'void', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
166 |
[param('ns3::Ptr< ns3::Queue >', 'queue')]) |
3408 | 167 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetReceiveErrorModel(ns3::Ptr<ns3::ErrorModel> em) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
168 |
cls.add_method('SetReceiveErrorModel', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
169 |
'void', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
170 |
[param('ns3::Ptr< ns3::ErrorModel >', 'em')]) |
3408 | 171 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::Receive(ns3::Ptr<ns3::Packet> p) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
172 |
cls.add_method('Receive', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
173 |
'void', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
174 |
[param('ns3::Ptr< ns3::Packet >', 'p')]) |
3731
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
175 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetFrameSize(uint16_t frameSize) [member function] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
176 |
cls.add_method('SetFrameSize', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
177 |
'void', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
178 |
[param('uint16_t', 'frameSize')]) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
179 |
## point-to-point-net-device.h: uint16_t ns3::PointToPointNetDevice::GetFrameSize() const [member function] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
180 |
cls.add_method('GetFrameSize', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
181 |
'uint16_t', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
182 |
[], |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
183 |
is_const=True) |
3408 | 184 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetIfIndex(uint32_t const index) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
185 |
cls.add_method('SetIfIndex', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
186 |
'void', |
3574
b6804efbe16b
New pybindgen and API rescan. Extensive API description files changes because pybindgen now handles consts differently.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3567
diff
changeset
|
187 |
[param('uint32_t const', 'index')], |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
188 |
is_virtual=True) |
3408 | 189 |
## point-to-point-net-device.h: uint32_t ns3::PointToPointNetDevice::GetIfIndex() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
190 |
cls.add_method('GetIfIndex', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
191 |
'uint32_t', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
192 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
193 |
is_const=True, is_virtual=True) |
3408 | 194 |
## point-to-point-net-device.h: ns3::Ptr<ns3::Channel> ns3::PointToPointNetDevice::GetChannel() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
195 |
cls.add_method('GetChannel', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
196 |
'ns3::Ptr< ns3::Channel >', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
197 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
198 |
is_const=True, is_virtual=True) |
4589 | 199 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetAddress(ns3::Address address) [member function] |
200 |
cls.add_method('SetAddress', |
|
201 |
'void', |
|
202 |
[param('ns3::Address', 'address')], |
|
203 |
is_virtual=True) |
|
3408 | 204 |
## point-to-point-net-device.h: ns3::Address ns3::PointToPointNetDevice::GetAddress() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
205 |
cls.add_method('GetAddress', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
206 |
'ns3::Address', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
207 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
208 |
is_const=True, is_virtual=True) |
3408 | 209 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::SetMtu(uint16_t const mtu) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
210 |
cls.add_method('SetMtu', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
211 |
'bool', |
3574
b6804efbe16b
New pybindgen and API rescan. Extensive API description files changes because pybindgen now handles consts differently.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3567
diff
changeset
|
212 |
[param('uint16_t const', 'mtu')], |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
213 |
is_virtual=True) |
3408 | 214 |
## point-to-point-net-device.h: uint16_t ns3::PointToPointNetDevice::GetMtu() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
215 |
cls.add_method('GetMtu', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
216 |
'uint16_t', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
217 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
218 |
is_const=True, is_virtual=True) |
3408 | 219 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsLinkUp() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
220 |
cls.add_method('IsLinkUp', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
221 |
'bool', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
222 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
223 |
is_const=True, is_virtual=True) |
4073
b7c683c2479e
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
224 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetLinkChangeCallback(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
225 |
cls.add_method('SetLinkChangeCallback', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
226 |
'void', |
4073
b7c683c2479e
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
227 |
[param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
228 |
is_virtual=True) |
3408 | 229 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsBroadcast() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
230 |
cls.add_method('IsBroadcast', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
231 |
'bool', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
232 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
233 |
is_const=True, is_virtual=True) |
3408 | 234 |
## point-to-point-net-device.h: ns3::Address ns3::PointToPointNetDevice::GetBroadcast() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
235 |
cls.add_method('GetBroadcast', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
236 |
'ns3::Address', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
237 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
238 |
is_const=True, is_virtual=True) |
3408 | 239 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsMulticast() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
240 |
cls.add_method('IsMulticast', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
241 |
'bool', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
242 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
243 |
is_const=True, is_virtual=True) |
3842
545ddf9398ed
apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents:
3731
diff
changeset
|
244 |
## point-to-point-net-device.h: ns3::Address ns3::PointToPointNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
245 |
cls.add_method('GetMulticast', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
246 |
'ns3::Address', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
247 |
[param('ns3::Ipv4Address', 'multicastGroup')], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
248 |
is_const=True, is_virtual=True) |
3408 | 249 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsPointToPoint() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
250 |
cls.add_method('IsPointToPoint', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
251 |
'bool', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
252 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
253 |
is_const=True, is_virtual=True) |
3951
561a37800333
The 'contrib' module actually depends on 'common' too (affects waf --python-scan)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3861
diff
changeset
|
254 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsBridge() const [member function] |
561a37800333
The 'contrib' module actually depends on 'common' too (affects waf --python-scan)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3861
diff
changeset
|
255 |
cls.add_method('IsBridge', |
561a37800333
The 'contrib' module actually depends on 'common' too (affects waf --python-scan)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3861
diff
changeset
|
256 |
'bool', |
561a37800333
The 'contrib' module actually depends on 'common' too (affects waf --python-scan)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3861
diff
changeset
|
257 |
[], |
561a37800333
The 'contrib' module actually depends on 'common' too (affects waf --python-scan)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3861
diff
changeset
|
258 |
is_const=True, is_virtual=True) |
3408 | 259 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
260 |
cls.add_method('Send', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
261 |
'bool', |
3574
b6804efbe16b
New pybindgen and API rescan. Extensive API description files changes because pybindgen now handles consts differently.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3567
diff
changeset
|
262 |
[param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
263 |
is_virtual=True) |
3457 | 264 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::SendFrom(ns3::Ptr<ns3::Packet> packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
265 |
cls.add_method('SendFrom', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
266 |
'bool', |
3574
b6804efbe16b
New pybindgen and API rescan. Extensive API description files changes because pybindgen now handles consts differently.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3567
diff
changeset
|
267 |
[param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
268 |
is_virtual=True) |
3408 | 269 |
## point-to-point-net-device.h: ns3::Ptr<ns3::Node> ns3::PointToPointNetDevice::GetNode() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
270 |
cls.add_method('GetNode', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
271 |
'ns3::Ptr< ns3::Node >', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
272 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
273 |
is_const=True, is_virtual=True) |
3408 | 274 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
275 |
cls.add_method('SetNode', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
276 |
'void', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
277 |
[param('ns3::Ptr< ns3::Node >', 'node')], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
278 |
is_virtual=True) |
3408 | 279 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::NeedsArp() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
280 |
cls.add_method('NeedsArp', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
281 |
'bool', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
282 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
283 |
is_const=True, is_virtual=True) |
4073
b7c683c2479e
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
284 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetReceiveCallback(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
285 |
cls.add_method('SetReceiveCallback', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
286 |
'void', |
4073
b7c683c2479e
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
287 |
[param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
288 |
is_virtual=True) |
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3842
diff
changeset
|
289 |
## point-to-point-net-device.h: ns3::Address ns3::PointToPointNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3842
diff
changeset
|
290 |
cls.add_method('GetMulticast', |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3842
diff
changeset
|
291 |
'ns3::Address', |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3842
diff
changeset
|
292 |
[param('ns3::Ipv6Address', 'addr')], |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3842
diff
changeset
|
293 |
is_const=True, is_virtual=True) |
4073
b7c683c2479e
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
294 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetPromiscReceiveCallback(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] |
3480
a920df6b9f02
Make the new NetDevice APIs pure virtual methods, by Mathieu's insistence.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3468
diff
changeset
|
295 |
cls.add_method('SetPromiscReceiveCallback', |
a920df6b9f02
Make the new NetDevice APIs pure virtual methods, by Mathieu's insistence.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3468
diff
changeset
|
296 |
'void', |
4073
b7c683c2479e
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
297 |
[param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], |
3480
a920df6b9f02
Make the new NetDevice APIs pure virtual methods, by Mathieu's insistence.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3468
diff
changeset
|
298 |
is_virtual=True) |
3584
4eb48239b4dc
bug 274: bridge must detect compatibility of devices with bridging mode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3574
diff
changeset
|
299 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::SupportsSendFrom() const [member function] |
4eb48239b4dc
bug 274: bridge must detect compatibility of devices with bridging mode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3574
diff
changeset
|
300 |
cls.add_method('SupportsSendFrom', |
3480
a920df6b9f02
Make the new NetDevice APIs pure virtual methods, by Mathieu's insistence.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3468
diff
changeset
|
301 |
'bool', |
a920df6b9f02
Make the new NetDevice APIs pure virtual methods, by Mathieu's insistence.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3468
diff
changeset
|
302 |
[], |
a920df6b9f02
Make the new NetDevice APIs pure virtual methods, by Mathieu's insistence.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3468
diff
changeset
|
303 |
is_const=True, is_virtual=True) |
3408 | 304 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::DoDispose() [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
305 |
cls.add_method('DoDispose', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
306 |
'void', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
307 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
308 |
visibility='private', is_virtual=True) |
3408 | 309 |
return |
310 |
||
311 |
def register_functions(root_module): |
|
312 |
module = root_module |
|
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3842
diff
changeset
|
313 |
register_functions_ns3_Config(module.get_submodule('Config'), root_module) |
3408 | 314 |
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) |
4474
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
315 |
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) |
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3842
diff
changeset
|
316 |
register_functions_ns3_internal(module.get_submodule('internal'), root_module) |
3408 | 317 |
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) |
318 |
return |
|
319 |
||
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3842
diff
changeset
|
320 |
def register_functions_ns3_Config(module, root_module): |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3842
diff
changeset
|
321 |
return |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3842
diff
changeset
|
322 |
|
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3842
diff
changeset
|
323 |
def register_functions_ns3_TimeStepPrecision(module, root_module): |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3842
diff
changeset
|
324 |
return |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3842
diff
changeset
|
325 |
|
4474
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
326 |
def register_functions_ns3_addressUtils(module, root_module): |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
327 |
return |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
328 |
|
3408 | 329 |
def register_functions_ns3_internal(module, root_module): |
330 |
return |
|
331 |
||
332 |
def register_functions_ns3_olsr(module, root_module): |
|
333 |
return |
|
334 |