author | Gustavo J. A. M. Carneiro <gjc@inescporto.pt> |
Mon, 28 Dec 2009 18:19:13 +0000 | |
changeset 5881 | edfb6efba4cd |
parent 5841 | 144ef1f94bf2 |
child 6028 | 96fb92f73f3d |
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 |
||
5841 | 6 |
## simple-ref-count.h: ns3::SimpleRefCount<ns3::dot11s::IeBeaconTimingUnit, ns3::empty, ns3::DefaultDeleter<ns3::dot11s::IeBeaconTimingUnit> > [class] |
5881
edfb6efba4cd
rescan python
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5841
diff
changeset
|
7 |
module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::dot11s::IeBeaconTimingUnit', 'ns3::empty', 'ns3::DefaultDeleter<ns3::dot11s::IeBeaconTimingUnit>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) |
5348 | 8 |
|
9 |
## Register a nested module for the namespace Config |
|
10 |
||
11 |
nested_module = module.add_cpp_namespace('Config') |
|
12 |
register_types_ns3_Config(nested_module) |
|
13 |
||
14 |
||
15 |
## Register a nested module for the namespace TimeStepPrecision |
|
16 |
||
17 |
nested_module = module.add_cpp_namespace('TimeStepPrecision') |
|
18 |
register_types_ns3_TimeStepPrecision(nested_module) |
|
19 |
||
20 |
||
21 |
## Register a nested module for the namespace addressUtils |
|
22 |
||
23 |
nested_module = module.add_cpp_namespace('addressUtils') |
|
24 |
register_types_ns3_addressUtils(nested_module) |
|
25 |
||
26 |
||
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:
5456
diff
changeset
|
27 |
## 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:
5456
diff
changeset
|
28 |
|
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:
5456
diff
changeset
|
29 |
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:
5456
diff
changeset
|
30 |
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:
5456
diff
changeset
|
31 |
|
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:
5456
diff
changeset
|
32 |
|
5348 | 33 |
## Register a nested module for the namespace dot11s |
34 |
||
35 |
nested_module = module.add_cpp_namespace('dot11s') |
|
36 |
register_types_ns3_dot11s(nested_module) |
|
37 |
||
38 |
||
39 |
## Register a nested module for the namespace flame |
|
40 |
||
41 |
nested_module = module.add_cpp_namespace('flame') |
|
42 |
register_types_ns3_flame(nested_module) |
|
43 |
||
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 olsr |
|
52 |
||
53 |
nested_module = module.add_cpp_namespace('olsr') |
|
54 |
register_types_ns3_olsr(nested_module) |
|
55 |
||
56 |
||
57 |
def register_types_ns3_Config(module): |
|
58 |
root_module = module.get_root() |
|
59 |
||
60 |
||
61 |
def register_types_ns3_TimeStepPrecision(module): |
|
62 |
root_module = module.get_root() |
|
63 |
||
64 |
||
65 |
def register_types_ns3_addressUtils(module): |
|
66 |
root_module = module.get_root() |
|
67 |
||
68 |
||
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:
5456
diff
changeset
|
69 |
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:
5456
diff
changeset
|
70 |
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:
5456
diff
changeset
|
71 |
|
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:
5456
diff
changeset
|
72 |
|
5348 | 73 |
def register_types_ns3_dot11s(module): |
74 |
root_module = module.get_root() |
|
75 |
||
76 |
## ie-dot11s-configuration.h: ns3::dot11s::dot11sPathSelectionProtocol [enumeration] |
|
77 |
module.add_enum('dot11sPathSelectionProtocol', ['PROTOCOL_HWMP']) |
|
78 |
## ie-dot11s-configuration.h: ns3::dot11s::dot11sSynchronizationProtocolIdentifier [enumeration] |
|
79 |
module.add_enum('dot11sSynchronizationProtocolIdentifier', ['SYNC_NEIGHBOUR_OFFSET', 'SYNC_NULL']) |
|
80 |
## ie-dot11s-configuration.h: ns3::dot11s::dot11sCongestionControlMode [enumeration] |
|
81 |
module.add_enum('dot11sCongestionControlMode', ['CONGESTION_SIGNALING', 'CONGESTION_NULL']) |
|
5821 | 82 |
## ie-dot11s-configuration.h: ns3::dot11s::dot11sPathSelectionMetric [enumeration] |
83 |
module.add_enum('dot11sPathSelectionMetric', ['METRIC_AIRTIME']) |
|
84 |
## ie-dot11s-peer-management.h: ns3::dot11s::PmpReasonCode [enumeration] |
|
85 |
module.add_enum('PmpReasonCode', ['REASON11S_PEERING_CANCELLED', 'REASON11S_MESH_MAX_PEERS', 'REASON11S_MESH_CAPABILITY_POLICY_VIOLATION', 'REASON11S_MESH_CLOSE_RCVD', 'REASON11S_MESH_MAX_RETRIES', 'REASON11S_MESH_CONFIRM_TIMEOUT', 'REASON11S_MESH_INVALID_GTK', 'REASON11S_MESH_INCONSISTENT_PARAMETERS', 'REASON11S_MESH_INVALID_SECURITY_CAPABILITY', 'REASON11S_RESERVED']) |
|
5779
6642920ad056
python apidefs rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5762
diff
changeset
|
86 |
## ie-dot11s-configuration.h: ns3::dot11s::dot11sAuthenticationProtocol [enumeration] |
6642920ad056
python apidefs rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5762
diff
changeset
|
87 |
module.add_enum('dot11sAuthenticationProtocol', ['AUTH_NULL', 'AUTH_SAE']) |
5348 | 88 |
## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability [class] |
89 |
module.add_class('Dot11sMeshCapability') |
|
90 |
## hwmp-protocol.h: ns3::dot11s::HwmpProtocol [class] |
|
91 |
module.add_class('HwmpProtocol', parent=root_module['ns3::MeshL2RoutingProtocol']) |
|
92 |
## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination [struct] |
|
93 |
module.add_class('FailedDestination', outer_class=root_module['ns3::dot11s::HwmpProtocol']) |
|
94 |
## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTiming [class] |
|
95 |
module.add_class('IeBeaconTiming', parent=root_module['ns3::WifiInformationElement']) |
|
96 |
## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTimingUnit [class] |
|
5841 | 97 |
module.add_class('IeBeaconTimingUnit', parent=root_module['ns3::SimpleRefCount< ns3::dot11s::IeBeaconTimingUnit, ns3::empty, ns3::DefaultDeleter<ns3::dot11s::IeBeaconTimingUnit> >']) |
5348 | 98 |
## ie-dot11s-configuration.h: ns3::dot11s::IeConfiguration [class] |
99 |
module.add_class('IeConfiguration', parent=root_module['ns3::WifiInformationElement']) |
|
100 |
## ie-dot11s-id.h: ns3::dot11s::IeMeshId [class] |
|
101 |
module.add_class('IeMeshId', parent=root_module['ns3::WifiInformationElement']) |
|
102 |
## ie-dot11s-id.h: ns3::dot11s::IeMeshIdChecker [class] |
|
103 |
module.add_class('IeMeshIdChecker', parent=root_module['ns3::AttributeChecker']) |
|
104 |
## ie-dot11s-id.h: ns3::dot11s::IeMeshIdValue [class] |
|
105 |
module.add_class('IeMeshIdValue', parent=root_module['ns3::AttributeValue']) |
|
106 |
## ie-dot11s-peer-management.h: ns3::dot11s::IePeerManagement [class] |
|
107 |
module.add_class('IePeerManagement', parent=root_module['ns3::WifiInformationElement']) |
|
108 |
## ie-dot11s-peer-management.h: ns3::dot11s::IePeerManagement::Subtype [enumeration] |
|
109 |
module.add_enum('Subtype', ['PEER_OPEN', 'PEER_CONFIRM', 'PEER_CLOSE'], outer_class=root_module['ns3::dot11s::IePeerManagement']) |
|
110 |
## peer-link.h: ns3::dot11s::PeerLink [class] |
|
111 |
module.add_class('PeerLink', parent=root_module['ns3::Object']) |
|
112 |
## peer-link.h: ns3::dot11s::PeerLink::PeerState [enumeration] |
|
113 |
module.add_enum('PeerState', ['IDLE', 'OPN_SNT', 'CNF_RCVD', 'OPN_RCVD', 'ESTAB', 'HOLDING'], outer_class=root_module['ns3::dot11s::PeerLink']) |
|
114 |
## peer-management-protocol.h: ns3::dot11s::PeerManagementProtocol [class] |
|
115 |
module.add_class('PeerManagementProtocol', parent=root_module['ns3::Object']) |
|
116 |
||
117 |
def register_types_ns3_flame(module): |
|
118 |
root_module = module.get_root() |
|
119 |
||
120 |
||
121 |
def register_types_ns3_internal(module): |
|
122 |
root_module = module.get_root() |
|
123 |
||
124 |
||
125 |
def register_types_ns3_olsr(module): |
|
126 |
root_module = module.get_root() |
|
127 |
||
128 |
||
129 |
def register_methods(root_module): |
|
130 |
register_Ns3Dot11sDot11sMeshCapability_methods(root_module, root_module['ns3::dot11s::Dot11sMeshCapability']) |
|
131 |
register_Ns3Dot11sHwmpProtocol_methods(root_module, root_module['ns3::dot11s::HwmpProtocol']) |
|
132 |
register_Ns3Dot11sHwmpProtocolFailedDestination_methods(root_module, root_module['ns3::dot11s::HwmpProtocol::FailedDestination']) |
|
133 |
register_Ns3Dot11sIeBeaconTiming_methods(root_module, root_module['ns3::dot11s::IeBeaconTiming']) |
|
134 |
register_Ns3Dot11sIeBeaconTimingUnit_methods(root_module, root_module['ns3::dot11s::IeBeaconTimingUnit']) |
|
135 |
register_Ns3Dot11sIeConfiguration_methods(root_module, root_module['ns3::dot11s::IeConfiguration']) |
|
136 |
register_Ns3Dot11sIeMeshId_methods(root_module, root_module['ns3::dot11s::IeMeshId']) |
|
137 |
register_Ns3Dot11sIeMeshIdChecker_methods(root_module, root_module['ns3::dot11s::IeMeshIdChecker']) |
|
138 |
register_Ns3Dot11sIeMeshIdValue_methods(root_module, root_module['ns3::dot11s::IeMeshIdValue']) |
|
139 |
register_Ns3Dot11sIePeerManagement_methods(root_module, root_module['ns3::dot11s::IePeerManagement']) |
|
140 |
register_Ns3Dot11sPeerLink_methods(root_module, root_module['ns3::dot11s::PeerLink']) |
|
141 |
register_Ns3Dot11sPeerManagementProtocol_methods(root_module, root_module['ns3::dot11s::PeerManagementProtocol']) |
|
142 |
return |
|
143 |
||
144 |
def register_Ns3Dot11sDot11sMeshCapability_methods(root_module, cls): |
|
145 |
cls.add_binary_comparison_operator('==') |
|
146 |
## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::Dot11sMeshCapability(ns3::dot11s::Dot11sMeshCapability const & arg0) [copy constructor] |
|
147 |
cls.add_constructor([param('ns3::dot11s::Dot11sMeshCapability const &', 'arg0')]) |
|
148 |
## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::Dot11sMeshCapability() [constructor] |
|
149 |
cls.add_constructor([]) |
|
150 |
## ie-dot11s-configuration.h: ns3::Buffer::Iterator ns3::dot11s::Dot11sMeshCapability::Deserialize(ns3::Buffer::Iterator i) [member function] |
|
151 |
cls.add_method('Deserialize', |
|
152 |
'ns3::Buffer::Iterator', |
|
153 |
[param('ns3::Buffer::Iterator', 'i')]) |
|
154 |
## ie-dot11s-configuration.h: uint8_t ns3::dot11s::Dot11sMeshCapability::GetSerializedSize() const [member function] |
|
155 |
cls.add_method('GetSerializedSize', |
|
156 |
'uint8_t', |
|
157 |
[], |
|
158 |
is_const=True) |
|
159 |
## ie-dot11s-configuration.h: uint16_t ns3::dot11s::Dot11sMeshCapability::GetUint16() const [member function] |
|
160 |
cls.add_method('GetUint16', |
|
161 |
'uint16_t', |
|
162 |
[], |
|
163 |
is_const=True) |
|
164 |
## ie-dot11s-configuration.h: bool ns3::dot11s::Dot11sMeshCapability::Is(uint16_t cap, uint8_t n) const [member function] |
|
165 |
cls.add_method('Is', |
|
166 |
'bool', |
|
167 |
[param('uint16_t', 'cap'), param('uint8_t', 'n')], |
|
168 |
is_const=True) |
|
169 |
## ie-dot11s-configuration.h: ns3::Buffer::Iterator ns3::dot11s::Dot11sMeshCapability::Serialize(ns3::Buffer::Iterator i) const [member function] |
|
170 |
cls.add_method('Serialize', |
|
171 |
'ns3::Buffer::Iterator', |
|
172 |
[param('ns3::Buffer::Iterator', 'i')], |
|
173 |
is_const=True) |
|
174 |
## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::MCCAEnabled [variable] |
|
175 |
cls.add_instance_attribute('MCCAEnabled', 'bool', is_const=False) |
|
176 |
## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::MCCASupported [variable] |
|
177 |
cls.add_instance_attribute('MCCASupported', 'bool', is_const=False) |
|
178 |
## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::TBTTAdjustment [variable] |
|
179 |
cls.add_instance_attribute('TBTTAdjustment', 'bool', is_const=False) |
|
180 |
## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::acceptPeerLinks [variable] |
|
181 |
cls.add_instance_attribute('acceptPeerLinks', 'bool', is_const=False) |
|
182 |
## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::beaconTimingReport [variable] |
|
183 |
cls.add_instance_attribute('beaconTimingReport', 'bool', is_const=False) |
|
184 |
## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::forwarding [variable] |
|
185 |
cls.add_instance_attribute('forwarding', 'bool', is_const=False) |
|
186 |
## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::powerSaveLevel [variable] |
|
187 |
cls.add_instance_attribute('powerSaveLevel', 'bool', is_const=False) |
|
188 |
return |
|
189 |
||
190 |
def register_Ns3Dot11sHwmpProtocol_methods(root_module, cls): |
|
191 |
## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::HwmpProtocol() [constructor] |
|
192 |
cls.add_constructor([]) |
|
193 |
## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::DoDispose() [member function] |
|
194 |
cls.add_method('DoDispose', |
|
195 |
'void', |
|
196 |
[], |
|
197 |
is_virtual=True) |
|
198 |
## hwmp-protocol.h: static ns3::TypeId ns3::dot11s::HwmpProtocol::GetTypeId() [member function] |
|
199 |
cls.add_method('GetTypeId', |
|
200 |
'ns3::TypeId', |
|
201 |
[], |
|
202 |
is_static=True) |
|
203 |
## hwmp-protocol.h: bool ns3::dot11s::HwmpProtocol::Install(ns3::Ptr<ns3::MeshPointDevice> arg0) [member function] |
|
204 |
cls.add_method('Install', |
|
205 |
'bool', |
|
206 |
[param('ns3::Ptr< ns3::MeshPointDevice >', 'arg0')]) |
|
207 |
## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::PeerLinkStatus(ns3::Mac48Address meshPontAddress, ns3::Mac48Address peerAddress, uint32_t interface, bool status) [member function] |
|
208 |
cls.add_method('PeerLinkStatus', |
|
209 |
'void', |
|
210 |
[param('ns3::Mac48Address', 'meshPontAddress'), param('ns3::Mac48Address', 'peerAddress'), param('uint32_t', 'interface'), param('bool', 'status')]) |
|
211 |
## hwmp-protocol.h: bool ns3::dot11s::HwmpProtocol::RemoveRoutingStuff(uint32_t fromIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr<ns3::Packet> packet, uint16_t & protocolType) [member function] |
|
212 |
cls.add_method('RemoveRoutingStuff', |
|
213 |
'bool', |
|
214 |
[param('uint32_t', 'fromIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('uint16_t &', 'protocolType')], |
|
215 |
is_virtual=True) |
|
216 |
## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::Report(std::ostream & arg0) const [member function] |
|
217 |
cls.add_method('Report', |
|
218 |
'void', |
|
219 |
[param('std::ostream &', 'arg0')], |
|
220 |
is_const=True) |
|
221 |
## hwmp-protocol.h: bool ns3::dot11s::HwmpProtocol::RequestRoute(uint32_t sourceIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr<ns3::Packet const> packet, uint16_t protocolType, ns3::Callback<void, bool, ns3::Ptr<ns3::Packet>, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty> routeReply) [member function] |
|
222 |
cls.add_method('RequestRoute', |
|
223 |
'bool', |
|
224 |
[param('uint32_t', 'sourceIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocolType'), param('ns3::Callback< void, bool, ns3::Ptr< ns3::Packet >, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty >', 'routeReply')], |
|
225 |
is_virtual=True) |
|
226 |
## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::ResetStats() [member function] |
|
227 |
cls.add_method('ResetStats', |
|
228 |
'void', |
|
229 |
[]) |
|
230 |
## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::SetNeighboursCallback(ns3::Callback<std::vector<ns3::Mac48Address, std::allocator<ns3::Mac48Address> >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] |
|
231 |
cls.add_method('SetNeighboursCallback', |
|
232 |
'void', |
|
233 |
[param('ns3::Callback< std::vector< ns3::Mac48Address >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')]) |
|
234 |
## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::SetRoot() [member function] |
|
235 |
cls.add_method('SetRoot', |
|
236 |
'void', |
|
237 |
[]) |
|
238 |
## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::UnsetRoot() [member function] |
|
239 |
cls.add_method('UnsetRoot', |
|
240 |
'void', |
|
241 |
[]) |
|
242 |
return |
|
243 |
||
244 |
def register_Ns3Dot11sHwmpProtocolFailedDestination_methods(root_module, cls): |
|
245 |
## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination::FailedDestination() [constructor] |
|
246 |
cls.add_constructor([]) |
|
247 |
## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination::FailedDestination(ns3::dot11s::HwmpProtocol::FailedDestination const & arg0) [copy constructor] |
|
248 |
cls.add_constructor([param('ns3::dot11s::HwmpProtocol::FailedDestination const &', 'arg0')]) |
|
249 |
## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination::destination [variable] |
|
250 |
cls.add_instance_attribute('destination', 'ns3::Mac48Address', is_const=False) |
|
251 |
## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination::seqnum [variable] |
|
252 |
cls.add_instance_attribute('seqnum', 'uint32_t', is_const=False) |
|
253 |
return |
|
254 |
||
255 |
def register_Ns3Dot11sIeBeaconTiming_methods(root_module, cls): |
|
256 |
cls.add_output_stream_operator() |
|
257 |
## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTiming::IeBeaconTiming(ns3::dot11s::IeBeaconTiming const & arg0) [copy constructor] |
|
258 |
cls.add_constructor([param('ns3::dot11s::IeBeaconTiming const &', 'arg0')]) |
|
259 |
## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTiming::IeBeaconTiming() [constructor] |
|
260 |
cls.add_constructor([]) |
|
261 |
## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::AddNeighboursTimingElementUnit(uint16_t aid, ns3::Time last_beacon, ns3::Time beacon_interval) [member function] |
|
262 |
cls.add_method('AddNeighboursTimingElementUnit', |
|
263 |
'void', |
|
264 |
[param('uint16_t', 'aid'), param('ns3::Time', 'last_beacon'), param('ns3::Time', 'beacon_interval')]) |
|
265 |
## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::ClearTimingElement() [member function] |
|
266 |
cls.add_method('ClearTimingElement', |
|
267 |
'void', |
|
268 |
[]) |
|
269 |
## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::DelNeighboursTimingElementUnit(uint16_t aid, ns3::Time last_beacon, ns3::Time beacon_interval) [member function] |
|
270 |
cls.add_method('DelNeighboursTimingElementUnit', |
|
271 |
'void', |
|
272 |
[param('uint16_t', 'aid'), param('ns3::Time', 'last_beacon'), param('ns3::Time', 'beacon_interval')]) |
|
273 |
## ie-dot11s-beacon-timing.h: uint8_t ns3::dot11s::IeBeaconTiming::DeserializeInformation(ns3::Buffer::Iterator i, uint8_t length) [member function] |
|
274 |
cls.add_method('DeserializeInformation', |
|
275 |
'uint8_t', |
|
276 |
[param('ns3::Buffer::Iterator', 'i'), param('uint8_t', 'length')], |
|
277 |
is_virtual=True) |
|
278 |
## ie-dot11s-beacon-timing.h: ns3::WifiElementId ns3::dot11s::IeBeaconTiming::ElementId() const [member function] |
|
279 |
cls.add_method('ElementId', |
|
280 |
'ns3::WifiElementId', |
|
281 |
[], |
|
282 |
is_const=True, is_virtual=True) |
|
283 |
## ie-dot11s-beacon-timing.h: uint8_t ns3::dot11s::IeBeaconTiming::GetInformationSize() const [member function] |
|
284 |
cls.add_method('GetInformationSize', |
|
285 |
'uint8_t', |
|
286 |
[], |
|
287 |
is_const=True, is_virtual=True) |
|
288 |
## ie-dot11s-beacon-timing.h: std::vector<ns3::Ptr<ns3::dot11s::IeBeaconTimingUnit>, std::allocator<ns3::Ptr<ns3::dot11s::IeBeaconTimingUnit> > > ns3::dot11s::IeBeaconTiming::GetNeighboursTimingElementsList() [member function] |
|
289 |
cls.add_method('GetNeighboursTimingElementsList', |
|
290 |
'std::vector< ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit > >', |
|
291 |
[]) |
|
292 |
## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::Print(std::ostream & os) const [member function] |
|
293 |
cls.add_method('Print', |
|
294 |
'void', |
|
295 |
[param('std::ostream &', 'os')], |
|
296 |
is_const=True, is_virtual=True) |
|
297 |
## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::SerializeInformation(ns3::Buffer::Iterator i) const [member function] |
|
298 |
cls.add_method('SerializeInformation', |
|
299 |
'void', |
|
300 |
[param('ns3::Buffer::Iterator', 'i')], |
|
301 |
is_const=True, is_virtual=True) |
|
302 |
return |
|
303 |
||
304 |
def register_Ns3Dot11sIeBeaconTimingUnit_methods(root_module, cls): |
|
305 |
cls.add_binary_comparison_operator('==') |
|
306 |
## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTimingUnit::IeBeaconTimingUnit(ns3::dot11s::IeBeaconTimingUnit const & arg0) [copy constructor] |
|
307 |
cls.add_constructor([param('ns3::dot11s::IeBeaconTimingUnit const &', 'arg0')]) |
|
308 |
## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTimingUnit::IeBeaconTimingUnit() [constructor] |
|
309 |
cls.add_constructor([]) |
|
310 |
## ie-dot11s-beacon-timing.h: uint8_t ns3::dot11s::IeBeaconTimingUnit::GetAid() const [member function] |
|
311 |
cls.add_method('GetAid', |
|
312 |
'uint8_t', |
|
313 |
[], |
|
314 |
is_const=True) |
|
315 |
## ie-dot11s-beacon-timing.h: uint16_t ns3::dot11s::IeBeaconTimingUnit::GetBeaconInterval() const [member function] |
|
316 |
cls.add_method('GetBeaconInterval', |
|
317 |
'uint16_t', |
|
318 |
[], |
|
319 |
is_const=True) |
|
320 |
## ie-dot11s-beacon-timing.h: uint16_t ns3::dot11s::IeBeaconTimingUnit::GetLastBeacon() const [member function] |
|
321 |
cls.add_method('GetLastBeacon', |
|
322 |
'uint16_t', |
|
323 |
[], |
|
324 |
is_const=True) |
|
325 |
## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTimingUnit::SetAid(uint8_t aid) [member function] |
|
326 |
cls.add_method('SetAid', |
|
327 |
'void', |
|
328 |
[param('uint8_t', 'aid')]) |
|
329 |
## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTimingUnit::SetBeaconInterval(uint16_t beaconInterval) [member function] |
|
330 |
cls.add_method('SetBeaconInterval', |
|
331 |
'void', |
|
332 |
[param('uint16_t', 'beaconInterval')]) |
|
333 |
## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTimingUnit::SetLastBeacon(uint16_t lastBeacon) [member function] |
|
334 |
cls.add_method('SetLastBeacon', |
|
335 |
'void', |
|
336 |
[param('uint16_t', 'lastBeacon')]) |
|
337 |
return |
|
338 |
||
339 |
def register_Ns3Dot11sIeConfiguration_methods(root_module, cls): |
|
340 |
cls.add_output_stream_operator() |
|
341 |
cls.add_binary_comparison_operator('==') |
|
342 |
## ie-dot11s-configuration.h: ns3::dot11s::IeConfiguration::IeConfiguration(ns3::dot11s::IeConfiguration const & arg0) [copy constructor] |
|
343 |
cls.add_constructor([param('ns3::dot11s::IeConfiguration const &', 'arg0')]) |
|
344 |
## ie-dot11s-configuration.h: ns3::dot11s::IeConfiguration::IeConfiguration() [constructor] |
|
345 |
cls.add_constructor([]) |
|
346 |
## ie-dot11s-configuration.h: uint8_t ns3::dot11s::IeConfiguration::DeserializeInformation(ns3::Buffer::Iterator i, uint8_t length) [member function] |
|
347 |
cls.add_method('DeserializeInformation', |
|
348 |
'uint8_t', |
|
349 |
[param('ns3::Buffer::Iterator', 'i'), param('uint8_t', 'length')], |
|
350 |
is_virtual=True) |
|
351 |
## ie-dot11s-configuration.h: ns3::WifiElementId ns3::dot11s::IeConfiguration::ElementId() const [member function] |
|
352 |
cls.add_method('ElementId', |
|
353 |
'ns3::WifiElementId', |
|
354 |
[], |
|
355 |
is_const=True, is_virtual=True) |
|
356 |
## ie-dot11s-configuration.h: uint8_t ns3::dot11s::IeConfiguration::GetInformationSize() const [member function] |
|
357 |
cls.add_method('GetInformationSize', |
|
358 |
'uint8_t', |
|
359 |
[], |
|
360 |
is_const=True, is_virtual=True) |
|
361 |
## ie-dot11s-configuration.h: uint8_t ns3::dot11s::IeConfiguration::GetNeighborCount() [member function] |
|
362 |
cls.add_method('GetNeighborCount', |
|
363 |
'uint8_t', |
|
364 |
[]) |
|
365 |
## ie-dot11s-configuration.h: bool ns3::dot11s::IeConfiguration::IsAirtime() [member function] |
|
366 |
cls.add_method('IsAirtime', |
|
367 |
'bool', |
|
368 |
[]) |
|
369 |
## ie-dot11s-configuration.h: bool ns3::dot11s::IeConfiguration::IsHWMP() [member function] |
|
370 |
cls.add_method('IsHWMP', |
|
371 |
'bool', |
|
372 |
[]) |
|
373 |
## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability const & ns3::dot11s::IeConfiguration::MeshCapability() [member function] |
|
374 |
cls.add_method('MeshCapability', |
|
375 |
'ns3::dot11s::Dot11sMeshCapability const &', |
|
376 |
[]) |
|
377 |
## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::Print(std::ostream & os) const [member function] |
|
378 |
cls.add_method('Print', |
|
379 |
'void', |
|
380 |
[param('std::ostream &', 'os')], |
|
381 |
is_const=True, is_virtual=True) |
|
382 |
## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::SerializeInformation(ns3::Buffer::Iterator i) const [member function] |
|
383 |
cls.add_method('SerializeInformation', |
|
384 |
'void', |
|
385 |
[param('ns3::Buffer::Iterator', 'i')], |
|
386 |
is_const=True, is_virtual=True) |
|
387 |
## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::SetMetric(ns3::dot11s::dot11sPathSelectionMetric metricId) [member function] |
|
388 |
cls.add_method('SetMetric', |
|
389 |
'void', |
|
390 |
[param('ns3::dot11s::dot11sPathSelectionMetric', 'metricId')]) |
|
391 |
## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::SetNeighborCount(uint8_t neighbors) [member function] |
|
392 |
cls.add_method('SetNeighborCount', |
|
393 |
'void', |
|
394 |
[param('uint8_t', 'neighbors')]) |
|
395 |
## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::SetRouting(ns3::dot11s::dot11sPathSelectionProtocol routingId) [member function] |
|
396 |
cls.add_method('SetRouting', |
|
397 |
'void', |
|
398 |
[param('ns3::dot11s::dot11sPathSelectionProtocol', 'routingId')]) |
|
399 |
return |
|
400 |
||
401 |
def register_Ns3Dot11sIeMeshId_methods(root_module, cls): |
|
402 |
cls.add_output_stream_operator() |
|
403 |
cls.add_binary_comparison_operator('==') |
|
404 |
## ie-dot11s-id.h: ns3::dot11s::IeMeshId::IeMeshId(ns3::dot11s::IeMeshId const & arg0) [copy constructor] |
|
405 |
cls.add_constructor([param('ns3::dot11s::IeMeshId const &', 'arg0')]) |
|
406 |
## ie-dot11s-id.h: ns3::dot11s::IeMeshId::IeMeshId() [constructor] |
|
407 |
cls.add_constructor([]) |
|
408 |
## ie-dot11s-id.h: ns3::dot11s::IeMeshId::IeMeshId(std::string s) [constructor] |
|
409 |
cls.add_constructor([param('std::string', 's')]) |
|
410 |
## ie-dot11s-id.h: uint8_t ns3::dot11s::IeMeshId::DeserializeInformation(ns3::Buffer::Iterator start, uint8_t length) [member function] |
|
411 |
cls.add_method('DeserializeInformation', |
|
412 |
'uint8_t', |
|
413 |
[param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')], |
|
414 |
is_virtual=True) |
|
415 |
## ie-dot11s-id.h: ns3::WifiElementId ns3::dot11s::IeMeshId::ElementId() const [member function] |
|
416 |
cls.add_method('ElementId', |
|
417 |
'ns3::WifiElementId', |
|
418 |
[], |
|
419 |
is_const=True, is_virtual=True) |
|
420 |
## ie-dot11s-id.h: uint8_t ns3::dot11s::IeMeshId::GetInformationSize() const [member function] |
|
421 |
cls.add_method('GetInformationSize', |
|
422 |
'uint8_t', |
|
423 |
[], |
|
424 |
is_const=True, is_virtual=True) |
|
425 |
## ie-dot11s-id.h: bool ns3::dot11s::IeMeshId::IsBroadcast() const [member function] |
|
426 |
cls.add_method('IsBroadcast', |
|
427 |
'bool', |
|
428 |
[], |
|
429 |
is_const=True) |
|
430 |
## ie-dot11s-id.h: bool ns3::dot11s::IeMeshId::IsEqual(ns3::dot11s::IeMeshId const & o) const [member function] |
|
431 |
cls.add_method('IsEqual', |
|
432 |
'bool', |
|
433 |
[param('ns3::dot11s::IeMeshId const &', 'o')], |
|
434 |
is_const=True) |
|
435 |
## ie-dot11s-id.h: char * ns3::dot11s::IeMeshId::PeekString() const [member function] |
|
436 |
cls.add_method('PeekString', |
|
437 |
'char *', |
|
438 |
[], |
|
439 |
is_const=True) |
|
440 |
## ie-dot11s-id.h: void ns3::dot11s::IeMeshId::Print(std::ostream & os) const [member function] |
|
441 |
cls.add_method('Print', |
|
442 |
'void', |
|
443 |
[param('std::ostream &', 'os')], |
|
444 |
is_const=True, is_virtual=True) |
|
445 |
## ie-dot11s-id.h: void ns3::dot11s::IeMeshId::SerializeInformation(ns3::Buffer::Iterator i) const [member function] |
|
446 |
cls.add_method('SerializeInformation', |
|
447 |
'void', |
|
448 |
[param('ns3::Buffer::Iterator', 'i')], |
|
449 |
is_const=True, is_virtual=True) |
|
450 |
return |
|
451 |
||
452 |
def register_Ns3Dot11sIeMeshIdChecker_methods(root_module, cls): |
|
453 |
## ie-dot11s-id.h: ns3::dot11s::IeMeshIdChecker::IeMeshIdChecker() [constructor] |
|
454 |
cls.add_constructor([]) |
|
455 |
## ie-dot11s-id.h: ns3::dot11s::IeMeshIdChecker::IeMeshIdChecker(ns3::dot11s::IeMeshIdChecker const & arg0) [copy constructor] |
|
456 |
cls.add_constructor([param('ns3::dot11s::IeMeshIdChecker const &', 'arg0')]) |
|
457 |
return |
|
458 |
||
459 |
def register_Ns3Dot11sIeMeshIdValue_methods(root_module, cls): |
|
460 |
## ie-dot11s-id.h: ns3::dot11s::IeMeshIdValue::IeMeshIdValue() [constructor] |
|
461 |
cls.add_constructor([]) |
|
462 |
## ie-dot11s-id.h: ns3::dot11s::IeMeshIdValue::IeMeshIdValue(ns3::dot11s::IeMeshIdValue const & arg0) [copy constructor] |
|
463 |
cls.add_constructor([param('ns3::dot11s::IeMeshIdValue const &', 'arg0')]) |
|
464 |
## ie-dot11s-id.h: ns3::dot11s::IeMeshIdValue::IeMeshIdValue(ns3::dot11s::IeMeshId const & value) [constructor] |
|
465 |
cls.add_constructor([param('ns3::dot11s::IeMeshId const &', 'value')]) |
|
466 |
## ie-dot11s-id.h: ns3::Ptr<ns3::AttributeValue> ns3::dot11s::IeMeshIdValue::Copy() const [member function] |
|
467 |
cls.add_method('Copy', |
|
468 |
'ns3::Ptr< ns3::AttributeValue >', |
|
469 |
[], |
|
470 |
is_const=True, is_virtual=True) |
|
471 |
## ie-dot11s-id.h: bool ns3::dot11s::IeMeshIdValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function] |
|
472 |
cls.add_method('DeserializeFromString', |
|
473 |
'bool', |
|
474 |
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], |
|
475 |
is_virtual=True) |
|
476 |
## ie-dot11s-id.h: ns3::dot11s::IeMeshId ns3::dot11s::IeMeshIdValue::Get() const [member function] |
|
477 |
cls.add_method('Get', |
|
478 |
'ns3::dot11s::IeMeshId', |
|
479 |
[], |
|
480 |
is_const=True) |
|
481 |
## ie-dot11s-id.h: std::string ns3::dot11s::IeMeshIdValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function] |
|
482 |
cls.add_method('SerializeToString', |
|
483 |
'std::string', |
|
484 |
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], |
|
485 |
is_const=True, is_virtual=True) |
|
486 |
## ie-dot11s-id.h: void ns3::dot11s::IeMeshIdValue::Set(ns3::dot11s::IeMeshId const & value) [member function] |
|
487 |
cls.add_method('Set', |
|
488 |
'void', |
|
489 |
[param('ns3::dot11s::IeMeshId const &', 'value')]) |
|
490 |
return |
|
491 |
||
492 |
def register_Ns3Dot11sIePeerManagement_methods(root_module, cls): |
|
493 |
cls.add_output_stream_operator() |
|
494 |
cls.add_binary_comparison_operator('==') |
|
495 |
## ie-dot11s-peer-management.h: ns3::dot11s::IePeerManagement::IePeerManagement(ns3::dot11s::IePeerManagement const & arg0) [copy constructor] |
|
496 |
cls.add_constructor([param('ns3::dot11s::IePeerManagement const &', 'arg0')]) |
|
497 |
## ie-dot11s-peer-management.h: ns3::dot11s::IePeerManagement::IePeerManagement() [constructor] |
|
498 |
cls.add_constructor([]) |
|
499 |
## ie-dot11s-peer-management.h: uint8_t ns3::dot11s::IePeerManagement::DeserializeInformation(ns3::Buffer::Iterator i, uint8_t length) [member function] |
|
500 |
cls.add_method('DeserializeInformation', |
|
501 |
'uint8_t', |
|
502 |
[param('ns3::Buffer::Iterator', 'i'), param('uint8_t', 'length')], |
|
503 |
is_virtual=True) |
|
504 |
## ie-dot11s-peer-management.h: ns3::WifiElementId ns3::dot11s::IePeerManagement::ElementId() const [member function] |
|
505 |
cls.add_method('ElementId', |
|
506 |
'ns3::WifiElementId', |
|
507 |
[], |
|
508 |
is_const=True, is_virtual=True) |
|
509 |
## ie-dot11s-peer-management.h: uint8_t ns3::dot11s::IePeerManagement::GetInformationSize() const [member function] |
|
510 |
cls.add_method('GetInformationSize', |
|
511 |
'uint8_t', |
|
512 |
[], |
|
513 |
is_const=True, is_virtual=True) |
|
514 |
## ie-dot11s-peer-management.h: uint16_t ns3::dot11s::IePeerManagement::GetLocalLinkId() const [member function] |
|
515 |
cls.add_method('GetLocalLinkId', |
|
516 |
'uint16_t', |
|
517 |
[], |
|
518 |
is_const=True) |
|
519 |
## ie-dot11s-peer-management.h: uint16_t ns3::dot11s::IePeerManagement::GetPeerLinkId() const [member function] |
|
520 |
cls.add_method('GetPeerLinkId', |
|
521 |
'uint16_t', |
|
522 |
[], |
|
523 |
is_const=True) |
|
524 |
## ie-dot11s-peer-management.h: ns3::dot11s::PmpReasonCode ns3::dot11s::IePeerManagement::GetReasonCode() const [member function] |
|
525 |
cls.add_method('GetReasonCode', |
|
526 |
'ns3::dot11s::PmpReasonCode', |
|
527 |
[], |
|
528 |
is_const=True) |
|
529 |
## ie-dot11s-peer-management.h: uint8_t ns3::dot11s::IePeerManagement::GetSubtype() const [member function] |
|
530 |
cls.add_method('GetSubtype', |
|
531 |
'uint8_t', |
|
532 |
[], |
|
533 |
is_const=True) |
|
534 |
## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::Print(std::ostream & os) const [member function] |
|
535 |
cls.add_method('Print', |
|
536 |
'void', |
|
537 |
[param('std::ostream &', 'os')], |
|
538 |
is_const=True, is_virtual=True) |
|
539 |
## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::SerializeInformation(ns3::Buffer::Iterator i) const [member function] |
|
540 |
cls.add_method('SerializeInformation', |
|
541 |
'void', |
|
542 |
[param('ns3::Buffer::Iterator', 'i')], |
|
543 |
is_const=True, is_virtual=True) |
|
544 |
## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::SetPeerClose(uint16_t localLinkID, uint16_t peerLinkId, ns3::dot11s::PmpReasonCode reasonCode) [member function] |
|
545 |
cls.add_method('SetPeerClose', |
|
546 |
'void', |
|
547 |
[param('uint16_t', 'localLinkID'), param('uint16_t', 'peerLinkId'), param('ns3::dot11s::PmpReasonCode', 'reasonCode')]) |
|
548 |
## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::SetPeerConfirm(uint16_t localLinkID, uint16_t peerLinkId) [member function] |
|
549 |
cls.add_method('SetPeerConfirm', |
|
550 |
'void', |
|
551 |
[param('uint16_t', 'localLinkID'), param('uint16_t', 'peerLinkId')]) |
|
552 |
## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::SetPeerOpen(uint16_t localLinkId) [member function] |
|
553 |
cls.add_method('SetPeerOpen', |
|
554 |
'void', |
|
555 |
[param('uint16_t', 'localLinkId')]) |
|
556 |
## ie-dot11s-peer-management.h: bool ns3::dot11s::IePeerManagement::SubtypeIsClose() const [member function] |
|
557 |
cls.add_method('SubtypeIsClose', |
|
558 |
'bool', |
|
559 |
[], |
|
560 |
is_const=True) |
|
561 |
## ie-dot11s-peer-management.h: bool ns3::dot11s::IePeerManagement::SubtypeIsConfirm() const [member function] |
|
562 |
cls.add_method('SubtypeIsConfirm', |
|
563 |
'bool', |
|
564 |
[], |
|
565 |
is_const=True) |
|
566 |
## ie-dot11s-peer-management.h: bool ns3::dot11s::IePeerManagement::SubtypeIsOpen() const [member function] |
|
567 |
cls.add_method('SubtypeIsOpen', |
|
568 |
'bool', |
|
569 |
[], |
|
570 |
is_const=True) |
|
571 |
return |
|
572 |
||
573 |
def register_Ns3Dot11sPeerLink_methods(root_module, cls): |
|
574 |
## peer-link.h: static ns3::TypeId ns3::dot11s::PeerLink::GetTypeId() [member function] |
|
575 |
cls.add_method('GetTypeId', |
|
576 |
'ns3::TypeId', |
|
577 |
[], |
|
578 |
is_static=True) |
|
579 |
## peer-link.h: ns3::dot11s::PeerLink::PeerLink() [constructor] |
|
580 |
cls.add_constructor([]) |
|
581 |
## peer-link.h: void ns3::dot11s::PeerLink::DoDispose() [member function] |
|
582 |
cls.add_method('DoDispose', |
|
583 |
'void', |
|
584 |
[], |
|
585 |
is_virtual=True) |
|
586 |
## peer-link.h: void ns3::dot11s::PeerLink::SetBeaconInformation(ns3::Time lastBeacon, ns3::Time BeaconInterval) [member function] |
|
587 |
cls.add_method('SetBeaconInformation', |
|
588 |
'void', |
|
589 |
[param('ns3::Time', 'lastBeacon'), param('ns3::Time', 'BeaconInterval')]) |
|
590 |
## peer-link.h: void ns3::dot11s::PeerLink::SetLinkStatusCallback(ns3::Callback<void,unsigned int,ns3::Mac48Address,bool,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> cb) [member function] |
|
591 |
cls.add_method('SetLinkStatusCallback', |
|
592 |
'void', |
|
593 |
[param('ns3::Callback< void, unsigned int, ns3::Mac48Address, bool, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')]) |
|
594 |
## peer-link.h: void ns3::dot11s::PeerLink::SetPeerAddress(ns3::Mac48Address macaddr) [member function] |
|
595 |
cls.add_method('SetPeerAddress', |
|
596 |
'void', |
|
597 |
[param('ns3::Mac48Address', 'macaddr')]) |
|
598 |
## peer-link.h: void ns3::dot11s::PeerLink::SetPeerMeshPointAddress(ns3::Mac48Address macaddr) [member function] |
|
599 |
cls.add_method('SetPeerMeshPointAddress', |
|
600 |
'void', |
|
601 |
[param('ns3::Mac48Address', 'macaddr')]) |
|
602 |
## peer-link.h: void ns3::dot11s::PeerLink::SetInterface(uint32_t interface) [member function] |
|
603 |
cls.add_method('SetInterface', |
|
604 |
'void', |
|
605 |
[param('uint32_t', 'interface')]) |
|
606 |
## peer-link.h: void ns3::dot11s::PeerLink::SetLocalLinkId(uint16_t id) [member function] |
|
607 |
cls.add_method('SetLocalLinkId', |
|
608 |
'void', |
|
609 |
[param('uint16_t', 'id')]) |
|
610 |
## peer-link.h: void ns3::dot11s::PeerLink::SetLocalAid(uint16_t aid) [member function] |
|
611 |
cls.add_method('SetLocalAid', |
|
612 |
'void', |
|
613 |
[param('uint16_t', 'aid')]) |
|
5456
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
614 |
## peer-link.h: uint16_t ns3::dot11s::PeerLink::GetPeerAid() const [member function] |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
615 |
cls.add_method('GetPeerAid', |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
616 |
'uint16_t', |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
617 |
[], |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
618 |
is_const=True) |
5348 | 619 |
## peer-link.h: void ns3::dot11s::PeerLink::SetBeaconTimingElement(ns3::dot11s::IeBeaconTiming beaconTiming) [member function] |
620 |
cls.add_method('SetBeaconTimingElement', |
|
621 |
'void', |
|
622 |
[param('ns3::dot11s::IeBeaconTiming', 'beaconTiming')]) |
|
623 |
## peer-link.h: ns3::Mac48Address ns3::dot11s::PeerLink::GetPeerAddress() const [member function] |
|
624 |
cls.add_method('GetPeerAddress', |
|
625 |
'ns3::Mac48Address', |
|
626 |
[], |
|
627 |
is_const=True) |
|
628 |
## peer-link.h: uint16_t ns3::dot11s::PeerLink::GetLocalAid() const [member function] |
|
629 |
cls.add_method('GetLocalAid', |
|
630 |
'uint16_t', |
|
631 |
[], |
|
632 |
is_const=True) |
|
633 |
## peer-link.h: ns3::Time ns3::dot11s::PeerLink::GetLastBeacon() const [member function] |
|
634 |
cls.add_method('GetLastBeacon', |
|
635 |
'ns3::Time', |
|
636 |
[], |
|
637 |
is_const=True) |
|
638 |
## peer-link.h: ns3::Time ns3::dot11s::PeerLink::GetBeaconInterval() const [member function] |
|
639 |
cls.add_method('GetBeaconInterval', |
|
640 |
'ns3::Time', |
|
641 |
[], |
|
642 |
is_const=True) |
|
643 |
## peer-link.h: ns3::dot11s::IeBeaconTiming ns3::dot11s::PeerLink::GetBeaconTimingElement() const [member function] |
|
644 |
cls.add_method('GetBeaconTimingElement', |
|
645 |
'ns3::dot11s::IeBeaconTiming', |
|
646 |
[], |
|
647 |
is_const=True) |
|
648 |
## peer-link.h: void ns3::dot11s::PeerLink::MLMECancelPeerLink(ns3::dot11s::PmpReasonCode reason) [member function] |
|
649 |
cls.add_method('MLMECancelPeerLink', |
|
650 |
'void', |
|
651 |
[param('ns3::dot11s::PmpReasonCode', 'reason')]) |
|
652 |
## peer-link.h: void ns3::dot11s::PeerLink::MLMEActivePeerLinkOpen() [member function] |
|
653 |
cls.add_method('MLMEActivePeerLinkOpen', |
|
654 |
'void', |
|
655 |
[]) |
|
656 |
## peer-link.h: void ns3::dot11s::PeerLink::MLMEPeeringRequestReject() [member function] |
|
657 |
cls.add_method('MLMEPeeringRequestReject', |
|
658 |
'void', |
|
659 |
[]) |
|
660 |
## peer-link.h: void ns3::dot11s::PeerLink::MLMESetSignalStatusCallback(ns3::Callback<void, unsigned int, ns3::Mac48Address, ns3::Mac48Address, ns3::dot11s::PeerLink::PeerState, ns3::dot11s::PeerLink::PeerState, ns3::empty, ns3::empty, ns3::empty, ns3::empty> arg0) [member function] |
|
661 |
cls.add_method('MLMESetSignalStatusCallback', |
|
662 |
'void', |
|
663 |
[param('ns3::Callback< void, unsigned int, ns3::Mac48Address, ns3::Mac48Address, ns3::dot11s::PeerLink::PeerState, ns3::dot11s::PeerLink::PeerState, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'arg0')]) |
|
664 |
## peer-link.h: void ns3::dot11s::PeerLink::TransmissionSuccess() [member function] |
|
665 |
cls.add_method('TransmissionSuccess', |
|
666 |
'void', |
|
667 |
[]) |
|
668 |
## peer-link.h: void ns3::dot11s::PeerLink::TransmissionFailure() [member function] |
|
669 |
cls.add_method('TransmissionFailure', |
|
670 |
'void', |
|
671 |
[]) |
|
672 |
## peer-link.h: void ns3::dot11s::PeerLink::Report(std::ostream & os) const [member function] |
|
673 |
cls.add_method('Report', |
|
674 |
'void', |
|
675 |
[param('std::ostream &', 'os')], |
|
676 |
is_const=True) |
|
677 |
return |
|
678 |
||
679 |
def register_Ns3Dot11sPeerManagementProtocol_methods(root_module, cls): |
|
680 |
## peer-management-protocol.h: ns3::dot11s::PeerManagementProtocol::PeerManagementProtocol() [constructor] |
|
681 |
cls.add_constructor([]) |
|
682 |
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ConfigurationMismatch(uint32_t interface, ns3::Mac48Address peerAddress) [member function] |
|
683 |
cls.add_method('ConfigurationMismatch', |
|
684 |
'void', |
|
685 |
[param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress')]) |
|
686 |
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::DoDispose() [member function] |
|
687 |
cls.add_method('DoDispose', |
|
688 |
'void', |
|
689 |
[], |
|
690 |
is_virtual=True) |
|
691 |
## peer-management-protocol.h: ns3::Ptr<ns3::dot11s::PeerLink> ns3::dot11s::PeerManagementProtocol::FindPeerLink(uint32_t interface, ns3::Mac48Address peerAddress) [member function] |
|
692 |
cls.add_method('FindPeerLink', |
|
693 |
'ns3::Ptr< ns3::dot11s::PeerLink >', |
|
694 |
[param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress')]) |
|
695 |
## peer-management-protocol.h: ns3::Mac48Address ns3::dot11s::PeerManagementProtocol::GetAddress() [member function] |
|
696 |
cls.add_method('GetAddress', |
|
697 |
'ns3::Mac48Address', |
|
698 |
[]) |
|
5456
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
699 |
## peer-management-protocol.h: bool ns3::dot11s::PeerManagementProtocol::GetBeaconCollisionAvoidance() const [member function] |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
700 |
cls.add_method('GetBeaconCollisionAvoidance', |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
701 |
'bool', |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
702 |
[], |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
703 |
is_const=True) |
5348 | 704 |
## peer-management-protocol.h: ns3::Ptr<ns3::dot11s::IeBeaconTiming> ns3::dot11s::PeerManagementProtocol::GetBeaconTimingElement(uint32_t interface) [member function] |
705 |
cls.add_method('GetBeaconTimingElement', |
|
706 |
'ns3::Ptr< ns3::dot11s::IeBeaconTiming >', |
|
707 |
[param('uint32_t', 'interface')]) |
|
708 |
## peer-management-protocol.h: ns3::Ptr<ns3::dot11s::IeMeshId> ns3::dot11s::PeerManagementProtocol::GetMeshId() const [member function] |
|
709 |
cls.add_method('GetMeshId', |
|
710 |
'ns3::Ptr< ns3::dot11s::IeMeshId >', |
|
711 |
[], |
|
712 |
is_const=True) |
|
713 |
## peer-management-protocol.h: uint8_t ns3::dot11s::PeerManagementProtocol::GetNumberOfLinks() [member function] |
|
714 |
cls.add_method('GetNumberOfLinks', |
|
715 |
'uint8_t', |
|
716 |
[]) |
|
5456
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
717 |
## peer-management-protocol.h: std::vector<ns3::Ptr<ns3::dot11s::PeerLink>,std::allocator<ns3::Ptr<ns3::dot11s::PeerLink> > > ns3::dot11s::PeerManagementProtocol::GetPeerLinks() const [member function] |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
718 |
cls.add_method('GetPeerLinks', |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
719 |
'std::vector< ns3::Ptr< ns3::dot11s::PeerLink > >', |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
720 |
[], |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
721 |
is_const=True) |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
722 |
## peer-management-protocol.h: std::vector<ns3::Mac48Address,std::allocator<ns3::Mac48Address> > ns3::dot11s::PeerManagementProtocol::GetPeers(uint32_t interface) const [member function] |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
723 |
cls.add_method('GetPeers', |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
724 |
'std::vector< ns3::Mac48Address >', |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
725 |
[param('uint32_t', 'interface')], |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
726 |
is_const=True) |
5348 | 727 |
## peer-management-protocol.h: static ns3::TypeId ns3::dot11s::PeerManagementProtocol::GetTypeId() [member function] |
728 |
cls.add_method('GetTypeId', |
|
729 |
'ns3::TypeId', |
|
730 |
[], |
|
731 |
is_static=True) |
|
732 |
## peer-management-protocol.h: bool ns3::dot11s::PeerManagementProtocol::Install(ns3::Ptr<ns3::MeshPointDevice> arg0) [member function] |
|
733 |
cls.add_method('Install', |
|
734 |
'bool', |
|
735 |
[param('ns3::Ptr< ns3::MeshPointDevice >', 'arg0')]) |
|
736 |
## peer-management-protocol.h: bool ns3::dot11s::PeerManagementProtocol::IsActiveLink(uint32_t interface, ns3::Mac48Address peerAddress) [member function] |
|
737 |
cls.add_method('IsActiveLink', |
|
738 |
'bool', |
|
739 |
[param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress')]) |
|
5456
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
740 |
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::NotifyBeaconSent(uint32_t interface, ns3::Time beaconInterval) [member function] |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
741 |
cls.add_method('NotifyBeaconSent', |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
742 |
'void', |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
743 |
[param('uint32_t', 'interface'), param('ns3::Time', 'beaconInterval')]) |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
744 |
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ReceiveBeacon(uint32_t interface, ns3::Mac48Address peerAddress, ns3::Time beaconInterval, ns3::Ptr<ns3::dot11s::IeBeaconTiming> beaconTiming) [member function] |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
745 |
cls.add_method('ReceiveBeacon', |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
746 |
'void', |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
747 |
[param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress'), param('ns3::Time', 'beaconInterval'), param('ns3::Ptr< ns3::dot11s::IeBeaconTiming >', 'beaconTiming')]) |
5348 | 748 |
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ReceivePeerLinkFrame(uint32_t interface, ns3::Mac48Address peerAddress, ns3::Mac48Address peerMeshPointAddress, uint16_t aid, ns3::dot11s::IePeerManagement peerManagementElement, ns3::dot11s::IeConfiguration meshConfig) [member function] |
749 |
cls.add_method('ReceivePeerLinkFrame', |
|
750 |
'void', |
|
751 |
[param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress'), param('ns3::Mac48Address', 'peerMeshPointAddress'), param('uint16_t', 'aid'), param('ns3::dot11s::IePeerManagement', 'peerManagementElement'), param('ns3::dot11s::IeConfiguration', 'meshConfig')]) |
|
752 |
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::Report(std::ostream & arg0) const [member function] |
|
753 |
cls.add_method('Report', |
|
754 |
'void', |
|
755 |
[param('std::ostream &', 'arg0')], |
|
756 |
is_const=True) |
|
757 |
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ResetStats() [member function] |
|
758 |
cls.add_method('ResetStats', |
|
759 |
'void', |
|
760 |
[]) |
|
5456
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
761 |
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::SetBeaconCollisionAvoidance(bool enable) [member function] |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
762 |
cls.add_method('SetBeaconCollisionAvoidance', |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
763 |
'void', |
c2ebfa5f4e6d
Python API rescan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5348
diff
changeset
|
764 |
[param('bool', 'enable')]) |
5348 | 765 |
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::SetMeshId(std::string s) [member function] |
766 |
cls.add_method('SetMeshId', |
|
767 |
'void', |
|
768 |
[param('std::string', 's')]) |
|
769 |
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::SetPeerLinkStatusCallback(ns3::Callback<void, ns3::Mac48Address, ns3::Mac48Address, unsigned int, bool, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] |
|
770 |
cls.add_method('SetPeerLinkStatusCallback', |
|
771 |
'void', |
|
772 |
[param('ns3::Callback< void, ns3::Mac48Address, ns3::Mac48Address, unsigned int, bool, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')]) |
|
773 |
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::TransmissionFailure(uint32_t interface, ns3::Mac48Address const peerAddress) [member function] |
|
774 |
cls.add_method('TransmissionFailure', |
|
775 |
'void', |
|
776 |
[param('uint32_t', 'interface'), param('ns3::Mac48Address const', 'peerAddress')]) |
|
777 |
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::TransmissionSuccess(uint32_t interface, ns3::Mac48Address const peerAddress) [member function] |
|
778 |
cls.add_method('TransmissionSuccess', |
|
779 |
'void', |
|
780 |
[param('uint32_t', 'interface'), param('ns3::Mac48Address const', 'peerAddress')]) |
|
781 |
return |
|
782 |
||
783 |
def register_functions(root_module): |
|
784 |
module = root_module |
|
785 |
register_functions_ns3_Config(module.get_submodule('Config'), root_module) |
|
786 |
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) |
|
787 |
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:
5456
diff
changeset
|
788 |
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) |
5348 | 789 |
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) |
790 |
register_functions_ns3_flame(module.get_submodule('flame'), root_module) |
|
791 |
register_functions_ns3_internal(module.get_submodule('internal'), root_module) |
|
792 |
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) |
|
793 |
return |
|
794 |
||
795 |
def register_functions_ns3_Config(module, root_module): |
|
796 |
return |
|
797 |
||
798 |
def register_functions_ns3_TimeStepPrecision(module, root_module): |
|
799 |
return |
|
800 |
||
801 |
def register_functions_ns3_addressUtils(module, root_module): |
|
802 |
return |
|
803 |
||
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:
5456
diff
changeset
|
804 |
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:
5456
diff
changeset
|
805 |
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:
5456
diff
changeset
|
806 |
|
5348 | 807 |
def register_functions_ns3_dot11s(module, root_module): |
808 |
## ie-dot11s-id.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::dot11s::MakeIeMeshIdChecker() [free function] |
|
809 |
module.add_function('MakeIeMeshIdChecker', |
|
810 |
'ns3::Ptr< ns3::AttributeChecker const >', |
|
811 |
[]) |
|
812 |
return |
|
813 |
||
814 |
def register_functions_ns3_flame(module, root_module): |
|
815 |
return |
|
816 |
||
817 |
def register_functions_ns3_internal(module, root_module): |
|
818 |
return |
|
819 |
||
820 |
def register_functions_ns3_olsr(module, root_module): |
|
821 |
return |
|
822 |