tomh@4474
|
1 |
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
|
gjc@3408
|
2 |
|
gjc@3408
|
3 |
def register_types(module):
|
gjc@3408
|
4 |
root_module = module.get_root()
|
gjc@3408
|
5 |
|
craigdo@3861
|
6 |
## ppp-header.h: ns3::PppHeader [class]
|
craigdo@3861
|
7 |
module.add_class('PppHeader', parent=root_module['ns3::Header'])
|
gjc@3408
|
8 |
## point-to-point-channel.h: ns3::PointToPointChannel [class]
|
gjc@3457
|
9 |
module.add_class('PointToPointChannel', parent=root_module['ns3::Channel'])
|
gjc@3408
|
10 |
## point-to-point-net-device.h: ns3::PointToPointNetDevice [class]
|
gjc@3457
|
11 |
module.add_class('PointToPointNetDevice', parent=root_module['ns3::NetDevice'])
|
gjc@3408
|
12 |
|
gjc@3855
|
13 |
## Register a nested module for the namespace Config
|
gjc@3408
|
14 |
|
gjc@3855
|
15 |
nested_module = module.add_cpp_namespace('Config')
|
gjc@3855
|
16 |
register_types_ns3_Config(nested_module)
|
gjc@3408
|
17 |
|
gjc@3408
|
18 |
|
gjc@3408
|
19 |
## Register a nested module for the namespace TimeStepPrecision
|
gjc@3408
|
20 |
|
gjc@3408
|
21 |
nested_module = module.add_cpp_namespace('TimeStepPrecision')
|
gjc@3408
|
22 |
register_types_ns3_TimeStepPrecision(nested_module)
|
gjc@3408
|
23 |
|
gjc@3408
|
24 |
|
tomh@4474
|
25 |
## Register a nested module for the namespace addressUtils
|
tomh@4474
|
26 |
|
tomh@4474
|
27 |
nested_module = module.add_cpp_namespace('addressUtils')
|
tomh@4474
|
28 |
register_types_ns3_addressUtils(nested_module)
|
tomh@4474
|
29 |
|
tomh@4474
|
30 |
|
gjc@3855
|
31 |
## Register a nested module for the namespace internal
|
gjc@3408
|
32 |
|
gjc@3855
|
33 |
nested_module = module.add_cpp_namespace('internal')
|
gjc@3855
|
34 |
register_types_ns3_internal(nested_module)
|
gjc@3408
|
35 |
|
gjc@3408
|
36 |
|
gjc@3408
|
37 |
## Register a nested module for the namespace olsr
|
gjc@3408
|
38 |
|
gjc@3408
|
39 |
nested_module = module.add_cpp_namespace('olsr')
|
gjc@3408
|
40 |
register_types_ns3_olsr(nested_module)
|
gjc@3408
|
41 |
|
gjc@3408
|
42 |
|
gjc@3855
|
43 |
def register_types_ns3_Config(module):
|
gjc@3408
|
44 |
root_module = module.get_root()
|
gjc@3408
|
45 |
|
gjc@3408
|
46 |
|
gjc@3408
|
47 |
def register_types_ns3_TimeStepPrecision(module):
|
gjc@3408
|
48 |
root_module = module.get_root()
|
gjc@3408
|
49 |
|
gjc@3408
|
50 |
|
tomh@4474
|
51 |
def register_types_ns3_addressUtils(module):
|
tomh@4474
|
52 |
root_module = module.get_root()
|
tomh@4474
|
53 |
|
tomh@4474
|
54 |
|
gjc@3855
|
55 |
def register_types_ns3_internal(module):
|
gjc@3408
|
56 |
root_module = module.get_root()
|
gjc@3408
|
57 |
|
gjc@3408
|
58 |
|
gjc@3408
|
59 |
def register_types_ns3_olsr(module):
|
gjc@3408
|
60 |
root_module = module.get_root()
|
gjc@3408
|
61 |
|
gjc@3408
|
62 |
|
gjc@3408
|
63 |
def register_methods(root_module):
|
craigdo@3861
|
64 |
register_Ns3PppHeader_methods(root_module, root_module['ns3::PppHeader'])
|
gjc@3408
|
65 |
register_Ns3PointToPointChannel_methods(root_module, root_module['ns3::PointToPointChannel'])
|
gjc@3408
|
66 |
register_Ns3PointToPointNetDevice_methods(root_module, root_module['ns3::PointToPointNetDevice'])
|
gjc@3408
|
67 |
return
|
gjc@3408
|
68 |
|
craigdo@3861
|
69 |
def register_Ns3PppHeader_methods(root_module, cls):
|
mathieu@4241
|
70 |
## ppp-header.h: ns3::PppHeader::PppHeader(ns3::PppHeader const & arg0) [copy constructor]
|
mathieu@4241
|
71 |
cls.add_constructor([param('ns3::PppHeader const &', 'arg0')])
|
craigdo@3861
|
72 |
## ppp-header.h: ns3::PppHeader::PppHeader() [constructor]
|
craigdo@3861
|
73 |
cls.add_constructor([])
|
craigdo@3861
|
74 |
## ppp-header.h: static ns3::TypeId ns3::PppHeader::GetTypeId() [member function]
|
craigdo@3861
|
75 |
cls.add_method('GetTypeId',
|
craigdo@3861
|
76 |
'ns3::TypeId',
|
craigdo@3861
|
77 |
[],
|
craigdo@3861
|
78 |
is_static=True)
|
craigdo@3861
|
79 |
## ppp-header.h: ns3::TypeId ns3::PppHeader::GetInstanceTypeId() const [member function]
|
craigdo@3861
|
80 |
cls.add_method('GetInstanceTypeId',
|
craigdo@3861
|
81 |
'ns3::TypeId',
|
craigdo@3861
|
82 |
[],
|
craigdo@3861
|
83 |
is_const=True, is_virtual=True)
|
craigdo@3861
|
84 |
## ppp-header.h: void ns3::PppHeader::Print(std::ostream & os) const [member function]
|
craigdo@3861
|
85 |
cls.add_method('Print',
|
craigdo@3861
|
86 |
'void',
|
craigdo@3861
|
87 |
[param('std::ostream &', 'os')],
|
craigdo@3861
|
88 |
is_const=True, is_virtual=True)
|
craigdo@3861
|
89 |
## ppp-header.h: void ns3::PppHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
|
craigdo@3861
|
90 |
cls.add_method('Serialize',
|
craigdo@3861
|
91 |
'void',
|
craigdo@3861
|
92 |
[param('ns3::Buffer::Iterator', 'start')],
|
craigdo@3861
|
93 |
is_const=True, is_virtual=True)
|
craigdo@3861
|
94 |
## ppp-header.h: uint32_t ns3::PppHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
|
craigdo@3861
|
95 |
cls.add_method('Deserialize',
|
craigdo@3861
|
96 |
'uint32_t',
|
craigdo@3861
|
97 |
[param('ns3::Buffer::Iterator', 'start')],
|
craigdo@3861
|
98 |
is_virtual=True)
|
craigdo@3861
|
99 |
## ppp-header.h: uint32_t ns3::PppHeader::GetSerializedSize() const [member function]
|
craigdo@3861
|
100 |
cls.add_method('GetSerializedSize',
|
craigdo@3861
|
101 |
'uint32_t',
|
craigdo@3861
|
102 |
[],
|
craigdo@3861
|
103 |
is_const=True, is_virtual=True)
|
craigdo@3861
|
104 |
return
|
craigdo@3861
|
105 |
|
gjc@3408
|
106 |
def register_Ns3PointToPointChannel_methods(root_module, cls):
|
mathieu@4241
|
107 |
## point-to-point-channel.h: ns3::PointToPointChannel::PointToPointChannel(ns3::PointToPointChannel const & arg0) [copy constructor]
|
mathieu@4241
|
108 |
cls.add_constructor([param('ns3::PointToPointChannel const &', 'arg0')])
|
gjc@3408
|
109 |
## point-to-point-channel.h: static ns3::TypeId ns3::PointToPointChannel::GetTypeId() [member function]
|
gjc@3468
|
110 |
cls.add_method('GetTypeId',
|
gjc@3468
|
111 |
'ns3::TypeId',
|
gjc@3468
|
112 |
[],
|
gjc@3468
|
113 |
is_static=True)
|
gjc@3408
|
114 |
## point-to-point-channel.h: ns3::PointToPointChannel::PointToPointChannel() [constructor]
|
gjc@3468
|
115 |
cls.add_constructor([])
|
gjc@3408
|
116 |
## point-to-point-channel.h: void ns3::PointToPointChannel::Attach(ns3::Ptr<ns3::PointToPointNetDevice> device) [member function]
|
gjc@3468
|
117 |
cls.add_method('Attach',
|
gjc@3468
|
118 |
'void',
|
gjc@3468
|
119 |
[param('ns3::Ptr< ns3::PointToPointNetDevice >', 'device')])
|
gjc@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]
|
gjc@3468
|
121 |
cls.add_method('TransmitStart',
|
gjc@3468
|
122 |
'bool',
|
gjc@3468
|
123 |
[param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ptr< ns3::PointToPointNetDevice >', 'src'), param('ns3::Time', 'txTime')])
|
gjc@3408
|
124 |
## point-to-point-channel.h: uint32_t ns3::PointToPointChannel::GetNDevices() const [member function]
|
gjc@3468
|
125 |
cls.add_method('GetNDevices',
|
gjc@3468
|
126 |
'uint32_t',
|
gjc@3468
|
127 |
[],
|
gjc@3468
|
128 |
is_const=True, is_virtual=True)
|
gjc@3408
|
129 |
## point-to-point-channel.h: ns3::Ptr<ns3::PointToPointNetDevice> ns3::PointToPointChannel::GetPointToPointDevice(uint32_t i) const [member function]
|
gjc@3468
|
130 |
cls.add_method('GetPointToPointDevice',
|
gjc@3468
|
131 |
'ns3::Ptr< ns3::PointToPointNetDevice >',
|
gjc@3468
|
132 |
[param('uint32_t', 'i')],
|
gjc@3468
|
133 |
is_const=True)
|
gjc@3408
|
134 |
## point-to-point-channel.h: ns3::Ptr<ns3::NetDevice> ns3::PointToPointChannel::GetDevice(uint32_t i) const [member function]
|
gjc@3468
|
135 |
cls.add_method('GetDevice',
|
gjc@3468
|
136 |
'ns3::Ptr< ns3::NetDevice >',
|
gjc@3468
|
137 |
[param('uint32_t', 'i')],
|
gjc@3468
|
138 |
is_const=True, is_virtual=True)
|
gjc@3408
|
139 |
return
|
gjc@3408
|
140 |
|
gjc@3408
|
141 |
def register_Ns3PointToPointNetDevice_methods(root_module, cls):
|
mathieu@4241
|
142 |
## point-to-point-net-device.h: ns3::PointToPointNetDevice::PointToPointNetDevice(ns3::PointToPointNetDevice const & arg0) [copy constructor]
|
mathieu@4241
|
143 |
cls.add_constructor([param('ns3::PointToPointNetDevice const &', 'arg0')])
|
gjc@3408
|
144 |
## point-to-point-net-device.h: static ns3::TypeId ns3::PointToPointNetDevice::GetTypeId() [member function]
|
gjc@3468
|
145 |
cls.add_method('GetTypeId',
|
gjc@3468
|
146 |
'ns3::TypeId',
|
gjc@3468
|
147 |
[],
|
gjc@3468
|
148 |
is_static=True)
|
gjc@3408
|
149 |
## point-to-point-net-device.h: ns3::PointToPointNetDevice::PointToPointNetDevice() [constructor]
|
gjc@3468
|
150 |
cls.add_constructor([])
|
gjc@3408
|
151 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetDataRate(ns3::DataRate bps) [member function]
|
gjc@3468
|
152 |
cls.add_method('SetDataRate',
|
gjc@3468
|
153 |
'void',
|
gjc@3468
|
154 |
[param('ns3::DataRate', 'bps')])
|
gjc@3408
|
155 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetInterframeGap(ns3::Time t) [member function]
|
gjc@3468
|
156 |
cls.add_method('SetInterframeGap',
|
gjc@3468
|
157 |
'void',
|
gjc@3468
|
158 |
[param('ns3::Time', 't')])
|
gjc@3408
|
159 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::Attach(ns3::Ptr<ns3::PointToPointChannel> ch) [member function]
|
gjc@3468
|
160 |
cls.add_method('Attach',
|
gjc@3468
|
161 |
'bool',
|
gjc@3468
|
162 |
[param('ns3::Ptr< ns3::PointToPointChannel >', 'ch')])
|
gjc@3408
|
163 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetQueue(ns3::Ptr<ns3::Queue> queue) [member function]
|
gjc@3468
|
164 |
cls.add_method('SetQueue',
|
gjc@3468
|
165 |
'void',
|
gjc@3468
|
166 |
[param('ns3::Ptr< ns3::Queue >', 'queue')])
|
gjc@3408
|
167 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetReceiveErrorModel(ns3::Ptr<ns3::ErrorModel> em) [member function]
|
gjc@3468
|
168 |
cls.add_method('SetReceiveErrorModel',
|
gjc@3468
|
169 |
'void',
|
gjc@3468
|
170 |
[param('ns3::Ptr< ns3::ErrorModel >', 'em')])
|
gjc@3408
|
171 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::Receive(ns3::Ptr<ns3::Packet> p) [member function]
|
gjc@3468
|
172 |
cls.add_method('Receive',
|
gjc@3468
|
173 |
'void',
|
gjc@3468
|
174 |
[param('ns3::Ptr< ns3::Packet >', 'p')])
|
gjc@3731
|
175 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetFrameSize(uint16_t frameSize) [member function]
|
gjc@3731
|
176 |
cls.add_method('SetFrameSize',
|
gjc@3731
|
177 |
'void',
|
gjc@3731
|
178 |
[param('uint16_t', 'frameSize')])
|
gjc@3731
|
179 |
## point-to-point-net-device.h: uint16_t ns3::PointToPointNetDevice::GetFrameSize() const [member function]
|
gjc@3731
|
180 |
cls.add_method('GetFrameSize',
|
gjc@3731
|
181 |
'uint16_t',
|
gjc@3731
|
182 |
[],
|
gjc@3731
|
183 |
is_const=True)
|
gjc@3408
|
184 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetIfIndex(uint32_t const index) [member function]
|
gjc@3468
|
185 |
cls.add_method('SetIfIndex',
|
gjc@3468
|
186 |
'void',
|
gjc@3574
|
187 |
[param('uint32_t const', 'index')],
|
gjc@3468
|
188 |
is_virtual=True)
|
gjc@3408
|
189 |
## point-to-point-net-device.h: uint32_t ns3::PointToPointNetDevice::GetIfIndex() const [member function]
|
gjc@3468
|
190 |
cls.add_method('GetIfIndex',
|
gjc@3468
|
191 |
'uint32_t',
|
gjc@3468
|
192 |
[],
|
gjc@3468
|
193 |
is_const=True, is_virtual=True)
|
gjc@3408
|
194 |
## point-to-point-net-device.h: ns3::Ptr<ns3::Channel> ns3::PointToPointNetDevice::GetChannel() const [member function]
|
gjc@3468
|
195 |
cls.add_method('GetChannel',
|
gjc@3468
|
196 |
'ns3::Ptr< ns3::Channel >',
|
gjc@3468
|
197 |
[],
|
gjc@3468
|
198 |
is_const=True, is_virtual=True)
|
tomh@4589
|
199 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetAddress(ns3::Address address) [member function]
|
tomh@4589
|
200 |
cls.add_method('SetAddress',
|
tomh@4589
|
201 |
'void',
|
tomh@4589
|
202 |
[param('ns3::Address', 'address')],
|
tomh@4589
|
203 |
is_virtual=True)
|
gjc@3408
|
204 |
## point-to-point-net-device.h: ns3::Address ns3::PointToPointNetDevice::GetAddress() const [member function]
|
gjc@3468
|
205 |
cls.add_method('GetAddress',
|
gjc@3468
|
206 |
'ns3::Address',
|
gjc@3468
|
207 |
[],
|
gjc@3468
|
208 |
is_const=True, is_virtual=True)
|
gjc@3408
|
209 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::SetMtu(uint16_t const mtu) [member function]
|
gjc@3468
|
210 |
cls.add_method('SetMtu',
|
gjc@3468
|
211 |
'bool',
|
gjc@3574
|
212 |
[param('uint16_t const', 'mtu')],
|
gjc@3468
|
213 |
is_virtual=True)
|
gjc@3408
|
214 |
## point-to-point-net-device.h: uint16_t ns3::PointToPointNetDevice::GetMtu() const [member function]
|
gjc@3468
|
215 |
cls.add_method('GetMtu',
|
gjc@3468
|
216 |
'uint16_t',
|
gjc@3468
|
217 |
[],
|
gjc@3468
|
218 |
is_const=True, is_virtual=True)
|
gjc@3408
|
219 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsLinkUp() const [member function]
|
gjc@3468
|
220 |
cls.add_method('IsLinkUp',
|
gjc@3468
|
221 |
'bool',
|
gjc@3468
|
222 |
[],
|
gjc@3468
|
223 |
is_const=True, is_virtual=True)
|
mathieu@4073
|
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]
|
gjc@3468
|
225 |
cls.add_method('SetLinkChangeCallback',
|
gjc@3468
|
226 |
'void',
|
mathieu@4073
|
227 |
[param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
|
gjc@3468
|
228 |
is_virtual=True)
|
gjc@3408
|
229 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsBroadcast() const [member function]
|
gjc@3468
|
230 |
cls.add_method('IsBroadcast',
|
gjc@3468
|
231 |
'bool',
|
gjc@3468
|
232 |
[],
|
gjc@3468
|
233 |
is_const=True, is_virtual=True)
|
gjc@3408
|
234 |
## point-to-point-net-device.h: ns3::Address ns3::PointToPointNetDevice::GetBroadcast() const [member function]
|
gjc@3468
|
235 |
cls.add_method('GetBroadcast',
|
gjc@3468
|
236 |
'ns3::Address',
|
gjc@3468
|
237 |
[],
|
gjc@3468
|
238 |
is_const=True, is_virtual=True)
|
gjc@3408
|
239 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsMulticast() const [member function]
|
gjc@3468
|
240 |
cls.add_method('IsMulticast',
|
gjc@3468
|
241 |
'bool',
|
gjc@3468
|
242 |
[],
|
gjc@3468
|
243 |
is_const=True, is_virtual=True)
|
vincent@3842
|
244 |
## point-to-point-net-device.h: ns3::Address ns3::PointToPointNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
|
gjc@3468
|
245 |
cls.add_method('GetMulticast',
|
gjc@3468
|
246 |
'ns3::Address',
|
gjc@3468
|
247 |
[param('ns3::Ipv4Address', 'multicastGroup')],
|
gjc@3468
|
248 |
is_const=True, is_virtual=True)
|
gjc@3408
|
249 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsPointToPoint() const [member function]
|
gjc@3468
|
250 |
cls.add_method('IsPointToPoint',
|
gjc@3468
|
251 |
'bool',
|
gjc@3468
|
252 |
[],
|
gjc@3468
|
253 |
is_const=True, is_virtual=True)
|
gjc@3951
|
254 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsBridge() const [member function]
|
gjc@3951
|
255 |
cls.add_method('IsBridge',
|
gjc@3951
|
256 |
'bool',
|
gjc@3951
|
257 |
[],
|
gjc@3951
|
258 |
is_const=True, is_virtual=True)
|
gjc@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]
|
gjc@3468
|
260 |
cls.add_method('Send',
|
gjc@3468
|
261 |
'bool',
|
gjc@3574
|
262 |
[param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
|
gjc@3468
|
263 |
is_virtual=True)
|
gjc@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]
|
gjc@3468
|
265 |
cls.add_method('SendFrom',
|
gjc@3468
|
266 |
'bool',
|
gjc@3574
|
267 |
[param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
|
gjc@3468
|
268 |
is_virtual=True)
|
gjc@3408
|
269 |
## point-to-point-net-device.h: ns3::Ptr<ns3::Node> ns3::PointToPointNetDevice::GetNode() const [member function]
|
gjc@3468
|
270 |
cls.add_method('GetNode',
|
gjc@3468
|
271 |
'ns3::Ptr< ns3::Node >',
|
gjc@3468
|
272 |
[],
|
gjc@3468
|
273 |
is_const=True, is_virtual=True)
|
gjc@3408
|
274 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
|
gjc@3468
|
275 |
cls.add_method('SetNode',
|
gjc@3468
|
276 |
'void',
|
gjc@3468
|
277 |
[param('ns3::Ptr< ns3::Node >', 'node')],
|
gjc@3468
|
278 |
is_virtual=True)
|
gjc@3408
|
279 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::NeedsArp() const [member function]
|
gjc@3468
|
280 |
cls.add_method('NeedsArp',
|
gjc@3468
|
281 |
'bool',
|
gjc@3468
|
282 |
[],
|
gjc@3468
|
283 |
is_const=True, is_virtual=True)
|
mathieu@4073
|
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]
|
gjc@3468
|
285 |
cls.add_method('SetReceiveCallback',
|
gjc@3468
|
286 |
'void',
|
mathieu@4073
|
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')],
|
gjc@3468
|
288 |
is_virtual=True)
|
gjc@3855
|
289 |
## point-to-point-net-device.h: ns3::Address ns3::PointToPointNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
|
gjc@3855
|
290 |
cls.add_method('GetMulticast',
|
gjc@3855
|
291 |
'ns3::Address',
|
gjc@3855
|
292 |
[param('ns3::Ipv6Address', 'addr')],
|
gjc@3855
|
293 |
is_const=True, is_virtual=True)
|
mathieu@4073
|
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]
|
gjc@3480
|
295 |
cls.add_method('SetPromiscReceiveCallback',
|
gjc@3480
|
296 |
'void',
|
mathieu@4073
|
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')],
|
gjc@3480
|
298 |
is_virtual=True)
|
mathieu@3584
|
299 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::SupportsSendFrom() const [member function]
|
mathieu@3584
|
300 |
cls.add_method('SupportsSendFrom',
|
gjc@3480
|
301 |
'bool',
|
gjc@3480
|
302 |
[],
|
gjc@3480
|
303 |
is_const=True, is_virtual=True)
|
gjc@3408
|
304 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::DoDispose() [member function]
|
gjc@3468
|
305 |
cls.add_method('DoDispose',
|
gjc@3468
|
306 |
'void',
|
gjc@3468
|
307 |
[],
|
gjc@3468
|
308 |
visibility='private', is_virtual=True)
|
gjc@3408
|
309 |
return
|
gjc@3408
|
310 |
|
gjc@3408
|
311 |
def register_functions(root_module):
|
gjc@3408
|
312 |
module = root_module
|
gjc@3855
|
313 |
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
gjc@3855
|
314 |
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
tomh@4474
|
315 |
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
gjc@3408
|
316 |
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
gjc@3408
|
317 |
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
gjc@3408
|
318 |
return
|
gjc@3408
|
319 |
|
gjc@3855
|
320 |
def register_functions_ns3_Config(module, root_module):
|
gjc@3855
|
321 |
return
|
gjc@3855
|
322 |
|
gjc@3855
|
323 |
def register_functions_ns3_TimeStepPrecision(module, root_module):
|
gjc@3855
|
324 |
return
|
gjc@3855
|
325 |
|
tomh@4474
|
326 |
def register_functions_ns3_addressUtils(module, root_module):
|
tomh@4474
|
327 |
return
|
tomh@4474
|
328 |
|
gjc@3408
|
329 |
def register_functions_ns3_internal(module, root_module):
|
gjc@3408
|
330 |
return
|
gjc@3408
|
331 |
|
gjc@3408
|
332 |
def register_functions_ns3_olsr(module, root_module):
|
gjc@3408
|
333 |
return
|
gjc@3408
|
334 |
|