author | Tom Henderson <tomh@tomh.org> |
Thu, 02 Jul 2009 21:57:00 -0700 | |
changeset 4646 | c25ca2e38845 |
parent 4608 | 13f3a1412f28 |
permissions | -rw-r--r-- |
4574 | 1 |
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers |
2 |
||
3 |
def register_types(module): |
|
4 |
root_module = module.get_root() |
|
5 |
||
6 |
## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry [class] |
|
7 |
module.add_class('Ipv4MulticastRoutingTableEntry') |
|
8 |
## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry [class] |
|
9 |
module.add_class('Ipv4RoutingTableEntry') |
|
10 |
## ipv4-static-routing.h: ns3::Ipv4StaticRouting [class] |
|
11 |
module.add_class('Ipv4StaticRouting', parent=root_module['ns3::Ipv4RoutingProtocol']) |
|
12 |
||
13 |
## Register a nested module for the namespace Config |
|
14 |
||
15 |
nested_module = module.add_cpp_namespace('Config') |
|
16 |
register_types_ns3_Config(nested_module) |
|
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 |
||
25 |
## Register a nested module for the namespace addressUtils |
|
26 |
||
27 |
nested_module = module.add_cpp_namespace('addressUtils') |
|
28 |
register_types_ns3_addressUtils(nested_module) |
|
29 |
||
30 |
||
31 |
## Register a nested module for the namespace internal |
|
32 |
||
33 |
nested_module = module.add_cpp_namespace('internal') |
|
34 |
register_types_ns3_internal(nested_module) |
|
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 |
||
43 |
def register_types_ns3_Config(module): |
|
44 |
root_module = module.get_root() |
|
45 |
||
46 |
||
47 |
def register_types_ns3_TimeStepPrecision(module): |
|
48 |
root_module = module.get_root() |
|
49 |
||
50 |
||
51 |
def register_types_ns3_addressUtils(module): |
|
52 |
root_module = module.get_root() |
|
53 |
||
54 |
||
55 |
def register_types_ns3_internal(module): |
|
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): |
|
64 |
register_Ns3Ipv4MulticastRoutingTableEntry_methods(root_module, root_module['ns3::Ipv4MulticastRoutingTableEntry']) |
|
65 |
register_Ns3Ipv4RoutingTableEntry_methods(root_module, root_module['ns3::Ipv4RoutingTableEntry']) |
|
66 |
register_Ns3Ipv4StaticRouting_methods(root_module, root_module['ns3::Ipv4StaticRouting']) |
|
67 |
return |
|
68 |
||
69 |
def register_Ns3Ipv4MulticastRoutingTableEntry_methods(root_module, cls): |
|
70 |
cls.add_output_stream_operator() |
|
71 |
## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry::Ipv4MulticastRoutingTableEntry() [constructor] |
|
72 |
cls.add_constructor([]) |
|
73 |
## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry::Ipv4MulticastRoutingTableEntry(ns3::Ipv4MulticastRoutingTableEntry const & route) [copy constructor] |
|
74 |
cls.add_constructor([param('ns3::Ipv4MulticastRoutingTableEntry const &', 'route')]) |
|
75 |
## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry::Ipv4MulticastRoutingTableEntry(ns3::Ipv4MulticastRoutingTableEntry const * route) [constructor] |
|
76 |
cls.add_constructor([param('ns3::Ipv4MulticastRoutingTableEntry const *', 'route')]) |
|
77 |
## ipv4-routing-table-entry.h: static ns3::Ipv4MulticastRoutingTableEntry ns3::Ipv4MulticastRoutingTableEntry::CreateMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface, std::vector<unsigned int, std::allocator<unsigned int> > outputInterfaces) [member function] |
|
78 |
cls.add_method('CreateMulticastRoute', |
|
79 |
'ns3::Ipv4MulticastRoutingTableEntry', |
|
80 |
[param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int >', 'outputInterfaces')], |
|
81 |
is_static=True) |
|
82 |
## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4MulticastRoutingTableEntry::GetGroup() const [member function] |
|
83 |
cls.add_method('GetGroup', |
|
84 |
'ns3::Ipv4Address', |
|
85 |
[], |
|
86 |
is_const=True) |
|
87 |
## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4MulticastRoutingTableEntry::GetInputInterface() const [member function] |
|
88 |
cls.add_method('GetInputInterface', |
|
89 |
'uint32_t', |
|
90 |
[], |
|
91 |
is_const=True) |
|
92 |
## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4MulticastRoutingTableEntry::GetNOutputInterfaces() const [member function] |
|
93 |
cls.add_method('GetNOutputInterfaces', |
|
94 |
'uint32_t', |
|
95 |
[], |
|
96 |
is_const=True) |
|
97 |
## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4MulticastRoutingTableEntry::GetOrigin() const [member function] |
|
98 |
cls.add_method('GetOrigin', |
|
99 |
'ns3::Ipv4Address', |
|
100 |
[], |
|
101 |
is_const=True) |
|
102 |
## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4MulticastRoutingTableEntry::GetOutputInterface(uint32_t n) const [member function] |
|
103 |
cls.add_method('GetOutputInterface', |
|
104 |
'uint32_t', |
|
105 |
[param('uint32_t', 'n')], |
|
106 |
is_const=True) |
|
107 |
## ipv4-routing-table-entry.h: std::vector<unsigned int, std::allocator<unsigned int> > ns3::Ipv4MulticastRoutingTableEntry::GetOutputInterfaces() const [member function] |
|
108 |
cls.add_method('GetOutputInterfaces', |
|
109 |
'std::vector< unsigned int >', |
|
110 |
[], |
|
111 |
is_const=True) |
|
112 |
return |
|
113 |
||
114 |
def register_Ns3Ipv4RoutingTableEntry_methods(root_module, cls): |
|
115 |
cls.add_output_stream_operator() |
|
116 |
## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry::Ipv4RoutingTableEntry() [constructor] |
|
117 |
cls.add_constructor([]) |
|
118 |
## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry::Ipv4RoutingTableEntry(ns3::Ipv4RoutingTableEntry const & route) [copy constructor] |
|
119 |
cls.add_constructor([param('ns3::Ipv4RoutingTableEntry const &', 'route')]) |
|
120 |
## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry::Ipv4RoutingTableEntry(ns3::Ipv4RoutingTableEntry const * route) [constructor] |
|
121 |
cls.add_constructor([param('ns3::Ipv4RoutingTableEntry const *', 'route')]) |
|
122 |
## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function] |
|
123 |
cls.add_method('CreateDefaultRoute', |
|
124 |
'ns3::Ipv4RoutingTableEntry', |
|
125 |
[param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], |
|
126 |
is_static=True) |
|
127 |
## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function] |
|
128 |
cls.add_method('CreateHostRouteTo', |
|
129 |
'ns3::Ipv4RoutingTableEntry', |
|
130 |
[param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], |
|
131 |
is_static=True) |
|
132 |
## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function] |
|
133 |
cls.add_method('CreateHostRouteTo', |
|
134 |
'ns3::Ipv4RoutingTableEntry', |
|
135 |
[param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')], |
|
136 |
is_static=True) |
|
137 |
## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function] |
|
138 |
cls.add_method('CreateNetworkRouteTo', |
|
139 |
'ns3::Ipv4RoutingTableEntry', |
|
140 |
[param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], |
|
141 |
is_static=True) |
|
142 |
## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function] |
|
143 |
cls.add_method('CreateNetworkRouteTo', |
|
144 |
'ns3::Ipv4RoutingTableEntry', |
|
145 |
[param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')], |
|
146 |
is_static=True) |
|
147 |
## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4RoutingTableEntry::GetDest() const [member function] |
|
148 |
cls.add_method('GetDest', |
|
149 |
'ns3::Ipv4Address', |
|
150 |
[], |
|
151 |
is_const=True) |
|
152 |
## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4RoutingTableEntry::GetDestNetwork() const [member function] |
|
153 |
cls.add_method('GetDestNetwork', |
|
154 |
'ns3::Ipv4Address', |
|
155 |
[], |
|
156 |
is_const=True) |
|
157 |
## ipv4-routing-table-entry.h: ns3::Ipv4Mask ns3::Ipv4RoutingTableEntry::GetDestNetworkMask() const [member function] |
|
158 |
cls.add_method('GetDestNetworkMask', |
|
159 |
'ns3::Ipv4Mask', |
|
160 |
[], |
|
161 |
is_const=True) |
|
162 |
## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4RoutingTableEntry::GetGateway() const [member function] |
|
163 |
cls.add_method('GetGateway', |
|
164 |
'ns3::Ipv4Address', |
|
165 |
[], |
|
166 |
is_const=True) |
|
167 |
## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4RoutingTableEntry::GetInterface() const [member function] |
|
168 |
cls.add_method('GetInterface', |
|
169 |
'uint32_t', |
|
170 |
[], |
|
171 |
is_const=True) |
|
172 |
## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsDefault() const [member function] |
|
173 |
cls.add_method('IsDefault', |
|
174 |
'bool', |
|
175 |
[], |
|
176 |
is_const=True) |
|
177 |
## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsGateway() const [member function] |
|
178 |
cls.add_method('IsGateway', |
|
179 |
'bool', |
|
180 |
[], |
|
181 |
is_const=True) |
|
182 |
## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsHost() const [member function] |
|
183 |
cls.add_method('IsHost', |
|
184 |
'bool', |
|
185 |
[], |
|
186 |
is_const=True) |
|
187 |
## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsNetwork() const [member function] |
|
188 |
cls.add_method('IsNetwork', |
|
189 |
'bool', |
|
190 |
[], |
|
191 |
is_const=True) |
|
192 |
return |
|
193 |
||
194 |
def register_Ns3Ipv4StaticRouting_methods(root_module, cls): |
|
195 |
## ipv4-static-routing.h: ns3::Ipv4StaticRouting::Ipv4StaticRouting(ns3::Ipv4StaticRouting const & arg0) [copy constructor] |
|
196 |
cls.add_constructor([param('ns3::Ipv4StaticRouting const &', 'arg0')]) |
|
197 |
## ipv4-static-routing.h: static ns3::TypeId ns3::Ipv4StaticRouting::GetTypeId() [member function] |
|
198 |
cls.add_method('GetTypeId', |
|
199 |
'ns3::TypeId', |
|
200 |
[], |
|
201 |
is_static=True) |
|
202 |
## ipv4-static-routing.h: ns3::Ipv4StaticRouting::Ipv4StaticRouting() [constructor] |
|
203 |
cls.add_constructor([]) |
|
4604
98cb594222af
rescan bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4574
diff
changeset
|
204 |
## ipv4-static-routing.h: ns3::Ptr<ns3::Ipv4Route> ns3::Ipv4StaticRouting::RouteOutput(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Header const & header, uint32_t oif, ns3::Socket::SocketErrno & sockerr) [member function] |
4574 | 205 |
cls.add_method('RouteOutput', |
206 |
'ns3::Ptr< ns3::Ipv4Route >', |
|
4604
98cb594222af
rescan bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4574
diff
changeset
|
207 |
[param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('uint32_t', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], |
4574 | 208 |
is_virtual=True) |
4608
13f3a1412f28
update bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4604
diff
changeset
|
209 |
## ipv4-static-routing.h: bool ns3::Ipv4StaticRouting::RouteInput(ns3::Ptr<ns3::Packet const> p, ns3::Ipv4Header const & header, ns3::Ptr<const ns3::NetDevice> idev, ns3::Callback<void,ns3::Ptr<ns3::Ipv4Route>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback<void,ns3::Ptr<ns3::Ipv4MulticastRoute>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::Socket::SocketErrno,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function] |
4574 | 210 |
cls.add_method('RouteInput', |
211 |
'bool', |
|
4608
13f3a1412f28
update bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4604
diff
changeset
|
212 |
[param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], |
4574 | 213 |
is_virtual=True) |
214 |
## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::NotifyInterfaceUp(uint32_t interface) [member function] |
|
215 |
cls.add_method('NotifyInterfaceUp', |
|
216 |
'void', |
|
217 |
[param('uint32_t', 'interface')], |
|
218 |
is_virtual=True) |
|
219 |
## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::NotifyInterfaceDown(uint32_t interface) [member function] |
|
220 |
cls.add_method('NotifyInterfaceDown', |
|
221 |
'void', |
|
222 |
[param('uint32_t', 'interface')], |
|
223 |
is_virtual=True) |
|
224 |
## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] |
|
225 |
cls.add_method('NotifyAddAddress', |
|
226 |
'void', |
|
227 |
[param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], |
|
228 |
is_virtual=True) |
|
229 |
## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] |
|
230 |
cls.add_method('NotifyRemoveAddress', |
|
231 |
'void', |
|
232 |
[param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], |
|
233 |
is_virtual=True) |
|
234 |
## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::SetIpv4(ns3::Ptr<ns3::Ipv4> ipv4) [member function] |
|
235 |
cls.add_method('SetIpv4', |
|
236 |
'void', |
|
237 |
[param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], |
|
238 |
is_virtual=True) |
|
239 |
## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function] |
|
240 |
cls.add_method('AddHostRouteTo', |
|
241 |
'void', |
|
242 |
[param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')]) |
|
243 |
## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function] |
|
244 |
cls.add_method('AddHostRouteTo', |
|
245 |
'void', |
|
246 |
[param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')]) |
|
247 |
## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function] |
|
248 |
cls.add_method('AddNetworkRouteTo', |
|
249 |
'void', |
|
250 |
[param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')]) |
|
251 |
## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function] |
|
252 |
cls.add_method('AddNetworkRouteTo', |
|
253 |
'void', |
|
254 |
[param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')]) |
|
255 |
## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::SetDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function] |
|
256 |
cls.add_method('SetDefaultRoute', |
|
257 |
'void', |
|
258 |
[param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')]) |
|
259 |
## ipv4-static-routing.h: uint32_t ns3::Ipv4StaticRouting::GetNRoutes() [member function] |
|
260 |
cls.add_method('GetNRoutes', |
|
261 |
'uint32_t', |
|
262 |
[]) |
|
263 |
## ipv4-static-routing.h: ns3::Ipv4RoutingTableEntry ns3::Ipv4StaticRouting::GetDefaultRoute() [member function] |
|
264 |
cls.add_method('GetDefaultRoute', |
|
265 |
'ns3::Ipv4RoutingTableEntry', |
|
266 |
[]) |
|
267 |
## ipv4-static-routing.h: ns3::Ipv4RoutingTableEntry ns3::Ipv4StaticRouting::GetRoute(uint32_t i) [member function] |
|
268 |
cls.add_method('GetRoute', |
|
269 |
'ns3::Ipv4RoutingTableEntry', |
|
270 |
[param('uint32_t', 'i')]) |
|
271 |
## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::RemoveRoute(uint32_t i) [member function] |
|
272 |
cls.add_method('RemoveRoute', |
|
273 |
'void', |
|
274 |
[param('uint32_t', 'i')]) |
|
275 |
## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface, std::vector<unsigned int, std::allocator<unsigned int> > outputInterfaces) [member function] |
|
276 |
cls.add_method('AddMulticastRoute', |
|
277 |
'void', |
|
278 |
[param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int >', 'outputInterfaces')]) |
|
279 |
## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::SetDefaultMulticastRoute(uint32_t outputInterface) [member function] |
|
280 |
cls.add_method('SetDefaultMulticastRoute', |
|
281 |
'void', |
|
282 |
[param('uint32_t', 'outputInterface')]) |
|
283 |
## ipv4-static-routing.h: uint32_t ns3::Ipv4StaticRouting::GetNMulticastRoutes() const [member function] |
|
284 |
cls.add_method('GetNMulticastRoutes', |
|
285 |
'uint32_t', |
|
286 |
[], |
|
287 |
is_const=True) |
|
288 |
## ipv4-static-routing.h: ns3::Ipv4MulticastRoutingTableEntry ns3::Ipv4StaticRouting::GetMulticastRoute(uint32_t i) const [member function] |
|
289 |
cls.add_method('GetMulticastRoute', |
|
290 |
'ns3::Ipv4MulticastRoutingTableEntry', |
|
291 |
[param('uint32_t', 'i')], |
|
292 |
is_const=True) |
|
293 |
## ipv4-static-routing.h: bool ns3::Ipv4StaticRouting::RemoveMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface) [member function] |
|
294 |
cls.add_method('RemoveMulticastRoute', |
|
295 |
'bool', |
|
296 |
[param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface')]) |
|
297 |
## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::RemoveMulticastRoute(uint32_t index) [member function] |
|
298 |
cls.add_method('RemoveMulticastRoute', |
|
299 |
'void', |
|
300 |
[param('uint32_t', 'index')]) |
|
301 |
## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::DoDispose() [member function] |
|
302 |
cls.add_method('DoDispose', |
|
303 |
'void', |
|
304 |
[], |
|
305 |
visibility='protected', is_virtual=True) |
|
306 |
return |
|
307 |
||
308 |
def register_functions(root_module): |
|
309 |
module = root_module |
|
310 |
register_functions_ns3_Config(module.get_submodule('Config'), root_module) |
|
311 |
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) |
|
312 |
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) |
|
313 |
register_functions_ns3_internal(module.get_submodule('internal'), root_module) |
|
314 |
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) |
|
315 |
return |
|
316 |
||
317 |
def register_functions_ns3_Config(module, root_module): |
|
318 |
return |
|
319 |
||
320 |
def register_functions_ns3_TimeStepPrecision(module, root_module): |
|
321 |
return |
|
322 |
||
323 |
def register_functions_ns3_addressUtils(module, root_module): |
|
324 |
return |
|
325 |
||
326 |
def register_functions_ns3_internal(module, root_module): |
|
327 |
return |
|
328 |
||
329 |
def register_functions_ns3_olsr(module, root_module): |
|
330 |
return |
|
331 |