author | Gustavo J. A. M. Carneiro <gjc@inescporto.pt> |
Wed, 18 Nov 2009 12:42:33 +0000 | |
changeset 5754 | 7f0de9a416ea |
parent 5753 | 8c105b521d1b |
child 5841 | 144ef1f94bf2 |
permissions | -rw-r--r-- |
5348 | 1 |
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers |
2 |
||
3 |
def register_types(module): |
|
4 |
root_module = module.get_root() |
|
5 |
||
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
6 |
## simple-ref-count.h: ns3::SimpleRefCount<ns3::RadvdInterface, ns3::empty> [class] |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
7 |
module.add_class('SimpleRefCount', template_parameters=['ns3::RadvdInterface', 'ns3::empty'], parent=root_module['ns3::empty']) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
8 |
## simple-ref-count.h: ns3::SimpleRefCount<ns3::RadvdPrefix, ns3::empty> [class] |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
9 |
module.add_class('SimpleRefCount', template_parameters=['ns3::RadvdPrefix', 'ns3::empty'], parent=root_module['ns3::empty']) |
5348 | 10 |
## radvd.h: ns3::Radvd [class] |
11 |
module.add_class('Radvd', parent=root_module['ns3::Application']) |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
12 |
## radvd-interface.h: ns3::RadvdInterface [class] |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
13 |
module.add_class('RadvdInterface', parent=root_module['ns3::SimpleRefCount< ns3::RadvdInterface, ns3::empty >']) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
14 |
## radvd-prefix.h: ns3::RadvdPrefix [class] |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
15 |
module.add_class('RadvdPrefix', parent=root_module['ns3::SimpleRefCount< ns3::RadvdPrefix, ns3::empty >']) |
5348 | 16 |
|
17 |
## Register a nested module for the namespace Config |
|
18 |
||
19 |
nested_module = module.add_cpp_namespace('Config') |
|
20 |
register_types_ns3_Config(nested_module) |
|
21 |
||
22 |
||
23 |
## Register a nested module for the namespace TimeStepPrecision |
|
24 |
||
25 |
nested_module = module.add_cpp_namespace('TimeStepPrecision') |
|
26 |
register_types_ns3_TimeStepPrecision(nested_module) |
|
27 |
||
28 |
||
29 |
## Register a nested module for the namespace addressUtils |
|
30 |
||
31 |
nested_module = module.add_cpp_namespace('addressUtils') |
|
32 |
register_types_ns3_addressUtils(nested_module) |
|
33 |
||
34 |
||
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
35 |
## Register a nested module for the namespace aodv |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
36 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
37 |
nested_module = module.add_cpp_namespace('aodv') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
38 |
register_types_ns3_aodv(nested_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
39 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
40 |
|
5348 | 41 |
## Register a nested module for the namespace dot11s |
42 |
||
43 |
nested_module = module.add_cpp_namespace('dot11s') |
|
44 |
register_types_ns3_dot11s(nested_module) |
|
45 |
||
46 |
||
47 |
## Register a nested module for the namespace flame |
|
48 |
||
49 |
nested_module = module.add_cpp_namespace('flame') |
|
50 |
register_types_ns3_flame(nested_module) |
|
51 |
||
52 |
||
53 |
## Register a nested module for the namespace internal |
|
54 |
||
55 |
nested_module = module.add_cpp_namespace('internal') |
|
56 |
register_types_ns3_internal(nested_module) |
|
57 |
||
58 |
||
59 |
## Register a nested module for the namespace olsr |
|
60 |
||
61 |
nested_module = module.add_cpp_namespace('olsr') |
|
62 |
register_types_ns3_olsr(nested_module) |
|
63 |
||
64 |
||
65 |
def register_types_ns3_Config(module): |
|
66 |
root_module = module.get_root() |
|
67 |
||
68 |
||
69 |
def register_types_ns3_TimeStepPrecision(module): |
|
70 |
root_module = module.get_root() |
|
71 |
||
72 |
||
73 |
def register_types_ns3_addressUtils(module): |
|
74 |
root_module = module.get_root() |
|
75 |
||
76 |
||
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
77 |
def register_types_ns3_aodv(module): |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
78 |
root_module = module.get_root() |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
79 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
80 |
|
5348 | 81 |
def register_types_ns3_dot11s(module): |
82 |
root_module = module.get_root() |
|
83 |
||
84 |
||
85 |
def register_types_ns3_flame(module): |
|
86 |
root_module = module.get_root() |
|
87 |
||
88 |
||
89 |
def register_types_ns3_internal(module): |
|
90 |
root_module = module.get_root() |
|
91 |
||
92 |
||
93 |
def register_types_ns3_olsr(module): |
|
94 |
root_module = module.get_root() |
|
95 |
||
96 |
||
97 |
def register_methods(root_module): |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
98 |
register_Ns3Radvd_methods(root_module, root_module['ns3::Radvd']) |
5348 | 99 |
register_Ns3RadvdInterface_methods(root_module, root_module['ns3::RadvdInterface']) |
100 |
register_Ns3RadvdPrefix_methods(root_module, root_module['ns3::RadvdPrefix']) |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
101 |
return |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
102 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
103 |
def register_Ns3Radvd_methods(root_module, cls): |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
104 |
## radvd.h: ns3::Radvd::Radvd(ns3::Radvd const & arg0) [copy constructor] |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
105 |
cls.add_constructor([param('ns3::Radvd const &', 'arg0')]) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
106 |
## radvd.h: ns3::Radvd::Radvd() [constructor] |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
107 |
cls.add_constructor([]) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
108 |
## radvd.h: void ns3::Radvd::AddConfiguration(ns3::Ptr<ns3::RadvdInterface> routerInterface) [member function] |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
109 |
cls.add_method('AddConfiguration', |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
110 |
'void', |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
111 |
[param('ns3::Ptr< ns3::RadvdInterface >', 'routerInterface')]) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
112 |
## radvd.h: static ns3::TypeId ns3::Radvd::GetTypeId() [member function] |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
113 |
cls.add_method('GetTypeId', |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
114 |
'ns3::TypeId', |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
115 |
[], |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
116 |
is_static=True) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
117 |
## radvd.h: ns3::Radvd::MAX_RA_DELAY_TIME [variable] |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
118 |
cls.add_static_attribute('MAX_RA_DELAY_TIME', 'uint32_t const', is_const=True) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
119 |
## radvd.h: void ns3::Radvd::DoDispose() [member function] |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
120 |
cls.add_method('DoDispose', |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
121 |
'void', |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
122 |
[], |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
123 |
visibility='protected', is_virtual=True) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
124 |
## radvd.h: void ns3::Radvd::StartApplication() [member function] |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
125 |
cls.add_method('StartApplication', |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
126 |
'void', |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
127 |
[], |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
128 |
visibility='private', is_virtual=True) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
129 |
## radvd.h: void ns3::Radvd::StopApplication() [member function] |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
130 |
cls.add_method('StopApplication', |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
131 |
'void', |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
132 |
[], |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
133 |
visibility='private', is_virtual=True) |
5348 | 134 |
return |
135 |
||
136 |
def register_Ns3RadvdInterface_methods(root_module, cls): |
|
137 |
## radvd-interface.h: ns3::RadvdInterface::RadvdInterface(ns3::RadvdInterface const & arg0) [copy constructor] |
|
138 |
cls.add_constructor([param('ns3::RadvdInterface const &', 'arg0')]) |
|
139 |
## radvd-interface.h: ns3::RadvdInterface::RadvdInterface(uint32_t interface) [constructor] |
|
140 |
cls.add_constructor([param('uint32_t', 'interface')]) |
|
141 |
## radvd-interface.h: ns3::RadvdInterface::RadvdInterface(uint32_t interface, uint32_t maxRtrAdvInterval, uint32_t minRtrAdvInterval) [constructor] |
|
142 |
cls.add_constructor([param('uint32_t', 'interface'), param('uint32_t', 'maxRtrAdvInterval'), param('uint32_t', 'minRtrAdvInterval')]) |
|
143 |
## radvd-interface.h: void ns3::RadvdInterface::AddPrefix(ns3::Ptr<ns3::RadvdPrefix> routerPrefix) [member function] |
|
144 |
cls.add_method('AddPrefix', |
|
145 |
'void', |
|
146 |
[param('ns3::Ptr< ns3::RadvdPrefix >', 'routerPrefix')]) |
|
147 |
## radvd-interface.h: uint8_t ns3::RadvdInterface::GetCurHopLimit() const [member function] |
|
148 |
cls.add_method('GetCurHopLimit', |
|
149 |
'uint8_t', |
|
150 |
[], |
|
151 |
is_const=True) |
|
152 |
## radvd-interface.h: uint32_t ns3::RadvdInterface::GetDefaultLifeTime() const [member function] |
|
153 |
cls.add_method('GetDefaultLifeTime', |
|
154 |
'uint32_t', |
|
155 |
[], |
|
156 |
is_const=True) |
|
157 |
## radvd-interface.h: uint8_t ns3::RadvdInterface::GetDefaultPreference() const [member function] |
|
158 |
cls.add_method('GetDefaultPreference', |
|
159 |
'uint8_t', |
|
160 |
[], |
|
161 |
is_const=True) |
|
162 |
## radvd-interface.h: uint32_t ns3::RadvdInterface::GetHomeAgentLifeTime() const [member function] |
|
163 |
cls.add_method('GetHomeAgentLifeTime', |
|
164 |
'uint32_t', |
|
165 |
[], |
|
166 |
is_const=True) |
|
167 |
## radvd-interface.h: uint32_t ns3::RadvdInterface::GetHomeAgentPreference() const [member function] |
|
168 |
cls.add_method('GetHomeAgentPreference', |
|
169 |
'uint32_t', |
|
170 |
[], |
|
171 |
is_const=True) |
|
172 |
## radvd-interface.h: uint32_t ns3::RadvdInterface::GetInterface() const [member function] |
|
173 |
cls.add_method('GetInterface', |
|
174 |
'uint32_t', |
|
175 |
[], |
|
176 |
is_const=True) |
|
177 |
## radvd-interface.h: uint32_t ns3::RadvdInterface::GetLinkMtu() const [member function] |
|
178 |
cls.add_method('GetLinkMtu', |
|
179 |
'uint32_t', |
|
180 |
[], |
|
181 |
is_const=True) |
|
182 |
## radvd-interface.h: uint32_t ns3::RadvdInterface::GetMaxRtrAdvInterval() const [member function] |
|
183 |
cls.add_method('GetMaxRtrAdvInterval', |
|
184 |
'uint32_t', |
|
185 |
[], |
|
186 |
is_const=True) |
|
187 |
## radvd-interface.h: uint32_t ns3::RadvdInterface::GetMinDelayBetweenRAs() const [member function] |
|
188 |
cls.add_method('GetMinDelayBetweenRAs', |
|
189 |
'uint32_t', |
|
190 |
[], |
|
191 |
is_const=True) |
|
192 |
## radvd-interface.h: uint32_t ns3::RadvdInterface::GetMinRtrAdvInterval() const [member function] |
|
193 |
cls.add_method('GetMinRtrAdvInterval', |
|
194 |
'uint32_t', |
|
195 |
[], |
|
196 |
is_const=True) |
|
197 |
## radvd-interface.h: std::list<ns3::Ptr<ns3::RadvdPrefix>, std::allocator<ns3::Ptr<ns3::RadvdPrefix> > > ns3::RadvdInterface::GetPrefixes() const [member function] |
|
198 |
cls.add_method('GetPrefixes', |
|
199 |
'std::list< ns3::Ptr< ns3::RadvdPrefix > >', |
|
200 |
[], |
|
201 |
is_const=True) |
|
202 |
## radvd-interface.h: uint32_t ns3::RadvdInterface::GetReachableTime() const [member function] |
|
203 |
cls.add_method('GetReachableTime', |
|
204 |
'uint32_t', |
|
205 |
[], |
|
206 |
is_const=True) |
|
207 |
## radvd-interface.h: uint32_t ns3::RadvdInterface::GetRetransTimer() const [member function] |
|
208 |
cls.add_method('GetRetransTimer', |
|
209 |
'uint32_t', |
|
210 |
[], |
|
211 |
is_const=True) |
|
212 |
## radvd-interface.h: bool ns3::RadvdInterface::IsHomeAgentFlag() const [member function] |
|
213 |
cls.add_method('IsHomeAgentFlag', |
|
214 |
'bool', |
|
215 |
[], |
|
216 |
is_const=True) |
|
217 |
## radvd-interface.h: bool ns3::RadvdInterface::IsHomeAgentInfo() const [member function] |
|
218 |
cls.add_method('IsHomeAgentInfo', |
|
219 |
'bool', |
|
220 |
[], |
|
221 |
is_const=True) |
|
222 |
## radvd-interface.h: bool ns3::RadvdInterface::IsIntervalOpt() const [member function] |
|
223 |
cls.add_method('IsIntervalOpt', |
|
224 |
'bool', |
|
225 |
[], |
|
226 |
is_const=True) |
|
227 |
## radvd-interface.h: bool ns3::RadvdInterface::IsManagedFlag() const [member function] |
|
228 |
cls.add_method('IsManagedFlag', |
|
229 |
'bool', |
|
230 |
[], |
|
231 |
is_const=True) |
|
232 |
## radvd-interface.h: bool ns3::RadvdInterface::IsMobRtrSupportFlag() const [member function] |
|
233 |
cls.add_method('IsMobRtrSupportFlag', |
|
234 |
'bool', |
|
235 |
[], |
|
236 |
is_const=True) |
|
237 |
## radvd-interface.h: bool ns3::RadvdInterface::IsOtherConfigFlag() const [member function] |
|
238 |
cls.add_method('IsOtherConfigFlag', |
|
239 |
'bool', |
|
240 |
[], |
|
241 |
is_const=True) |
|
242 |
## radvd-interface.h: bool ns3::RadvdInterface::IsSendAdvert() const [member function] |
|
243 |
cls.add_method('IsSendAdvert', |
|
244 |
'bool', |
|
245 |
[], |
|
246 |
is_const=True) |
|
247 |
## radvd-interface.h: bool ns3::RadvdInterface::IsSourceLLAddress() const [member function] |
|
248 |
cls.add_method('IsSourceLLAddress', |
|
249 |
'bool', |
|
250 |
[], |
|
251 |
is_const=True) |
|
252 |
## radvd-interface.h: void ns3::RadvdInterface::SetCurHopLimit(uint8_t curHopLimit) [member function] |
|
253 |
cls.add_method('SetCurHopLimit', |
|
254 |
'void', |
|
255 |
[param('uint8_t', 'curHopLimit')]) |
|
256 |
## radvd-interface.h: void ns3::RadvdInterface::SetDefaultLifeTime(uint32_t defaultLifeTime) [member function] |
|
257 |
cls.add_method('SetDefaultLifeTime', |
|
258 |
'void', |
|
259 |
[param('uint32_t', 'defaultLifeTime')]) |
|
260 |
## radvd-interface.h: void ns3::RadvdInterface::SetDefaultPreference(uint8_t defaultPreference) [member function] |
|
261 |
cls.add_method('SetDefaultPreference', |
|
262 |
'void', |
|
263 |
[param('uint8_t', 'defaultPreference')]) |
|
264 |
## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentFlag(bool homeAgentFlag) [member function] |
|
265 |
cls.add_method('SetHomeAgentFlag', |
|
266 |
'void', |
|
267 |
[param('bool', 'homeAgentFlag')]) |
|
268 |
## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentInfo(bool homeAgentFlag) [member function] |
|
269 |
cls.add_method('SetHomeAgentInfo', |
|
270 |
'void', |
|
271 |
[param('bool', 'homeAgentFlag')]) |
|
272 |
## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentLifeTime(uint32_t homeAgentLifeTime) [member function] |
|
273 |
cls.add_method('SetHomeAgentLifeTime', |
|
274 |
'void', |
|
275 |
[param('uint32_t', 'homeAgentLifeTime')]) |
|
276 |
## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentPreference(uint32_t homeAgentPreference) [member function] |
|
277 |
cls.add_method('SetHomeAgentPreference', |
|
278 |
'void', |
|
279 |
[param('uint32_t', 'homeAgentPreference')]) |
|
280 |
## radvd-interface.h: void ns3::RadvdInterface::SetIntervalOpt(bool intervalOpt) [member function] |
|
281 |
cls.add_method('SetIntervalOpt', |
|
282 |
'void', |
|
283 |
[param('bool', 'intervalOpt')]) |
|
284 |
## radvd-interface.h: void ns3::RadvdInterface::SetLinkMtu(uint32_t linkMtu) [member function] |
|
285 |
cls.add_method('SetLinkMtu', |
|
286 |
'void', |
|
287 |
[param('uint32_t', 'linkMtu')]) |
|
288 |
## radvd-interface.h: void ns3::RadvdInterface::SetManagedFlag(bool managedFlag) [member function] |
|
289 |
cls.add_method('SetManagedFlag', |
|
290 |
'void', |
|
291 |
[param('bool', 'managedFlag')]) |
|
292 |
## radvd-interface.h: void ns3::RadvdInterface::SetMaxRtrAdvInterval(uint32_t maxRtrAdvInterval) [member function] |
|
293 |
cls.add_method('SetMaxRtrAdvInterval', |
|
294 |
'void', |
|
295 |
[param('uint32_t', 'maxRtrAdvInterval')]) |
|
296 |
## radvd-interface.h: void ns3::RadvdInterface::SetMinDelayBetweenRAs(uint32_t minDelayBetweenRAs) [member function] |
|
297 |
cls.add_method('SetMinDelayBetweenRAs', |
|
298 |
'void', |
|
299 |
[param('uint32_t', 'minDelayBetweenRAs')]) |
|
300 |
## radvd-interface.h: void ns3::RadvdInterface::SetMinRtrAdvInterval(uint32_t minRtrAdvInterval) [member function] |
|
301 |
cls.add_method('SetMinRtrAdvInterval', |
|
302 |
'void', |
|
303 |
[param('uint32_t', 'minRtrAdvInterval')]) |
|
304 |
## radvd-interface.h: void ns3::RadvdInterface::SetMobRtrSupportFlag(bool mobRtrSupportFlag) [member function] |
|
305 |
cls.add_method('SetMobRtrSupportFlag', |
|
306 |
'void', |
|
307 |
[param('bool', 'mobRtrSupportFlag')]) |
|
308 |
## radvd-interface.h: void ns3::RadvdInterface::SetOtherConfigFlag(bool otherConfigFlag) [member function] |
|
309 |
cls.add_method('SetOtherConfigFlag', |
|
310 |
'void', |
|
311 |
[param('bool', 'otherConfigFlag')]) |
|
312 |
## radvd-interface.h: void ns3::RadvdInterface::SetReachableTime(uint32_t reachableTime) [member function] |
|
313 |
cls.add_method('SetReachableTime', |
|
314 |
'void', |
|
315 |
[param('uint32_t', 'reachableTime')]) |
|
316 |
## radvd-interface.h: void ns3::RadvdInterface::SetRetransTimer(uint32_t retransTimer) [member function] |
|
317 |
cls.add_method('SetRetransTimer', |
|
318 |
'void', |
|
319 |
[param('uint32_t', 'retransTimer')]) |
|
320 |
## radvd-interface.h: void ns3::RadvdInterface::SetSendAdvert(bool sendAdvert) [member function] |
|
321 |
cls.add_method('SetSendAdvert', |
|
322 |
'void', |
|
323 |
[param('bool', 'sendAdvert')]) |
|
324 |
## radvd-interface.h: void ns3::RadvdInterface::SetSourceLLAddress(bool sourceLLAddress) [member function] |
|
325 |
cls.add_method('SetSourceLLAddress', |
|
326 |
'void', |
|
327 |
[param('bool', 'sourceLLAddress')]) |
|
328 |
return |
|
329 |
||
330 |
def register_Ns3RadvdPrefix_methods(root_module, cls): |
|
331 |
## radvd-prefix.h: ns3::RadvdPrefix::RadvdPrefix(ns3::RadvdPrefix const & arg0) [copy constructor] |
|
332 |
cls.add_constructor([param('ns3::RadvdPrefix const &', 'arg0')]) |
|
333 |
## radvd-prefix.h: ns3::RadvdPrefix::RadvdPrefix(ns3::Ipv6Address network, uint8_t prefixLength, uint32_t preferredLifeTime=604800, uint32_t validLifeTime=2592000, bool onLinkFlag=true, bool autonomousFlag=true, bool routerAddrFlag=false) [constructor] |
|
334 |
cls.add_constructor([param('ns3::Ipv6Address', 'network'), param('uint8_t', 'prefixLength'), param('uint32_t', 'preferredLifeTime', default_value='604800'), param('uint32_t', 'validLifeTime', default_value='2592000'), param('bool', 'onLinkFlag', default_value='true'), param('bool', 'autonomousFlag', default_value='true'), param('bool', 'routerAddrFlag', default_value='false')]) |
|
335 |
## radvd-prefix.h: ns3::Ipv6Address ns3::RadvdPrefix::GetNetwork() const [member function] |
|
336 |
cls.add_method('GetNetwork', |
|
337 |
'ns3::Ipv6Address', |
|
338 |
[], |
|
339 |
is_const=True) |
|
340 |
## radvd-prefix.h: uint32_t ns3::RadvdPrefix::GetPreferredLifeTime() const [member function] |
|
341 |
cls.add_method('GetPreferredLifeTime', |
|
342 |
'uint32_t', |
|
343 |
[], |
|
344 |
is_const=True) |
|
345 |
## radvd-prefix.h: uint8_t ns3::RadvdPrefix::GetPrefixLength() const [member function] |
|
346 |
cls.add_method('GetPrefixLength', |
|
347 |
'uint8_t', |
|
348 |
[], |
|
349 |
is_const=True) |
|
350 |
## radvd-prefix.h: uint32_t ns3::RadvdPrefix::GetValidLifeTime() const [member function] |
|
351 |
cls.add_method('GetValidLifeTime', |
|
352 |
'uint32_t', |
|
353 |
[], |
|
354 |
is_const=True) |
|
355 |
## radvd-prefix.h: bool ns3::RadvdPrefix::IsAutonomousFlag() const [member function] |
|
356 |
cls.add_method('IsAutonomousFlag', |
|
357 |
'bool', |
|
358 |
[], |
|
359 |
is_const=True) |
|
360 |
## radvd-prefix.h: bool ns3::RadvdPrefix::IsOnLinkFlag() const [member function] |
|
361 |
cls.add_method('IsOnLinkFlag', |
|
362 |
'bool', |
|
363 |
[], |
|
364 |
is_const=True) |
|
365 |
## radvd-prefix.h: bool ns3::RadvdPrefix::IsRouterAddrFlag() const [member function] |
|
366 |
cls.add_method('IsRouterAddrFlag', |
|
367 |
'bool', |
|
368 |
[], |
|
369 |
is_const=True) |
|
370 |
## radvd-prefix.h: void ns3::RadvdPrefix::SetAutonomousFlag(bool autonomousFlag) [member function] |
|
371 |
cls.add_method('SetAutonomousFlag', |
|
372 |
'void', |
|
373 |
[param('bool', 'autonomousFlag')]) |
|
374 |
## radvd-prefix.h: void ns3::RadvdPrefix::SetNetwork(ns3::Ipv6Address network) [member function] |
|
375 |
cls.add_method('SetNetwork', |
|
376 |
'void', |
|
377 |
[param('ns3::Ipv6Address', 'network')]) |
|
378 |
## radvd-prefix.h: void ns3::RadvdPrefix::SetOnLinkFlag(bool onLinkFlag) [member function] |
|
379 |
cls.add_method('SetOnLinkFlag', |
|
380 |
'void', |
|
381 |
[param('bool', 'onLinkFlag')]) |
|
382 |
## radvd-prefix.h: void ns3::RadvdPrefix::SetPreferredLifeTime(uint32_t preferredLifeTime) [member function] |
|
383 |
cls.add_method('SetPreferredLifeTime', |
|
384 |
'void', |
|
385 |
[param('uint32_t', 'preferredLifeTime')]) |
|
386 |
## radvd-prefix.h: void ns3::RadvdPrefix::SetPrefixLength(uint8_t prefixLength) [member function] |
|
387 |
cls.add_method('SetPrefixLength', |
|
388 |
'void', |
|
389 |
[param('uint8_t', 'prefixLength')]) |
|
390 |
## radvd-prefix.h: void ns3::RadvdPrefix::SetRouterAddrFlag(bool routerAddrFlag) [member function] |
|
391 |
cls.add_method('SetRouterAddrFlag', |
|
392 |
'void', |
|
393 |
[param('bool', 'routerAddrFlag')]) |
|
394 |
## radvd-prefix.h: void ns3::RadvdPrefix::SetValidLifeTime(uint32_t validLifeTime) [member function] |
|
395 |
cls.add_method('SetValidLifeTime', |
|
396 |
'void', |
|
397 |
[param('uint32_t', 'validLifeTime')]) |
|
398 |
return |
|
399 |
||
400 |
def register_functions(root_module): |
|
401 |
module = root_module |
|
402 |
register_functions_ns3_Config(module.get_submodule('Config'), root_module) |
|
403 |
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) |
|
404 |
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
405 |
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) |
5348 | 406 |
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) |
407 |
register_functions_ns3_flame(module.get_submodule('flame'), root_module) |
|
408 |
register_functions_ns3_internal(module.get_submodule('internal'), root_module) |
|
409 |
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) |
|
410 |
return |
|
411 |
||
412 |
def register_functions_ns3_Config(module, root_module): |
|
413 |
return |
|
414 |
||
415 |
def register_functions_ns3_TimeStepPrecision(module, root_module): |
|
416 |
return |
|
417 |
||
418 |
def register_functions_ns3_addressUtils(module, root_module): |
|
419 |
return |
|
420 |
||
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
421 |
def register_functions_ns3_aodv(module, root_module): |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
422 |
return |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
423 |
|
5348 | 424 |
def register_functions_ns3_dot11s(module, root_module): |
425 |
return |
|
426 |
||
427 |
def register_functions_ns3_flame(module, root_module): |
|
428 |
return |
|
429 |
||
430 |
def register_functions_ns3_internal(module, root_module): |
|
431 |
return |
|
432 |
||
433 |
def register_functions_ns3_olsr(module, root_module): |
|
434 |
return |
|
435 |