|
1 from pybindgen import Module, FileCodeSink, param, retval, cppclass |
|
2 |
|
3 def register_types(module): |
|
4 root_module = module.get_root() |
|
5 |
|
6 ## application-container.h: ns3::ApplicationContainer [class] |
|
7 module.add_class('ApplicationContainer') |
|
8 ## bridge-helper.h: ns3::BridgeHelper [class] |
|
9 module.add_class('BridgeHelper', allow_subclassing=False) |
|
10 ## csma-helper.h: ns3::CsmaHelper [class] |
|
11 module.add_class('CsmaHelper', allow_subclassing=False) |
|
12 ## internet-stack-helper.h: ns3::InternetStackHelper [class] |
|
13 module.add_class('InternetStackHelper', allow_subclassing=False) |
|
14 ## ipv4-address-helper.h: ns3::Ipv4AddressHelper [class] |
|
15 module.add_class('Ipv4AddressHelper', allow_subclassing=False) |
|
16 ## ipv4-interface-container.h: ns3::Ipv4InterfaceContainer [class] |
|
17 module.add_class('Ipv4InterfaceContainer') |
|
18 ## mobility-helper.h: ns3::MobilityHelper [class] |
|
19 module.add_class('MobilityHelper', allow_subclassing=False) |
|
20 ## net-device-container.h: ns3::NetDeviceContainer [class] |
|
21 module.add_class('NetDeviceContainer') |
|
22 ## node-container.h: ns3::NodeContainer [class] |
|
23 module.add_class('NodeContainer') |
|
24 ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper [class] |
|
25 module.add_class('Ns2MobilityHelper', allow_subclassing=False) |
|
26 ## olsr-helper.h: ns3::OlsrHelper [class] |
|
27 module.add_class('OlsrHelper', allow_subclassing=False) |
|
28 ## on-off-helper.h: ns3::OnOffHelper [class] |
|
29 module.add_class('OnOffHelper', allow_subclassing=False) |
|
30 ## packet-sink-helper.h: ns3::PacketSinkHelper [class] |
|
31 module.add_class('PacketSinkHelper', allow_subclassing=False) |
|
32 ## packet-socket-helper.h: ns3::PacketSocketHelper [class] |
|
33 module.add_class('PacketSocketHelper', allow_subclassing=False) |
|
34 ## point-to-point-helper.h: ns3::PointToPointHelper [class] |
|
35 module.add_class('PointToPointHelper', allow_subclassing=False) |
|
36 ## static-multicast-route-helper.h: ns3::StaticMulticastRouteHelper [class] |
|
37 module.add_class('StaticMulticastRouteHelper', allow_subclassing=False) |
|
38 ## udp-echo-helper.h: ns3::UdpEchoClientHelper [class] |
|
39 module.add_class('UdpEchoClientHelper', allow_subclassing=False) |
|
40 ## udp-echo-helper.h: ns3::UdpEchoServerHelper [class] |
|
41 module.add_class('UdpEchoServerHelper', allow_subclassing=False) |
|
42 ## wifi-helper.h: ns3::WifiHelper [class] |
|
43 module.add_class('WifiHelper', allow_subclassing=False) |
|
44 |
|
45 ## Register a nested module for the namespace internal |
|
46 |
|
47 nested_module = module.add_cpp_namespace('internal') |
|
48 register_types_ns3_internal(nested_module) |
|
49 |
|
50 |
|
51 ## Register a nested module for the namespace TimeStepPrecision |
|
52 |
|
53 nested_module = module.add_cpp_namespace('TimeStepPrecision') |
|
54 register_types_ns3_TimeStepPrecision(nested_module) |
|
55 |
|
56 |
|
57 ## Register a nested module for the namespace Config |
|
58 |
|
59 nested_module = module.add_cpp_namespace('Config') |
|
60 register_types_ns3_Config(nested_module) |
|
61 |
|
62 |
|
63 ## Register a nested module for the namespace olsr |
|
64 |
|
65 nested_module = module.add_cpp_namespace('olsr') |
|
66 register_types_ns3_olsr(nested_module) |
|
67 |
|
68 |
|
69 def register_types_ns3_internal(module): |
|
70 root_module = module.get_root() |
|
71 |
|
72 |
|
73 def register_types_ns3_TimeStepPrecision(module): |
|
74 root_module = module.get_root() |
|
75 |
|
76 |
|
77 def register_types_ns3_Config(module): |
|
78 root_module = module.get_root() |
|
79 |
|
80 |
|
81 def register_types_ns3_olsr(module): |
|
82 root_module = module.get_root() |
|
83 |
|
84 |
|
85 def register_methods(root_module): |
|
86 register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer']) |
|
87 register_Ns3BridgeHelper_methods(root_module, root_module['ns3::BridgeHelper']) |
|
88 register_Ns3CsmaHelper_methods(root_module, root_module['ns3::CsmaHelper']) |
|
89 register_Ns3InternetStackHelper_methods(root_module, root_module['ns3::InternetStackHelper']) |
|
90 register_Ns3Ipv4AddressHelper_methods(root_module, root_module['ns3::Ipv4AddressHelper']) |
|
91 register_Ns3Ipv4InterfaceContainer_methods(root_module, root_module['ns3::Ipv4InterfaceContainer']) |
|
92 register_Ns3MobilityHelper_methods(root_module, root_module['ns3::MobilityHelper']) |
|
93 register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer']) |
|
94 register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer']) |
|
95 register_Ns3Ns2MobilityHelper_methods(root_module, root_module['ns3::Ns2MobilityHelper']) |
|
96 register_Ns3OlsrHelper_methods(root_module, root_module['ns3::OlsrHelper']) |
|
97 register_Ns3OnOffHelper_methods(root_module, root_module['ns3::OnOffHelper']) |
|
98 register_Ns3PacketSinkHelper_methods(root_module, root_module['ns3::PacketSinkHelper']) |
|
99 register_Ns3PacketSocketHelper_methods(root_module, root_module['ns3::PacketSocketHelper']) |
|
100 register_Ns3PointToPointHelper_methods(root_module, root_module['ns3::PointToPointHelper']) |
|
101 register_Ns3StaticMulticastRouteHelper_methods(root_module, root_module['ns3::StaticMulticastRouteHelper']) |
|
102 register_Ns3UdpEchoClientHelper_methods(root_module, root_module['ns3::UdpEchoClientHelper']) |
|
103 register_Ns3UdpEchoServerHelper_methods(root_module, root_module['ns3::UdpEchoServerHelper']) |
|
104 register_Ns3WifiHelper_methods(root_module, root_module['ns3::WifiHelper']) |
|
105 return |
|
106 |
|
107 def register_Ns3ApplicationContainer_methods(root_module, cls): |
|
108 ## application-container.h: ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor] |
|
109 cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')]) |
|
110 ## application-container.h: ns3::ApplicationContainer::ApplicationContainer() [constructor] |
|
111 cls.add_constructor([]) |
|
112 ## application-container.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Application>*,std::vector<ns3::Ptr<ns3::Application>, std::allocator<ns3::Ptr<ns3::Application> > > > ns3::ApplicationContainer::Begin() const [member function] |
|
113 cls.add_method('Begin', |
|
114 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >', |
|
115 [], |
|
116 is_const=True) |
|
117 ## application-container.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Application>*,std::vector<ns3::Ptr<ns3::Application>, std::allocator<ns3::Ptr<ns3::Application> > > > ns3::ApplicationContainer::End() const [member function] |
|
118 cls.add_method('End', |
|
119 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >', |
|
120 [], |
|
121 is_const=True) |
|
122 ## application-container.h: uint32_t ns3::ApplicationContainer::GetN() const [member function] |
|
123 cls.add_method('GetN', |
|
124 'uint32_t', |
|
125 [], |
|
126 is_const=True) |
|
127 ## application-container.h: ns3::Ptr<ns3::Application> ns3::ApplicationContainer::Get(uint32_t i) const [member function] |
|
128 cls.add_method('Get', |
|
129 'ns3::Ptr< ns3::Application >', |
|
130 [param('uint32_t', 'i')], |
|
131 is_const=True) |
|
132 ## application-container.h: void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function] |
|
133 cls.add_method('Add', |
|
134 'void', |
|
135 [param('ns3::ApplicationContainer', 'other')]) |
|
136 ## application-container.h: void ns3::ApplicationContainer::Add(ns3::Ptr<ns3::Application> application) [member function] |
|
137 cls.add_method('Add', |
|
138 'void', |
|
139 [param('ns3::Ptr< ns3::Application >', 'application')]) |
|
140 ## application-container.h: void ns3::ApplicationContainer::Start(ns3::Time start) [member function] |
|
141 cls.add_method('Start', |
|
142 'void', |
|
143 [param('ns3::Time', 'start')]) |
|
144 ## application-container.h: void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function] |
|
145 cls.add_method('Stop', |
|
146 'void', |
|
147 [param('ns3::Time', 'stop')]) |
|
148 return |
|
149 |
|
150 def register_Ns3BridgeHelper_methods(root_module, cls): |
|
151 ## bridge-helper.h: ns3::BridgeHelper::BridgeHelper(ns3::BridgeHelper const & arg0) [copy constructor] |
|
152 cls.add_constructor([param('ns3::BridgeHelper const &', 'arg0')]) |
|
153 ## bridge-helper.h: ns3::BridgeHelper::BridgeHelper() [constructor] |
|
154 cls.add_constructor([]) |
|
155 ## bridge-helper.h: void ns3::BridgeHelper::SetDeviceAttribute(std::string n1, ns3::AttributeValue const & v1) [member function] |
|
156 cls.add_method('SetDeviceAttribute', |
|
157 'void', |
|
158 [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) |
|
159 ## bridge-helper.h: ns3::NetDeviceContainer ns3::BridgeHelper::Install(ns3::Ptr<ns3::Node> node, ns3::NetDeviceContainer c) [member function] |
|
160 cls.add_method('Install', |
|
161 'ns3::NetDeviceContainer', |
|
162 [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::NetDeviceContainer', 'c')]) |
|
163 return |
|
164 |
|
165 def register_Ns3CsmaHelper_methods(root_module, cls): |
|
166 ## csma-helper.h: ns3::CsmaHelper::CsmaHelper(ns3::CsmaHelper const & arg0) [copy constructor] |
|
167 cls.add_constructor([param('ns3::CsmaHelper const &', 'arg0')]) |
|
168 ## csma-helper.h: ns3::CsmaHelper::CsmaHelper() [constructor] |
|
169 cls.add_constructor([]) |
|
170 ## 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] |
|
171 cls.add_method('SetQueue', |
|
172 'void', |
|
173 [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()')]) |
|
174 ## csma-helper.h: void ns3::CsmaHelper::SetDeviceAttribute(std::string n1, ns3::AttributeValue const & v1) [member function] |
|
175 cls.add_method('SetDeviceAttribute', |
|
176 'void', |
|
177 [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) |
|
178 ## csma-helper.h: void ns3::CsmaHelper::SetChannelAttribute(std::string n1, ns3::AttributeValue const & v1) [member function] |
|
179 cls.add_method('SetChannelAttribute', |
|
180 'void', |
|
181 [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) |
|
182 ## csma-helper.h: void ns3::CsmaHelper::SetDeviceParameter(std::string n1, ns3::AttributeValue const & v1) [member function] |
|
183 cls.add_method('SetDeviceParameter', |
|
184 'void', |
|
185 [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')], |
|
186 deprecated=True) |
|
187 ## csma-helper.h: void ns3::CsmaHelper::SetChannelParameter(std::string n1, ns3::AttributeValue const & v1) [member function] |
|
188 cls.add_method('SetChannelParameter', |
|
189 'void', |
|
190 [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')], |
|
191 deprecated=True) |
|
192 ## csma-helper.h: static void ns3::CsmaHelper::EnablePcap(std::string filename, uint32_t nodeid, uint32_t deviceid) [member function] |
|
193 cls.add_method('EnablePcap', |
|
194 'void', |
|
195 [param('std::string', 'filename'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], |
|
196 is_static=True) |
|
197 ## csma-helper.h: static void ns3::CsmaHelper::EnablePcap(std::string filename, ns3::NetDeviceContainer d) [member function] |
|
198 cls.add_method('EnablePcap', |
|
199 'void', |
|
200 [param('std::string', 'filename'), param('ns3::NetDeviceContainer', 'd')], |
|
201 is_static=True) |
|
202 ## csma-helper.h: static void ns3::CsmaHelper::EnablePcap(std::string filename, ns3::NodeContainer n) [member function] |
|
203 cls.add_method('EnablePcap', |
|
204 'void', |
|
205 [param('std::string', 'filename'), param('ns3::NodeContainer', 'n')], |
|
206 is_static=True) |
|
207 ## csma-helper.h: static void ns3::CsmaHelper::EnablePcapAll(std::string filename) [member function] |
|
208 cls.add_method('EnablePcapAll', |
|
209 'void', |
|
210 [param('std::string', 'filename')], |
|
211 is_static=True) |
|
212 ## csma-helper.h: static void ns3::CsmaHelper::EnableAscii(std::ostream & os, uint32_t nodeid, uint32_t deviceid) [member function] |
|
213 cls.add_method('EnableAscii', |
|
214 'void', |
|
215 [param('std::ostream &', 'os'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], |
|
216 is_static=True) |
|
217 ## csma-helper.h: static void ns3::CsmaHelper::EnableAscii(std::ostream & os, ns3::NetDeviceContainer d) [member function] |
|
218 cls.add_method('EnableAscii', |
|
219 'void', |
|
220 [param('std::ostream &', 'os'), param('ns3::NetDeviceContainer', 'd')], |
|
221 is_static=True) |
|
222 ## csma-helper.h: static void ns3::CsmaHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function] |
|
223 cls.add_method('EnableAscii', |
|
224 'void', |
|
225 [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')], |
|
226 is_static=True) |
|
227 ## csma-helper.h: static void ns3::CsmaHelper::EnableAsciiAll(std::ostream & os) [member function] |
|
228 cls.add_method('EnableAsciiAll', |
|
229 'void', |
|
230 [param('std::ostream &', 'os')], |
|
231 is_static=True) |
|
232 ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::NodeContainer const & c) [member function] |
|
233 cls.add_method('Install', |
|
234 'ns3::NetDeviceContainer', |
|
235 [param('ns3::NodeContainer const &', 'c')]) |
|
236 ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::NodeContainer const & c, ns3::Ptr<ns3::CsmaChannel> channel) [member function] |
|
237 cls.add_method('Install', |
|
238 'ns3::NetDeviceContainer', |
|
239 [param('ns3::NodeContainer const &', 'c'), param('ns3::Ptr< ns3::CsmaChannel >', 'channel')]) |
|
240 ## csma-helper.h: void ns3::CsmaHelper::InstallStar(ns3::Ptr<ns3::Node> hub, ns3::NodeContainer spokes, ns3::NetDeviceContainer & hubDevices, ns3::NetDeviceContainer & spokeDevices) [member function] |
|
241 cls.add_method('InstallStar', |
|
242 'void', |
|
243 [param('ns3::Ptr< ns3::Node >', 'hub'), param('ns3::NodeContainer', 'spokes'), param('ns3::NetDeviceContainer &', 'hubDevices'), param('ns3::NetDeviceContainer &', 'spokeDevices')]) |
|
244 return |
|
245 |
|
246 def register_Ns3InternetStackHelper_methods(root_module, cls): |
|
247 ## internet-stack-helper.h: ns3::InternetStackHelper::InternetStackHelper(ns3::InternetStackHelper const & arg0) [copy constructor] |
|
248 cls.add_constructor([param('ns3::InternetStackHelper const &', 'arg0')]) |
|
249 ## internet-stack-helper.h: ns3::InternetStackHelper::InternetStackHelper() [constructor] |
|
250 cls.add_constructor([]) |
|
251 ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(ns3::NodeContainer c) [member function] |
|
252 cls.add_method('Install', |
|
253 'void', |
|
254 [param('ns3::NodeContainer', 'c')]) |
|
255 ## internet-stack-helper.h: void ns3::InternetStackHelper::SetNscStack(std::string soname) [member function] |
|
256 cls.add_method('SetNscStack', |
|
257 'void', |
|
258 [param('std::string', 'soname')]) |
|
259 ## internet-stack-helper.h: static void ns3::InternetStackHelper::EnablePcapAll(std::string filename) [member function] |
|
260 cls.add_method('EnablePcapAll', |
|
261 'void', |
|
262 [param('std::string', 'filename')], |
|
263 is_static=True) |
|
264 return |
|
265 |
|
266 def register_Ns3Ipv4AddressHelper_methods(root_module, cls): |
|
267 ## ipv4-address-helper.h: ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4AddressHelper const & arg0) [copy constructor] |
|
268 cls.add_constructor([param('ns3::Ipv4AddressHelper const &', 'arg0')]) |
|
269 ## ipv4-address-helper.h: ns3::Ipv4AddressHelper::Ipv4AddressHelper() [constructor] |
|
270 cls.add_constructor([]) |
|
271 ## ipv4-address-helper.h: void ns3::Ipv4AddressHelper::SetBase(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [member function] |
|
272 cls.add_method('SetBase', |
|
273 'void', |
|
274 [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')]) |
|
275 ## ipv4-address-helper.h: ns3::Ipv4Address ns3::Ipv4AddressHelper::NewNetwork() [member function] |
|
276 cls.add_method('NewNetwork', |
|
277 'ns3::Ipv4Address', |
|
278 []) |
|
279 ## ipv4-address-helper.h: ns3::Ipv4Address ns3::Ipv4AddressHelper::NewAddress() [member function] |
|
280 cls.add_method('NewAddress', |
|
281 'ns3::Ipv4Address', |
|
282 []) |
|
283 ## ipv4-address-helper.h: ns3::Ipv4InterfaceContainer ns3::Ipv4AddressHelper::Assign(ns3::NetDeviceContainer const & c) [member function] |
|
284 cls.add_method('Assign', |
|
285 'ns3::Ipv4InterfaceContainer', |
|
286 [param('ns3::NetDeviceContainer const &', 'c')]) |
|
287 return |
|
288 |
|
289 def register_Ns3Ipv4InterfaceContainer_methods(root_module, cls): |
|
290 ## ipv4-interface-container.h: ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer(ns3::Ipv4InterfaceContainer const & arg0) [copy constructor] |
|
291 cls.add_constructor([param('ns3::Ipv4InterfaceContainer const &', 'arg0')]) |
|
292 ## ipv4-interface-container.h: ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer() [constructor] |
|
293 cls.add_constructor([]) |
|
294 ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(ns3::Ipv4InterfaceContainer other) [member function] |
|
295 cls.add_method('Add', |
|
296 'void', |
|
297 [param('ns3::Ipv4InterfaceContainer', 'other')]) |
|
298 ## ipv4-interface-container.h: uint32_t ns3::Ipv4InterfaceContainer::GetN() const [member function] |
|
299 cls.add_method('GetN', |
|
300 'uint32_t', |
|
301 [], |
|
302 is_const=True) |
|
303 ## ipv4-interface-container.h: ns3::Ipv4Address ns3::Ipv4InterfaceContainer::GetAddress(uint32_t i) const [member function] |
|
304 cls.add_method('GetAddress', |
|
305 'ns3::Ipv4Address', |
|
306 [param('uint32_t', 'i')], |
|
307 is_const=True) |
|
308 ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::SetMetric(uint32_t i, uint16_t metric) [member function] |
|
309 cls.add_method('SetMetric', |
|
310 'void', |
|
311 [param('uint32_t', 'i'), param('uint16_t', 'metric')]) |
|
312 ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface) [member function] |
|
313 cls.add_method('Add', |
|
314 'void', |
|
315 [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')]) |
|
316 return |
|
317 |
|
318 def register_Ns3MobilityHelper_methods(root_module, cls): |
|
319 ## mobility-helper.h: ns3::MobilityHelper::MobilityHelper(ns3::MobilityHelper const & arg0) [copy constructor] |
|
320 cls.add_constructor([param('ns3::MobilityHelper const &', 'arg0')]) |
|
321 ## mobility-helper.h: ns3::MobilityHelper::MobilityHelper() [constructor] |
|
322 cls.add_constructor([]) |
|
323 ## mobility-helper.h: void ns3::MobilityHelper::SetPositionAllocator(ns3::Ptr<ns3::PositionAllocator> allocator) [member function] |
|
324 cls.add_method('SetPositionAllocator', |
|
325 'void', |
|
326 [param('ns3::Ptr< ns3::PositionAllocator >', 'allocator')]) |
|
327 ## 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] |
|
328 cls.add_method('SetPositionAllocator', |
|
329 'void', |
|
330 [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()')]) |
|
331 ## 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] |
|
332 cls.add_method('SetMobilityModel', |
|
333 'void', |
|
334 [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()')]) |
|
335 ## mobility-helper.h: void ns3::MobilityHelper::PushReferenceMobilityModel(ns3::Ptr<ns3::Object> reference) [member function] |
|
336 cls.add_method('PushReferenceMobilityModel', |
|
337 'void', |
|
338 [param('ns3::Ptr< ns3::Object >', 'reference')]) |
|
339 ## mobility-helper.h: void ns3::MobilityHelper::PopReferenceMobilityModel() [member function] |
|
340 cls.add_method('PopReferenceMobilityModel', |
|
341 'void', |
|
342 []) |
|
343 ## mobility-helper.h: std::string ns3::MobilityHelper::GetMobilityModelType() const [member function] |
|
344 cls.add_method('GetMobilityModelType', |
|
345 'std::string', |
|
346 [], |
|
347 is_const=True) |
|
348 ## mobility-helper.h: void ns3::MobilityHelper::Install(ns3::NodeContainer container) [member function] |
|
349 cls.add_method('Install', |
|
350 'void', |
|
351 [param('ns3::NodeContainer', 'container')]) |
|
352 ## mobility-helper.h: void ns3::MobilityHelper::InstallAll() [member function] |
|
353 cls.add_method('InstallAll', |
|
354 'void', |
|
355 []) |
|
356 ## mobility-helper.h: static void ns3::MobilityHelper::EnableAscii(std::ostream & os, uint32_t nodeid) [member function] |
|
357 cls.add_method('EnableAscii', |
|
358 'void', |
|
359 [param('std::ostream &', 'os'), param('uint32_t', 'nodeid')], |
|
360 is_static=True) |
|
361 ## mobility-helper.h: static void ns3::MobilityHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function] |
|
362 cls.add_method('EnableAscii', |
|
363 'void', |
|
364 [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')], |
|
365 is_static=True) |
|
366 ## mobility-helper.h: static void ns3::MobilityHelper::EnableAsciiAll(std::ostream & os) [member function] |
|
367 cls.add_method('EnableAsciiAll', |
|
368 'void', |
|
369 [param('std::ostream &', 'os')], |
|
370 is_static=True) |
|
371 return |
|
372 |
|
373 def register_Ns3NetDeviceContainer_methods(root_module, cls): |
|
374 ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor] |
|
375 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')]) |
|
376 ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer() [constructor] |
|
377 cls.add_constructor([]) |
|
378 ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr<ns3::NetDevice> dev) [constructor] |
|
379 cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')]) |
|
380 ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor] |
|
381 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')]) |
|
382 ## net-device-container.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::NetDevice>*,std::vector<ns3::Ptr<ns3::NetDevice>, std::allocator<ns3::Ptr<ns3::NetDevice> > > > ns3::NetDeviceContainer::Begin() const [member function] |
|
383 cls.add_method('Begin', |
|
384 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >', |
|
385 [], |
|
386 is_const=True) |
|
387 ## net-device-container.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::NetDevice>*,std::vector<ns3::Ptr<ns3::NetDevice>, std::allocator<ns3::Ptr<ns3::NetDevice> > > > ns3::NetDeviceContainer::End() const [member function] |
|
388 cls.add_method('End', |
|
389 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >', |
|
390 [], |
|
391 is_const=True) |
|
392 ## net-device-container.h: uint32_t ns3::NetDeviceContainer::GetN() const [member function] |
|
393 cls.add_method('GetN', |
|
394 'uint32_t', |
|
395 [], |
|
396 is_const=True) |
|
397 ## net-device-container.h: ns3::Ptr<ns3::NetDevice> ns3::NetDeviceContainer::Get(uint32_t i) const [member function] |
|
398 cls.add_method('Get', |
|
399 'ns3::Ptr< ns3::NetDevice >', |
|
400 [param('uint32_t', 'i')], |
|
401 is_const=True) |
|
402 ## net-device-container.h: void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function] |
|
403 cls.add_method('Add', |
|
404 'void', |
|
405 [param('ns3::NetDeviceContainer', 'other')]) |
|
406 ## net-device-container.h: void ns3::NetDeviceContainer::Add(ns3::Ptr<ns3::NetDevice> device) [member function] |
|
407 cls.add_method('Add', |
|
408 'void', |
|
409 [param('ns3::Ptr< ns3::NetDevice >', 'device')]) |
|
410 return |
|
411 |
|
412 def register_Ns3NodeContainer_methods(root_module, cls): |
|
413 ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor] |
|
414 cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')]) |
|
415 ## node-container.h: ns3::NodeContainer::NodeContainer() [constructor] |
|
416 cls.add_constructor([]) |
|
417 ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor] |
|
418 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')]) |
|
419 ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor] |
|
420 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')]) |
|
421 ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor] |
|
422 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')]) |
|
423 ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c, ns3::NodeContainer const & d) [constructor] |
|
424 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')]) |
|
425 ## node-container.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Node>*,std::vector<ns3::Ptr<ns3::Node>, std::allocator<ns3::Ptr<ns3::Node> > > > ns3::NodeContainer::Begin() const [member function] |
|
426 cls.add_method('Begin', |
|
427 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', |
|
428 [], |
|
429 is_const=True) |
|
430 ## node-container.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Node>*,std::vector<ns3::Ptr<ns3::Node>, std::allocator<ns3::Ptr<ns3::Node> > > > ns3::NodeContainer::End() const [member function] |
|
431 cls.add_method('End', |
|
432 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', |
|
433 [], |
|
434 is_const=True) |
|
435 ## node-container.h: uint32_t ns3::NodeContainer::GetN() const [member function] |
|
436 cls.add_method('GetN', |
|
437 'uint32_t', |
|
438 [], |
|
439 is_const=True) |
|
440 ## node-container.h: ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function] |
|
441 cls.add_method('Get', |
|
442 'ns3::Ptr< ns3::Node >', |
|
443 [param('uint32_t', 'i')], |
|
444 is_const=True) |
|
445 ## node-container.h: void ns3::NodeContainer::Create(uint32_t n) [member function] |
|
446 cls.add_method('Create', |
|
447 'void', |
|
448 [param('uint32_t', 'n')]) |
|
449 ## node-container.h: void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function] |
|
450 cls.add_method('Add', |
|
451 'void', |
|
452 [param('ns3::NodeContainer', 'other')]) |
|
453 ## node-container.h: void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function] |
|
454 cls.add_method('Add', |
|
455 'void', |
|
456 [param('ns3::Ptr< ns3::Node >', 'node')]) |
|
457 ## node-container.h: static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function] |
|
458 cls.add_method('GetGlobal', |
|
459 'ns3::NodeContainer', |
|
460 [], |
|
461 is_static=True) |
|
462 return |
|
463 |
|
464 def register_Ns3Ns2MobilityHelper_methods(root_module, cls): |
|
465 ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper::Ns2MobilityHelper(ns3::Ns2MobilityHelper const & arg0) [copy constructor] |
|
466 cls.add_constructor([param('ns3::Ns2MobilityHelper const &', 'arg0')]) |
|
467 ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper::Ns2MobilityHelper(std::string filename) [constructor] |
|
468 cls.add_constructor([param('std::string', 'filename')]) |
|
469 ## ns2-mobility-helper.h: void ns3::Ns2MobilityHelper::Install() const [member function] |
|
470 cls.add_method('Install', |
|
471 'void', |
|
472 [], |
|
473 is_const=True) |
|
474 return |
|
475 |
|
476 def register_Ns3OlsrHelper_methods(root_module, cls): |
|
477 ## olsr-helper.h: ns3::OlsrHelper::OlsrHelper(ns3::OlsrHelper const & arg0) [copy constructor] |
|
478 cls.add_constructor([param('ns3::OlsrHelper const &', 'arg0')]) |
|
479 ## olsr-helper.h: ns3::OlsrHelper::OlsrHelper() [constructor] |
|
480 cls.add_constructor([]) |
|
481 ## 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] |
|
482 cls.add_method('SetAgent', |
|
483 'void', |
|
484 [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()')]) |
|
485 ## olsr-helper.h: void ns3::OlsrHelper::Install(ns3::NodeContainer container) [member function] |
|
486 cls.add_method('Install', |
|
487 'void', |
|
488 [param('ns3::NodeContainer', 'container')]) |
|
489 ## olsr-helper.h: void ns3::OlsrHelper::Install(ns3::Ptr<ns3::Node> node) [member function] |
|
490 cls.add_method('Install', |
|
491 'void', |
|
492 [param('ns3::Ptr< ns3::Node >', 'node')]) |
|
493 ## olsr-helper.h: void ns3::OlsrHelper::InstallAll() [member function] |
|
494 cls.add_method('InstallAll', |
|
495 'void', |
|
496 []) |
|
497 return |
|
498 |
|
499 def register_Ns3OnOffHelper_methods(root_module, cls): |
|
500 ## on-off-helper.h: ns3::OnOffHelper::OnOffHelper(ns3::OnOffHelper const & arg0) [copy constructor] |
|
501 cls.add_constructor([param('ns3::OnOffHelper const &', 'arg0')]) |
|
502 ## on-off-helper.h: ns3::OnOffHelper::OnOffHelper(std::string protocol, ns3::Address address) [constructor] |
|
503 cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')]) |
|
504 ## on-off-helper.h: void ns3::OnOffHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] |
|
505 cls.add_method('SetAttribute', |
|
506 'void', |
|
507 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) |
|
508 ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(ns3::NodeContainer c) [member function] |
|
509 cls.add_method('Install', |
|
510 'ns3::ApplicationContainer', |
|
511 [param('ns3::NodeContainer', 'c')]) |
|
512 return |
|
513 |
|
514 def register_Ns3PacketSinkHelper_methods(root_module, cls): |
|
515 ## packet-sink-helper.h: ns3::PacketSinkHelper::PacketSinkHelper(ns3::PacketSinkHelper const & arg0) [copy constructor] |
|
516 cls.add_constructor([param('ns3::PacketSinkHelper const &', 'arg0')]) |
|
517 ## packet-sink-helper.h: ns3::PacketSinkHelper::PacketSinkHelper(std::string protocol, ns3::Address address) [constructor] |
|
518 cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')]) |
|
519 ## packet-sink-helper.h: void ns3::PacketSinkHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] |
|
520 cls.add_method('SetAttribute', |
|
521 'void', |
|
522 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) |
|
523 ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(ns3::NodeContainer c) [member function] |
|
524 cls.add_method('Install', |
|
525 'ns3::ApplicationContainer', |
|
526 [param('ns3::NodeContainer', 'c')]) |
|
527 return |
|
528 |
|
529 def register_Ns3PacketSocketHelper_methods(root_module, cls): |
|
530 ## packet-socket-helper.h: ns3::PacketSocketHelper::PacketSocketHelper(ns3::PacketSocketHelper const & arg0) [copy constructor] |
|
531 cls.add_constructor([param('ns3::PacketSocketHelper const &', 'arg0')]) |
|
532 ## packet-socket-helper.h: ns3::PacketSocketHelper::PacketSocketHelper() [constructor] |
|
533 cls.add_constructor([]) |
|
534 ## packet-socket-helper.h: void ns3::PacketSocketHelper::Install(ns3::NodeContainer c) [member function] |
|
535 cls.add_method('Install', |
|
536 'void', |
|
537 [param('ns3::NodeContainer', 'c')]) |
|
538 return |
|
539 |
|
540 def register_Ns3PointToPointHelper_methods(root_module, cls): |
|
541 ## point-to-point-helper.h: ns3::PointToPointHelper::PointToPointHelper(ns3::PointToPointHelper const & arg0) [copy constructor] |
|
542 cls.add_constructor([param('ns3::PointToPointHelper const &', 'arg0')]) |
|
543 ## point-to-point-helper.h: ns3::PointToPointHelper::PointToPointHelper() [constructor] |
|
544 cls.add_constructor([]) |
|
545 ## 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] |
|
546 cls.add_method('SetQueue', |
|
547 'void', |
|
548 [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()')]) |
|
549 ## point-to-point-helper.h: void ns3::PointToPointHelper::SetDeviceAttribute(std::string name, ns3::AttributeValue const & value) [member function] |
|
550 cls.add_method('SetDeviceAttribute', |
|
551 'void', |
|
552 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) |
|
553 ## point-to-point-helper.h: void ns3::PointToPointHelper::SetChannelAttribute(std::string name, ns3::AttributeValue const & value) [member function] |
|
554 cls.add_method('SetChannelAttribute', |
|
555 'void', |
|
556 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) |
|
557 ## point-to-point-helper.h: void ns3::PointToPointHelper::SetDeviceParameter(std::string name, ns3::AttributeValue const & value) [member function] |
|
558 cls.add_method('SetDeviceParameter', |
|
559 'void', |
|
560 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')], |
|
561 deprecated=True) |
|
562 ## point-to-point-helper.h: void ns3::PointToPointHelper::SetChannelParameter(std::string name, ns3::AttributeValue const & value) [member function] |
|
563 cls.add_method('SetChannelParameter', |
|
564 'void', |
|
565 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')], |
|
566 deprecated=True) |
|
567 ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcap(std::string filename, uint32_t nodeid, uint32_t deviceid) [member function] |
|
568 cls.add_method('EnablePcap', |
|
569 'void', |
|
570 [param('std::string', 'filename'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], |
|
571 is_static=True) |
|
572 ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcap(std::string filename, ns3::NetDeviceContainer d) [member function] |
|
573 cls.add_method('EnablePcap', |
|
574 'void', |
|
575 [param('std::string', 'filename'), param('ns3::NetDeviceContainer', 'd')], |
|
576 is_static=True) |
|
577 ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcap(std::string filename, ns3::NodeContainer n) [member function] |
|
578 cls.add_method('EnablePcap', |
|
579 'void', |
|
580 [param('std::string', 'filename'), param('ns3::NodeContainer', 'n')], |
|
581 is_static=True) |
|
582 ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcapAll(std::string filename) [member function] |
|
583 cls.add_method('EnablePcapAll', |
|
584 'void', |
|
585 [param('std::string', 'filename')], |
|
586 is_static=True) |
|
587 ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnableAscii(std::ostream & os, uint32_t nodeid, uint32_t deviceid) [member function] |
|
588 cls.add_method('EnableAscii', |
|
589 'void', |
|
590 [param('std::ostream &', 'os'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], |
|
591 is_static=True) |
|
592 ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnableAscii(std::ostream & os, ns3::NetDeviceContainer d) [member function] |
|
593 cls.add_method('EnableAscii', |
|
594 'void', |
|
595 [param('std::ostream &', 'os'), param('ns3::NetDeviceContainer', 'd')], |
|
596 is_static=True) |
|
597 ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function] |
|
598 cls.add_method('EnableAscii', |
|
599 'void', |
|
600 [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')], |
|
601 is_static=True) |
|
602 ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnableAsciiAll(std::ostream & os) [member function] |
|
603 cls.add_method('EnableAsciiAll', |
|
604 'void', |
|
605 [param('std::ostream &', 'os')], |
|
606 is_static=True) |
|
607 ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::NodeContainer c) [member function] |
|
608 cls.add_method('Install', |
|
609 'ns3::NetDeviceContainer', |
|
610 [param('ns3::NodeContainer', 'c')]) |
|
611 ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr<ns3::Node> a, ns3::Ptr<ns3::Node> b) [member function] |
|
612 cls.add_method('Install', |
|
613 'ns3::NetDeviceContainer', |
|
614 [param('ns3::Ptr< ns3::Node >', 'a'), param('ns3::Ptr< ns3::Node >', 'b')]) |
|
615 ## point-to-point-helper.h: void ns3::PointToPointHelper::InstallStar(ns3::Ptr<ns3::Node> hub, ns3::NodeContainer spokes, ns3::NetDeviceContainer & hubDevices, ns3::NetDeviceContainer & spokeDevices) [member function] |
|
616 cls.add_method('InstallStar', |
|
617 'void', |
|
618 [param('ns3::Ptr< ns3::Node >', 'hub'), param('ns3::NodeContainer', 'spokes'), param('ns3::NetDeviceContainer &', 'hubDevices'), param('ns3::NetDeviceContainer &', 'spokeDevices')]) |
|
619 return |
|
620 |
|
621 def register_Ns3StaticMulticastRouteHelper_methods(root_module, cls): |
|
622 ## static-multicast-route-helper.h: ns3::StaticMulticastRouteHelper::StaticMulticastRouteHelper(ns3::StaticMulticastRouteHelper const & arg0) [copy constructor] |
|
623 cls.add_constructor([param('ns3::StaticMulticastRouteHelper const &', 'arg0')]) |
|
624 ## static-multicast-route-helper.h: ns3::StaticMulticastRouteHelper::StaticMulticastRouteHelper() [constructor] |
|
625 cls.add_constructor([]) |
|
626 ## static-multicast-route-helper.h: void ns3::StaticMulticastRouteHelper::AddMulticastRoute(ns3::Ptr<ns3::Node> arg0, ns3::Ipv4Address source, ns3::Ipv4Address group, ns3::Ptr<ns3::NetDevice> input, ns3::NetDeviceContainer output) [member function] |
|
627 cls.add_method('AddMulticastRoute', |
|
628 'void', |
|
629 [param('ns3::Ptr< ns3::Node >', 'arg0'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'group'), param('ns3::Ptr< ns3::NetDevice >', 'input'), param('ns3::NetDeviceContainer', 'output')]) |
|
630 ## static-multicast-route-helper.h: void ns3::StaticMulticastRouteHelper::SetDefaultMulticastRoute(ns3::Ptr<ns3::Node> n, ns3::Ptr<ns3::NetDevice> nd) [member function] |
|
631 cls.add_method('SetDefaultMulticastRoute', |
|
632 'void', |
|
633 [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) |
|
634 ## static-multicast-route-helper.h: void ns3::StaticMulticastRouteHelper::JoinMulticastGroup(ns3::Ptr<ns3::Node> n, ns3::Ipv4Address source, ns3::Ipv4Address group) [member function] |
|
635 cls.add_method('JoinMulticastGroup', |
|
636 'void', |
|
637 [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'group')]) |
|
638 return |
|
639 |
|
640 def register_Ns3UdpEchoClientHelper_methods(root_module, cls): |
|
641 ## udp-echo-helper.h: ns3::UdpEchoClientHelper::UdpEchoClientHelper(ns3::UdpEchoClientHelper const & arg0) [copy constructor] |
|
642 cls.add_constructor([param('ns3::UdpEchoClientHelper const &', 'arg0')]) |
|
643 ## udp-echo-helper.h: ns3::UdpEchoClientHelper::UdpEchoClientHelper(ns3::Ipv4Address ip, uint16_t port) [constructor] |
|
644 cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) |
|
645 ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] |
|
646 cls.add_method('SetAttribute', |
|
647 'void', |
|
648 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) |
|
649 ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(ns3::NodeContainer c) [member function] |
|
650 cls.add_method('Install', |
|
651 'ns3::ApplicationContainer', |
|
652 [param('ns3::NodeContainer', 'c')]) |
|
653 return |
|
654 |
|
655 def register_Ns3UdpEchoServerHelper_methods(root_module, cls): |
|
656 ## udp-echo-helper.h: ns3::UdpEchoServerHelper::UdpEchoServerHelper(ns3::UdpEchoServerHelper const & arg0) [copy constructor] |
|
657 cls.add_constructor([param('ns3::UdpEchoServerHelper const &', 'arg0')]) |
|
658 ## udp-echo-helper.h: ns3::UdpEchoServerHelper::UdpEchoServerHelper(uint16_t port) [constructor] |
|
659 cls.add_constructor([param('uint16_t', 'port')]) |
|
660 ## udp-echo-helper.h: void ns3::UdpEchoServerHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] |
|
661 cls.add_method('SetAttribute', |
|
662 'void', |
|
663 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) |
|
664 ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(ns3::NodeContainer c) [member function] |
|
665 cls.add_method('Install', |
|
666 'ns3::ApplicationContainer', |
|
667 [param('ns3::NodeContainer', 'c')]) |
|
668 return |
|
669 |
|
670 def register_Ns3WifiHelper_methods(root_module, cls): |
|
671 ## wifi-helper.h: ns3::WifiHelper::WifiHelper(ns3::WifiHelper const & arg0) [copy constructor] |
|
672 cls.add_constructor([param('ns3::WifiHelper const &', 'arg0')]) |
|
673 ## wifi-helper.h: ns3::WifiHelper::WifiHelper() [constructor] |
|
674 cls.add_constructor([]) |
|
675 ## 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] |
|
676 cls.add_method('SetRemoteStationManager', |
|
677 'void', |
|
678 [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()')]) |
|
679 ## 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] |
|
680 cls.add_method('SetMac', |
|
681 'void', |
|
682 [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()')]) |
|
683 ## wifi-helper.h: void ns3::WifiHelper::SetPhyAttribute(std::string n0, ns3::AttributeValue const & v0) [member function] |
|
684 cls.add_method('SetPhyAttribute', |
|
685 'void', |
|
686 [param('std::string', 'n0'), param('ns3::AttributeValue const &', 'v0')]) |
|
687 ## wifi-helper.h: static void ns3::WifiHelper::EnablePcap(std::string filename, uint32_t nodeid, uint32_t deviceid) [member function] |
|
688 cls.add_method('EnablePcap', |
|
689 'void', |
|
690 [param('std::string', 'filename'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], |
|
691 is_static=True) |
|
692 ## wifi-helper.h: static void ns3::WifiHelper::EnablePcap(std::string filename, ns3::NetDeviceContainer d) [member function] |
|
693 cls.add_method('EnablePcap', |
|
694 'void', |
|
695 [param('std::string', 'filename'), param('ns3::NetDeviceContainer', 'd')], |
|
696 is_static=True) |
|
697 ## wifi-helper.h: static void ns3::WifiHelper::EnablePcap(std::string filename, ns3::NodeContainer n) [member function] |
|
698 cls.add_method('EnablePcap', |
|
699 'void', |
|
700 [param('std::string', 'filename'), param('ns3::NodeContainer', 'n')], |
|
701 is_static=True) |
|
702 ## wifi-helper.h: static void ns3::WifiHelper::EnablePcapAll(std::string filename) [member function] |
|
703 cls.add_method('EnablePcapAll', |
|
704 'void', |
|
705 [param('std::string', 'filename')], |
|
706 is_static=True) |
|
707 ## wifi-helper.h: static void ns3::WifiHelper::EnableAscii(std::ostream & os, uint32_t nodeid, uint32_t deviceid) [member function] |
|
708 cls.add_method('EnableAscii', |
|
709 'void', |
|
710 [param('std::ostream &', 'os'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], |
|
711 is_static=True) |
|
712 ## wifi-helper.h: static void ns3::WifiHelper::EnableAscii(std::ostream & os, ns3::NetDeviceContainer d) [member function] |
|
713 cls.add_method('EnableAscii', |
|
714 'void', |
|
715 [param('std::ostream &', 'os'), param('ns3::NetDeviceContainer', 'd')], |
|
716 is_static=True) |
|
717 ## wifi-helper.h: static void ns3::WifiHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function] |
|
718 cls.add_method('EnableAscii', |
|
719 'void', |
|
720 [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')], |
|
721 is_static=True) |
|
722 ## wifi-helper.h: static void ns3::WifiHelper::EnableAsciiAll(std::ostream & os) [member function] |
|
723 cls.add_method('EnableAsciiAll', |
|
724 'void', |
|
725 [param('std::ostream &', 'os')], |
|
726 is_static=True) |
|
727 ## wifi-helper.h: ns3::NetDeviceContainer ns3::WifiHelper::Install(ns3::NodeContainer c) const [member function] |
|
728 cls.add_method('Install', |
|
729 'ns3::NetDeviceContainer', |
|
730 [param('ns3::NodeContainer', 'c')], |
|
731 is_const=True) |
|
732 ## wifi-helper.h: ns3::NetDeviceContainer ns3::WifiHelper::Install(ns3::NodeContainer c, ns3::Ptr<ns3::WifiChannel> channel) const [member function] |
|
733 cls.add_method('Install', |
|
734 'ns3::NetDeviceContainer', |
|
735 [param('ns3::NodeContainer', 'c'), param('ns3::Ptr< ns3::WifiChannel >', 'channel')], |
|
736 is_const=True) |
|
737 return |
|
738 |
|
739 def register_functions(root_module): |
|
740 module = root_module |
|
741 register_functions_ns3_internal(module.get_submodule('internal'), root_module) |
|
742 register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) |
|
743 register_functions_ns3_Config(module.get_submodule('Config'), root_module) |
|
744 register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) |
|
745 return |
|
746 |
|
747 def register_functions_ns3_internal(module, root_module): |
|
748 return |
|
749 |
|
750 def register_functions_ns3_TimeStepPrecision(module, root_module): |
|
751 return |
|
752 |
|
753 def register_functions_ns3_Config(module, root_module): |
|
754 return |
|
755 |
|
756 def register_functions_ns3_olsr(module, root_module): |
|
757 return |
|
758 |