tomh@4474
|
1 |
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
|
gjc@3408
|
2 |
|
gjc@3408
|
3 |
def register_types(module):
|
gjc@3408
|
4 |
root_module = module.get_root()
|
gjc@3408
|
5 |
|
mathieu@4358
|
6 |
## olsr-state.h: ns3::OlsrState [class]
|
mathieu@4358
|
7 |
module.add_class('OlsrState')
|
mathieu@4358
|
8 |
module.add_container('std::vector< ns3::olsr::MprSelectorTuple >', 'ns3::olsr::MprSelectorTuple', container_type='vector')
|
mathieu@4358
|
9 |
module.add_container('std::vector< ns3::olsr::NeighborTuple >', 'ns3::olsr::NeighborTuple', container_type='vector')
|
mathieu@4358
|
10 |
module.add_container('std::vector< ns3::olsr::TwoHopNeighborTuple >', 'ns3::olsr::TwoHopNeighborTuple', container_type='vector')
|
mathieu@4358
|
11 |
module.add_container('std::vector< ns3::olsr::LinkTuple >', 'ns3::olsr::LinkTuple', container_type='vector')
|
mathieu@4358
|
12 |
module.add_container('std::vector< ns3::olsr::TopologyTuple >', 'ns3::olsr::TopologyTuple', container_type='vector')
|
mathieu@4358
|
13 |
module.add_container('std::vector< ns3::olsr::IfaceAssocTuple >', 'ns3::olsr::IfaceAssocTuple', container_type='vector')
|
gjc@3408
|
14 |
|
gjc@3855
|
15 |
## Register a nested module for the namespace Config
|
gjc@3408
|
16 |
|
gjc@3855
|
17 |
nested_module = module.add_cpp_namespace('Config')
|
gjc@3855
|
18 |
register_types_ns3_Config(nested_module)
|
gjc@3408
|
19 |
|
gjc@3408
|
20 |
|
gjc@3408
|
21 |
## Register a nested module for the namespace TimeStepPrecision
|
gjc@3408
|
22 |
|
gjc@3408
|
23 |
nested_module = module.add_cpp_namespace('TimeStepPrecision')
|
gjc@3408
|
24 |
register_types_ns3_TimeStepPrecision(nested_module)
|
gjc@3408
|
25 |
|
gjc@3408
|
26 |
|
tomh@4474
|
27 |
## Register a nested module for the namespace addressUtils
|
tomh@4474
|
28 |
|
tomh@4474
|
29 |
nested_module = module.add_cpp_namespace('addressUtils')
|
tomh@4474
|
30 |
register_types_ns3_addressUtils(nested_module)
|
tomh@4474
|
31 |
|
tomh@4474
|
32 |
|
gjc@3855
|
33 |
## Register a nested module for the namespace internal
|
gjc@3408
|
34 |
|
gjc@3855
|
35 |
nested_module = module.add_cpp_namespace('internal')
|
gjc@3855
|
36 |
register_types_ns3_internal(nested_module)
|
gjc@3408
|
37 |
|
gjc@3408
|
38 |
|
gjc@3408
|
39 |
## Register a nested module for the namespace olsr
|
gjc@3408
|
40 |
|
gjc@3408
|
41 |
nested_module = module.add_cpp_namespace('olsr')
|
gjc@3408
|
42 |
register_types_ns3_olsr(nested_module)
|
gjc@3408
|
43 |
|
gjc@3408
|
44 |
|
gjc@3855
|
45 |
def register_types_ns3_Config(module):
|
gjc@3408
|
46 |
root_module = module.get_root()
|
gjc@3408
|
47 |
|
gjc@3408
|
48 |
|
gjc@3408
|
49 |
def register_types_ns3_TimeStepPrecision(module):
|
gjc@3408
|
50 |
root_module = module.get_root()
|
gjc@3408
|
51 |
|
gjc@3408
|
52 |
|
tomh@4474
|
53 |
def register_types_ns3_addressUtils(module):
|
tomh@4474
|
54 |
root_module = module.get_root()
|
tomh@4474
|
55 |
|
tomh@4474
|
56 |
|
gjc@3855
|
57 |
def register_types_ns3_internal(module):
|
gjc@3408
|
58 |
root_module = module.get_root()
|
gjc@3408
|
59 |
|
gjc@3408
|
60 |
|
gjc@3408
|
61 |
def register_types_ns3_olsr(module):
|
gjc@3408
|
62 |
root_module = module.get_root()
|
gjc@3408
|
63 |
|
mathieu@4358
|
64 |
## olsr-repositories.h: ns3::olsr::DuplicateTuple [struct]
|
mathieu@4358
|
65 |
module.add_class('DuplicateTuple')
|
mathieu@4358
|
66 |
## olsr-repositories.h: ns3::olsr::IfaceAssocTuple [struct]
|
mathieu@4358
|
67 |
module.add_class('IfaceAssocTuple')
|
mathieu@4358
|
68 |
## olsr-repositories.h: ns3::olsr::LinkTuple [struct]
|
mathieu@4358
|
69 |
module.add_class('LinkTuple')
|
gjc@3408
|
70 |
## olsr-header.h: ns3::olsr::MessageHeader [class]
|
gjc@3457
|
71 |
module.add_class('MessageHeader', parent=root_module['ns3::Header'])
|
gjc@3408
|
72 |
## olsr-header.h: ns3::olsr::MessageHeader::MessageType [enumeration]
|
gjc@3408
|
73 |
module.add_enum('MessageType', ['HELLO_MESSAGE', 'TC_MESSAGE', 'MID_MESSAGE', 'HNA_MESSAGE'], outer_class=root_module['ns3::olsr::MessageHeader'])
|
gjc@3408
|
74 |
## olsr-header.h: ns3::olsr::MessageHeader::Hello [struct]
|
gjc@3408
|
75 |
module.add_class('Hello', outer_class=root_module['ns3::olsr::MessageHeader'])
|
gjc@3408
|
76 |
## olsr-header.h: ns3::olsr::MessageHeader::Hello::LinkMessage [struct]
|
gjc@3408
|
77 |
module.add_class('LinkMessage', outer_class=root_module['ns3::olsr::MessageHeader::Hello'])
|
gjc@3408
|
78 |
## olsr-header.h: ns3::olsr::MessageHeader::Hna [struct]
|
gjc@3408
|
79 |
module.add_class('Hna', outer_class=root_module['ns3::olsr::MessageHeader'])
|
gjc@3408
|
80 |
## olsr-header.h: ns3::olsr::MessageHeader::Hna::Association [struct]
|
gjc@3408
|
81 |
module.add_class('Association', outer_class=root_module['ns3::olsr::MessageHeader::Hna'])
|
gjc@3731
|
82 |
## olsr-header.h: ns3::olsr::MessageHeader::Mid [struct]
|
gjc@3731
|
83 |
module.add_class('Mid', outer_class=root_module['ns3::olsr::MessageHeader'])
|
gjc@3731
|
84 |
## olsr-header.h: ns3::olsr::MessageHeader::Tc [struct]
|
gjc@3731
|
85 |
module.add_class('Tc', outer_class=root_module['ns3::olsr::MessageHeader'])
|
mathieu@4358
|
86 |
## olsr-repositories.h: ns3::olsr::MprSelectorTuple [struct]
|
mathieu@4358
|
87 |
module.add_class('MprSelectorTuple')
|
mathieu@4358
|
88 |
## olsr-repositories.h: ns3::olsr::NeighborTuple [struct]
|
mathieu@4358
|
89 |
module.add_class('NeighborTuple')
|
mathieu@4358
|
90 |
## olsr-repositories.h: ns3::olsr::NeighborTuple::Status [enumeration]
|
mathieu@4358
|
91 |
module.add_enum('Status', ['STATUS_NOT_SYM', 'STATUS_SYM'], outer_class=root_module['ns3::olsr::NeighborTuple'])
|
gjc@3408
|
92 |
## olsr-header.h: ns3::olsr::PacketHeader [class]
|
gjc@3457
|
93 |
module.add_class('PacketHeader', parent=root_module['ns3::Header'])
|
mathieu@4364
|
94 |
## olsr-routing-protocol.h: ns3::olsr::RoutingProtocol [class]
|
mathieu@4364
|
95 |
module.add_class('RoutingProtocol', parent=root_module['ns3::Ipv4RoutingProtocol'])
|
mathieu@4364
|
96 |
## olsr-routing-protocol.h: ns3::olsr::RoutingTableEntry [struct]
|
gjc@3853
|
97 |
module.add_class('RoutingTableEntry')
|
mathieu@4358
|
98 |
## olsr-repositories.h: ns3::olsr::TopologyTuple [struct]
|
mathieu@4358
|
99 |
module.add_class('TopologyTuple')
|
mathieu@4358
|
100 |
## olsr-repositories.h: ns3::olsr::TwoHopNeighborTuple [struct]
|
mathieu@4358
|
101 |
module.add_class('TwoHopNeighborTuple')
|
gjc@3731
|
102 |
module.add_container('std::vector< ns3::olsr::MessageHeader::Hello::LinkMessage >', 'ns3::olsr::MessageHeader::Hello::LinkMessage', container_type='vector')
|
gjc@3731
|
103 |
module.add_container('std::vector< ns3::olsr::MessageHeader::Hna::Association >', 'ns3::olsr::MessageHeader::Hna::Association', container_type='vector')
|
tomh@4474
|
104 |
typehandlers.add_type_alias('std::vector< ns3::olsr::DuplicateTuple, std::allocator< ns3::olsr::DuplicateTuple > >', 'ns3::olsr::DuplicateSet')
|
tomh@4474
|
105 |
typehandlers.add_type_alias('std::set< ns3::Ipv4Address, std::less< ns3::Ipv4Address >, std::allocator< ns3::Ipv4Address > >', 'ns3::olsr::MprSet')
|
tomh@4474
|
106 |
typehandlers.add_type_alias('std::vector< ns3::olsr::MprSelectorTuple, std::allocator< ns3::olsr::MprSelectorTuple > >', 'ns3::olsr::MprSelectorSet')
|
tomh@4474
|
107 |
typehandlers.add_type_alias('std::vector< ns3::olsr::MessageHeader, std::allocator< ns3::olsr::MessageHeader > >', 'ns3::olsr::MessageList')
|
tomh@4474
|
108 |
typehandlers.add_type_alias('std::vector< ns3::olsr::IfaceAssocTuple, std::allocator< ns3::olsr::IfaceAssocTuple > >', 'ns3::olsr::IfaceAssocSet')
|
tomh@4474
|
109 |
typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >', 'ns3::olsr::NeighborSet')
|
tomh@4474
|
110 |
typehandlers.add_type_alias('std::vector< ns3::olsr::TwoHopNeighborTuple, std::allocator< ns3::olsr::TwoHopNeighborTuple > >', 'ns3::olsr::TwoHopNeighborSet')
|
mathieu@4604
|
111 |
typehandlers.add_type_alias('std::vector< ns3::olsr::TopologyTuple, std::allocator< ns3::olsr::TopologyTuple > >', 'ns3::olsr::TopologySet')
|
tomh@4474
|
112 |
typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >', 'ns3::olsr::LinkSet')
|
gjc@3408
|
113 |
|
gjc@3408
|
114 |
def register_methods(root_module):
|
mathieu@4358
|
115 |
register_Ns3OlsrState_methods(root_module, root_module['ns3::OlsrState'])
|
mathieu@4358
|
116 |
register_Ns3OlsrDuplicateTuple_methods(root_module, root_module['ns3::olsr::DuplicateTuple'])
|
mathieu@4358
|
117 |
register_Ns3OlsrIfaceAssocTuple_methods(root_module, root_module['ns3::olsr::IfaceAssocTuple'])
|
mathieu@4358
|
118 |
register_Ns3OlsrLinkTuple_methods(root_module, root_module['ns3::olsr::LinkTuple'])
|
gjc@3408
|
119 |
register_Ns3OlsrMessageHeader_methods(root_module, root_module['ns3::olsr::MessageHeader'])
|
gjc@3408
|
120 |
register_Ns3OlsrMessageHeaderHello_methods(root_module, root_module['ns3::olsr::MessageHeader::Hello'])
|
gjc@3408
|
121 |
register_Ns3OlsrMessageHeaderHelloLinkMessage_methods(root_module, root_module['ns3::olsr::MessageHeader::Hello::LinkMessage'])
|
gjc@3408
|
122 |
register_Ns3OlsrMessageHeaderHna_methods(root_module, root_module['ns3::olsr::MessageHeader::Hna'])
|
gjc@3408
|
123 |
register_Ns3OlsrMessageHeaderHnaAssociation_methods(root_module, root_module['ns3::olsr::MessageHeader::Hna::Association'])
|
gjc@3731
|
124 |
register_Ns3OlsrMessageHeaderMid_methods(root_module, root_module['ns3::olsr::MessageHeader::Mid'])
|
gjc@3731
|
125 |
register_Ns3OlsrMessageHeaderTc_methods(root_module, root_module['ns3::olsr::MessageHeader::Tc'])
|
mathieu@4358
|
126 |
register_Ns3OlsrMprSelectorTuple_methods(root_module, root_module['ns3::olsr::MprSelectorTuple'])
|
mathieu@4358
|
127 |
register_Ns3OlsrNeighborTuple_methods(root_module, root_module['ns3::olsr::NeighborTuple'])
|
gjc@3408
|
128 |
register_Ns3OlsrPacketHeader_methods(root_module, root_module['ns3::olsr::PacketHeader'])
|
mathieu@4364
|
129 |
register_Ns3OlsrRoutingProtocol_methods(root_module, root_module['ns3::olsr::RoutingProtocol'])
|
gjc@3853
|
130 |
register_Ns3OlsrRoutingTableEntry_methods(root_module, root_module['ns3::olsr::RoutingTableEntry'])
|
mathieu@4358
|
131 |
register_Ns3OlsrTopologyTuple_methods(root_module, root_module['ns3::olsr::TopologyTuple'])
|
mathieu@4358
|
132 |
register_Ns3OlsrTwoHopNeighborTuple_methods(root_module, root_module['ns3::olsr::TwoHopNeighborTuple'])
|
gjc@3408
|
133 |
return
|
gjc@3408
|
134 |
|
mathieu@4358
|
135 |
def register_Ns3OlsrState_methods(root_module, cls):
|
mathieu@4358
|
136 |
## olsr-state.h: ns3::OlsrState::OlsrState(ns3::OlsrState const & arg0) [copy constructor]
|
mathieu@4358
|
137 |
cls.add_constructor([param('ns3::OlsrState const &', 'arg0')])
|
mathieu@4358
|
138 |
## olsr-state.h: ns3::OlsrState::OlsrState() [constructor]
|
mathieu@4241
|
139 |
cls.add_constructor([])
|
mathieu@4358
|
140 |
## olsr-state.h: ns3::olsr::MprSelectorSet const & ns3::OlsrState::GetMprSelectors() const [member function]
|
mathieu@4358
|
141 |
cls.add_method('GetMprSelectors',
|
mathieu@4358
|
142 |
'ns3::olsr::MprSelectorSet const &',
|
mathieu@4358
|
143 |
[],
|
mathieu@4358
|
144 |
is_const=True)
|
mathieu@4358
|
145 |
## olsr-state.h: ns3::olsr::MprSelectorTuple * ns3::OlsrState::FindMprSelectorTuple(ns3::Ipv4Address const & mainAddr) [member function]
|
mathieu@4358
|
146 |
cls.add_method('FindMprSelectorTuple',
|
mathieu@4358
|
147 |
'ns3::olsr::MprSelectorTuple *',
|
mathieu@4358
|
148 |
[param('ns3::Ipv4Address const &', 'mainAddr')])
|
mathieu@4358
|
149 |
## olsr-state.h: void ns3::OlsrState::EraseMprSelectorTuple(ns3::olsr::MprSelectorTuple const & tuple) [member function]
|
mathieu@4358
|
150 |
cls.add_method('EraseMprSelectorTuple',
|
mathieu@4358
|
151 |
'void',
|
mathieu@4358
|
152 |
[param('ns3::olsr::MprSelectorTuple const &', 'tuple')])
|
mathieu@4358
|
153 |
## olsr-state.h: void ns3::OlsrState::EraseMprSelectorTuples(ns3::Ipv4Address const & mainAddr) [member function]
|
mathieu@4358
|
154 |
cls.add_method('EraseMprSelectorTuples',
|
mathieu@4358
|
155 |
'void',
|
mathieu@4358
|
156 |
[param('ns3::Ipv4Address const &', 'mainAddr')])
|
mathieu@4358
|
157 |
## olsr-state.h: void ns3::OlsrState::InsertMprSelectorTuple(ns3::olsr::MprSelectorTuple const & tuple) [member function]
|
mathieu@4358
|
158 |
cls.add_method('InsertMprSelectorTuple',
|
mathieu@4358
|
159 |
'void',
|
mathieu@4358
|
160 |
[param('ns3::olsr::MprSelectorTuple const &', 'tuple')])
|
mathieu@4358
|
161 |
## olsr-state.h: std::string ns3::OlsrState::PrintMprSelectorSet() const [member function]
|
mathieu@4358
|
162 |
cls.add_method('PrintMprSelectorSet',
|
mathieu@4358
|
163 |
'std::string',
|
mathieu@4358
|
164 |
[],
|
mathieu@4358
|
165 |
is_const=True)
|
mathieu@4358
|
166 |
## olsr-state.h: ns3::olsr::NeighborSet const & ns3::OlsrState::GetNeighbors() const [member function]
|
mathieu@4358
|
167 |
cls.add_method('GetNeighbors',
|
mathieu@4358
|
168 |
'ns3::olsr::NeighborSet const &',
|
mathieu@4358
|
169 |
[],
|
mathieu@4358
|
170 |
is_const=True)
|
mathieu@4358
|
171 |
## olsr-state.h: ns3::olsr::NeighborSet & ns3::OlsrState::GetNeighbors() [member function]
|
mathieu@4358
|
172 |
cls.add_method('GetNeighbors',
|
mathieu@4358
|
173 |
'ns3::olsr::NeighborSet &',
|
mathieu@4358
|
174 |
[])
|
mathieu@4358
|
175 |
## olsr-state.h: ns3::olsr::NeighborTuple * ns3::OlsrState::FindNeighborTuple(ns3::Ipv4Address const & mainAddr) [member function]
|
mathieu@4358
|
176 |
cls.add_method('FindNeighborTuple',
|
mathieu@4358
|
177 |
'ns3::olsr::NeighborTuple *',
|
mathieu@4358
|
178 |
[param('ns3::Ipv4Address const &', 'mainAddr')])
|
mathieu@4358
|
179 |
## olsr-state.h: ns3::olsr::NeighborTuple const * ns3::OlsrState::FindSymNeighborTuple(ns3::Ipv4Address const & mainAddr) const [member function]
|
mathieu@4358
|
180 |
cls.add_method('FindSymNeighborTuple',
|
mathieu@4358
|
181 |
'ns3::olsr::NeighborTuple const *',
|
mathieu@4358
|
182 |
[param('ns3::Ipv4Address const &', 'mainAddr')],
|
mathieu@4358
|
183 |
is_const=True)
|
mathieu@4358
|
184 |
## olsr-state.h: ns3::olsr::NeighborTuple * ns3::OlsrState::FindNeighborTuple(ns3::Ipv4Address const & mainAddr, uint8_t willingness) [member function]
|
mathieu@4358
|
185 |
cls.add_method('FindNeighborTuple',
|
mathieu@4358
|
186 |
'ns3::olsr::NeighborTuple *',
|
mathieu@4358
|
187 |
[param('ns3::Ipv4Address const &', 'mainAddr'), param('uint8_t', 'willingness')])
|
mathieu@4358
|
188 |
## olsr-state.h: void ns3::OlsrState::EraseNeighborTuple(ns3::olsr::NeighborTuple const & neighborTuple) [member function]
|
mathieu@4358
|
189 |
cls.add_method('EraseNeighborTuple',
|
mathieu@4358
|
190 |
'void',
|
mathieu@4358
|
191 |
[param('ns3::olsr::NeighborTuple const &', 'neighborTuple')])
|
mathieu@4358
|
192 |
## olsr-state.h: void ns3::OlsrState::EraseNeighborTuple(ns3::Ipv4Address const & mainAddr) [member function]
|
mathieu@4358
|
193 |
cls.add_method('EraseNeighborTuple',
|
mathieu@4358
|
194 |
'void',
|
mathieu@4358
|
195 |
[param('ns3::Ipv4Address const &', 'mainAddr')])
|
mathieu@4358
|
196 |
## olsr-state.h: void ns3::OlsrState::InsertNeighborTuple(ns3::olsr::NeighborTuple const & tuple) [member function]
|
mathieu@4358
|
197 |
cls.add_method('InsertNeighborTuple',
|
mathieu@4358
|
198 |
'void',
|
mathieu@4358
|
199 |
[param('ns3::olsr::NeighborTuple const &', 'tuple')])
|
mathieu@4358
|
200 |
## olsr-state.h: ns3::olsr::TwoHopNeighborSet const & ns3::OlsrState::GetTwoHopNeighbors() const [member function]
|
mathieu@4358
|
201 |
cls.add_method('GetTwoHopNeighbors',
|
mathieu@4358
|
202 |
'ns3::olsr::TwoHopNeighborSet const &',
|
mathieu@4358
|
203 |
[],
|
mathieu@4358
|
204 |
is_const=True)
|
mathieu@4358
|
205 |
## olsr-state.h: ns3::olsr::TwoHopNeighborSet & ns3::OlsrState::GetTwoHopNeighbors() [member function]
|
mathieu@4358
|
206 |
cls.add_method('GetTwoHopNeighbors',
|
mathieu@4358
|
207 |
'ns3::olsr::TwoHopNeighborSet &',
|
mathieu@4358
|
208 |
[])
|
mathieu@4358
|
209 |
## olsr-state.h: ns3::olsr::TwoHopNeighborTuple * ns3::OlsrState::FindTwoHopNeighborTuple(ns3::Ipv4Address const & neighbor, ns3::Ipv4Address const & twoHopNeighbor) [member function]
|
mathieu@4358
|
210 |
cls.add_method('FindTwoHopNeighborTuple',
|
mathieu@4358
|
211 |
'ns3::olsr::TwoHopNeighborTuple *',
|
mathieu@4358
|
212 |
[param('ns3::Ipv4Address const &', 'neighbor'), param('ns3::Ipv4Address const &', 'twoHopNeighbor')])
|
mathieu@4358
|
213 |
## olsr-state.h: void ns3::OlsrState::EraseTwoHopNeighborTuple(ns3::olsr::TwoHopNeighborTuple const & tuple) [member function]
|
mathieu@4358
|
214 |
cls.add_method('EraseTwoHopNeighborTuple',
|
mathieu@4358
|
215 |
'void',
|
mathieu@4358
|
216 |
[param('ns3::olsr::TwoHopNeighborTuple const &', 'tuple')])
|
mathieu@4358
|
217 |
## olsr-state.h: void ns3::OlsrState::EraseTwoHopNeighborTuples(ns3::Ipv4Address const & neighbor) [member function]
|
mathieu@4358
|
218 |
cls.add_method('EraseTwoHopNeighborTuples',
|
mathieu@4358
|
219 |
'void',
|
mathieu@4358
|
220 |
[param('ns3::Ipv4Address const &', 'neighbor')])
|
mathieu@4358
|
221 |
## olsr-state.h: void ns3::OlsrState::EraseTwoHopNeighborTuples(ns3::Ipv4Address const & neighbor, ns3::Ipv4Address const & twoHopNeighbor) [member function]
|
mathieu@4358
|
222 |
cls.add_method('EraseTwoHopNeighborTuples',
|
mathieu@4358
|
223 |
'void',
|
mathieu@4358
|
224 |
[param('ns3::Ipv4Address const &', 'neighbor'), param('ns3::Ipv4Address const &', 'twoHopNeighbor')])
|
mathieu@4358
|
225 |
## olsr-state.h: void ns3::OlsrState::InsertTwoHopNeighborTuple(ns3::olsr::TwoHopNeighborTuple const & tuple) [member function]
|
mathieu@4358
|
226 |
cls.add_method('InsertTwoHopNeighborTuple',
|
mathieu@4358
|
227 |
'void',
|
mathieu@4358
|
228 |
[param('ns3::olsr::TwoHopNeighborTuple const &', 'tuple')])
|
mathieu@4358
|
229 |
## olsr-state.h: bool ns3::OlsrState::FindMprAddress(ns3::Ipv4Address const & address) [member function]
|
mathieu@4358
|
230 |
cls.add_method('FindMprAddress',
|
mathieu@4358
|
231 |
'bool',
|
mathieu@4358
|
232 |
[param('ns3::Ipv4Address const &', 'address')])
|
mathieu@4358
|
233 |
## olsr-state.h: void ns3::OlsrState::SetMprSet(ns3::olsr::MprSet mprSet) [member function]
|
mathieu@4358
|
234 |
cls.add_method('SetMprSet',
|
mathieu@4358
|
235 |
'void',
|
mathieu@4358
|
236 |
[param('ns3::olsr::MprSet', 'mprSet')])
|
mathieu@4358
|
237 |
## olsr-state.h: ns3::olsr::DuplicateTuple * ns3::OlsrState::FindDuplicateTuple(ns3::Ipv4Address const & address, uint16_t sequenceNumber) [member function]
|
mathieu@4358
|
238 |
cls.add_method('FindDuplicateTuple',
|
mathieu@4358
|
239 |
'ns3::olsr::DuplicateTuple *',
|
mathieu@4358
|
240 |
[param('ns3::Ipv4Address const &', 'address'), param('uint16_t', 'sequenceNumber')])
|
mathieu@4358
|
241 |
## olsr-state.h: void ns3::OlsrState::EraseDuplicateTuple(ns3::olsr::DuplicateTuple const & tuple) [member function]
|
mathieu@4358
|
242 |
cls.add_method('EraseDuplicateTuple',
|
mathieu@4358
|
243 |
'void',
|
mathieu@4358
|
244 |
[param('ns3::olsr::DuplicateTuple const &', 'tuple')])
|
mathieu@4358
|
245 |
## olsr-state.h: void ns3::OlsrState::InsertDuplicateTuple(ns3::olsr::DuplicateTuple const & tuple) [member function]
|
mathieu@4358
|
246 |
cls.add_method('InsertDuplicateTuple',
|
mathieu@4358
|
247 |
'void',
|
mathieu@4358
|
248 |
[param('ns3::olsr::DuplicateTuple const &', 'tuple')])
|
mathieu@4358
|
249 |
## olsr-state.h: ns3::olsr::LinkSet const & ns3::OlsrState::GetLinks() const [member function]
|
mathieu@4358
|
250 |
cls.add_method('GetLinks',
|
mathieu@4358
|
251 |
'ns3::olsr::LinkSet const &',
|
mathieu@4358
|
252 |
[],
|
mathieu@4358
|
253 |
is_const=True)
|
mathieu@4358
|
254 |
## olsr-state.h: ns3::olsr::LinkTuple * ns3::OlsrState::FindLinkTuple(ns3::Ipv4Address const & ifaceAddr) [member function]
|
mathieu@4358
|
255 |
cls.add_method('FindLinkTuple',
|
mathieu@4358
|
256 |
'ns3::olsr::LinkTuple *',
|
mathieu@4358
|
257 |
[param('ns3::Ipv4Address const &', 'ifaceAddr')])
|
mathieu@4358
|
258 |
## olsr-state.h: ns3::olsr::LinkTuple * ns3::OlsrState::FindSymLinkTuple(ns3::Ipv4Address const & ifaceAddr, ns3::Time time) [member function]
|
mathieu@4358
|
259 |
cls.add_method('FindSymLinkTuple',
|
mathieu@4358
|
260 |
'ns3::olsr::LinkTuple *',
|
mathieu@4358
|
261 |
[param('ns3::Ipv4Address const &', 'ifaceAddr'), param('ns3::Time', 'time')])
|
mathieu@4358
|
262 |
## olsr-state.h: void ns3::OlsrState::EraseLinkTuple(ns3::olsr::LinkTuple const & tuple) [member function]
|
mathieu@4358
|
263 |
cls.add_method('EraseLinkTuple',
|
mathieu@4358
|
264 |
'void',
|
mathieu@4358
|
265 |
[param('ns3::olsr::LinkTuple const &', 'tuple')])
|
mathieu@4358
|
266 |
## olsr-state.h: ns3::olsr::LinkTuple & ns3::OlsrState::InsertLinkTuple(ns3::olsr::LinkTuple const & tuple) [member function]
|
mathieu@4358
|
267 |
cls.add_method('InsertLinkTuple',
|
mathieu@4358
|
268 |
'ns3::olsr::LinkTuple &',
|
mathieu@4358
|
269 |
[param('ns3::olsr::LinkTuple const &', 'tuple')])
|
mathieu@4358
|
270 |
## olsr-state.h: ns3::olsr::TopologySet const & ns3::OlsrState::GetTopologySet() const [member function]
|
mathieu@4358
|
271 |
cls.add_method('GetTopologySet',
|
mathieu@4358
|
272 |
'ns3::olsr::TopologySet const &',
|
mathieu@4358
|
273 |
[],
|
mathieu@4358
|
274 |
is_const=True)
|
mathieu@4358
|
275 |
## olsr-state.h: ns3::olsr::TopologyTuple * ns3::OlsrState::FindTopologyTuple(ns3::Ipv4Address const & destAddr, ns3::Ipv4Address const & lastAddr) [member function]
|
mathieu@4358
|
276 |
cls.add_method('FindTopologyTuple',
|
mathieu@4358
|
277 |
'ns3::olsr::TopologyTuple *',
|
mathieu@4358
|
278 |
[param('ns3::Ipv4Address const &', 'destAddr'), param('ns3::Ipv4Address const &', 'lastAddr')])
|
mathieu@4358
|
279 |
## olsr-state.h: ns3::olsr::TopologyTuple * ns3::OlsrState::FindNewerTopologyTuple(ns3::Ipv4Address const & lastAddr, uint16_t ansn) [member function]
|
mathieu@4358
|
280 |
cls.add_method('FindNewerTopologyTuple',
|
mathieu@4358
|
281 |
'ns3::olsr::TopologyTuple *',
|
mathieu@4358
|
282 |
[param('ns3::Ipv4Address const &', 'lastAddr'), param('uint16_t', 'ansn')])
|
mathieu@4358
|
283 |
## olsr-state.h: void ns3::OlsrState::EraseTopologyTuple(ns3::olsr::TopologyTuple const & tuple) [member function]
|
mathieu@4358
|
284 |
cls.add_method('EraseTopologyTuple',
|
mathieu@4358
|
285 |
'void',
|
mathieu@4358
|
286 |
[param('ns3::olsr::TopologyTuple const &', 'tuple')])
|
mathieu@4358
|
287 |
## olsr-state.h: void ns3::OlsrState::EraseOlderTopologyTuples(ns3::Ipv4Address const & lastAddr, uint16_t ansn) [member function]
|
mathieu@4358
|
288 |
cls.add_method('EraseOlderTopologyTuples',
|
mathieu@4358
|
289 |
'void',
|
mathieu@4358
|
290 |
[param('ns3::Ipv4Address const &', 'lastAddr'), param('uint16_t', 'ansn')])
|
mathieu@4358
|
291 |
## olsr-state.h: void ns3::OlsrState::InsertTopologyTuple(ns3::olsr::TopologyTuple const & tuple) [member function]
|
mathieu@4358
|
292 |
cls.add_method('InsertTopologyTuple',
|
mathieu@4358
|
293 |
'void',
|
mathieu@4358
|
294 |
[param('ns3::olsr::TopologyTuple const &', 'tuple')])
|
mathieu@4358
|
295 |
## olsr-state.h: ns3::olsr::IfaceAssocSet const & ns3::OlsrState::GetIfaceAssocSet() const [member function]
|
mathieu@4358
|
296 |
cls.add_method('GetIfaceAssocSet',
|
mathieu@4358
|
297 |
'ns3::olsr::IfaceAssocSet const &',
|
mathieu@4358
|
298 |
[],
|
mathieu@4358
|
299 |
is_const=True)
|
mathieu@4358
|
300 |
## olsr-state.h: ns3::olsr::IfaceAssocSet & ns3::OlsrState::GetIfaceAssocSetMutable() [member function]
|
mathieu@4358
|
301 |
cls.add_method('GetIfaceAssocSetMutable',
|
mathieu@4358
|
302 |
'ns3::olsr::IfaceAssocSet &',
|
mathieu@4358
|
303 |
[])
|
mathieu@4358
|
304 |
## olsr-state.h: ns3::olsr::IfaceAssocTuple * ns3::OlsrState::FindIfaceAssocTuple(ns3::Ipv4Address const & ifaceAddr) [member function]
|
mathieu@4358
|
305 |
cls.add_method('FindIfaceAssocTuple',
|
mathieu@4358
|
306 |
'ns3::olsr::IfaceAssocTuple *',
|
mathieu@4358
|
307 |
[param('ns3::Ipv4Address const &', 'ifaceAddr')])
|
mathieu@4358
|
308 |
## olsr-state.h: ns3::olsr::IfaceAssocTuple const * ns3::OlsrState::FindIfaceAssocTuple(ns3::Ipv4Address const & ifaceAddr) const [member function]
|
mathieu@4358
|
309 |
cls.add_method('FindIfaceAssocTuple',
|
mathieu@4358
|
310 |
'ns3::olsr::IfaceAssocTuple const *',
|
mathieu@4358
|
311 |
[param('ns3::Ipv4Address const &', 'ifaceAddr')],
|
mathieu@4358
|
312 |
is_const=True)
|
mathieu@4358
|
313 |
## olsr-state.h: void ns3::OlsrState::EraseIfaceAssocTuple(ns3::olsr::IfaceAssocTuple const & tuple) [member function]
|
mathieu@4358
|
314 |
cls.add_method('EraseIfaceAssocTuple',
|
mathieu@4358
|
315 |
'void',
|
mathieu@4358
|
316 |
[param('ns3::olsr::IfaceAssocTuple const &', 'tuple')])
|
mathieu@4358
|
317 |
## olsr-state.h: void ns3::OlsrState::InsertIfaceAssocTuple(ns3::olsr::IfaceAssocTuple const & tuple) [member function]
|
mathieu@4358
|
318 |
cls.add_method('InsertIfaceAssocTuple',
|
mathieu@4358
|
319 |
'void',
|
mathieu@4358
|
320 |
[param('ns3::olsr::IfaceAssocTuple const &', 'tuple')])
|
mathieu@4358
|
321 |
## olsr-state.h: std::vector<ns3::Ipv4Address, std::allocator<ns3::Ipv4Address> > ns3::OlsrState::FindNeighborInterfaces(ns3::Ipv4Address const & neighborMainAddr) const [member function]
|
mathieu@4358
|
322 |
cls.add_method('FindNeighborInterfaces',
|
mathieu@4358
|
323 |
'std::vector< ns3::Ipv4Address >',
|
mathieu@4358
|
324 |
[param('ns3::Ipv4Address const &', 'neighborMainAddr')],
|
mathieu@4358
|
325 |
is_const=True)
|
mathieu@4358
|
326 |
return
|
mathieu@4358
|
327 |
|
mathieu@4358
|
328 |
def register_Ns3OlsrDuplicateTuple_methods(root_module, cls):
|
mathieu@4358
|
329 |
cls.add_binary_comparison_operator('==')
|
mathieu@4358
|
330 |
## olsr-repositories.h: ns3::olsr::DuplicateTuple::DuplicateTuple() [constructor]
|
mathieu@4358
|
331 |
cls.add_constructor([])
|
mathieu@4358
|
332 |
## olsr-repositories.h: ns3::olsr::DuplicateTuple::DuplicateTuple(ns3::olsr::DuplicateTuple const & arg0) [copy constructor]
|
mathieu@4358
|
333 |
cls.add_constructor([param('ns3::olsr::DuplicateTuple const &', 'arg0')])
|
mathieu@4358
|
334 |
## olsr-repositories.h: ns3::olsr::DuplicateTuple::address [variable]
|
mathieu@4358
|
335 |
cls.add_instance_attribute('address', 'ns3::Ipv4Address', is_const=False)
|
mathieu@4358
|
336 |
## olsr-repositories.h: ns3::olsr::DuplicateTuple::expirationTime [variable]
|
mathieu@4358
|
337 |
cls.add_instance_attribute('expirationTime', 'ns3::Time', is_const=False)
|
mathieu@4358
|
338 |
## olsr-repositories.h: ns3::olsr::DuplicateTuple::ifaceList [variable]
|
mathieu@4358
|
339 |
cls.add_instance_attribute('ifaceList', 'std::vector< ns3::Ipv4Address >', is_const=False)
|
mathieu@4358
|
340 |
## olsr-repositories.h: ns3::olsr::DuplicateTuple::retransmitted [variable]
|
mathieu@4358
|
341 |
cls.add_instance_attribute('retransmitted', 'bool', is_const=False)
|
mathieu@4358
|
342 |
## olsr-repositories.h: ns3::olsr::DuplicateTuple::sequenceNumber [variable]
|
mathieu@4358
|
343 |
cls.add_instance_attribute('sequenceNumber', 'uint16_t', is_const=False)
|
mathieu@4358
|
344 |
return
|
mathieu@4358
|
345 |
|
mathieu@4358
|
346 |
def register_Ns3OlsrIfaceAssocTuple_methods(root_module, cls):
|
mathieu@4358
|
347 |
cls.add_output_stream_operator()
|
mathieu@4358
|
348 |
cls.add_binary_comparison_operator('==')
|
mathieu@4358
|
349 |
## olsr-repositories.h: ns3::olsr::IfaceAssocTuple::IfaceAssocTuple() [constructor]
|
mathieu@4358
|
350 |
cls.add_constructor([])
|
mathieu@4358
|
351 |
## olsr-repositories.h: ns3::olsr::IfaceAssocTuple::IfaceAssocTuple(ns3::olsr::IfaceAssocTuple const & arg0) [copy constructor]
|
mathieu@4358
|
352 |
cls.add_constructor([param('ns3::olsr::IfaceAssocTuple const &', 'arg0')])
|
mathieu@4358
|
353 |
## olsr-repositories.h: ns3::olsr::IfaceAssocTuple::ifaceAddr [variable]
|
mathieu@4358
|
354 |
cls.add_instance_attribute('ifaceAddr', 'ns3::Ipv4Address', is_const=False)
|
mathieu@4358
|
355 |
## olsr-repositories.h: ns3::olsr::IfaceAssocTuple::mainAddr [variable]
|
mathieu@4358
|
356 |
cls.add_instance_attribute('mainAddr', 'ns3::Ipv4Address', is_const=False)
|
mathieu@4358
|
357 |
## olsr-repositories.h: ns3::olsr::IfaceAssocTuple::time [variable]
|
mathieu@4358
|
358 |
cls.add_instance_attribute('time', 'ns3::Time', is_const=False)
|
mathieu@4358
|
359 |
return
|
mathieu@4358
|
360 |
|
mathieu@4358
|
361 |
def register_Ns3OlsrLinkTuple_methods(root_module, cls):
|
mathieu@4358
|
362 |
cls.add_output_stream_operator()
|
mathieu@4358
|
363 |
cls.add_binary_comparison_operator('==')
|
mathieu@4358
|
364 |
## olsr-repositories.h: ns3::olsr::LinkTuple::LinkTuple() [constructor]
|
mathieu@4358
|
365 |
cls.add_constructor([])
|
mathieu@4358
|
366 |
## olsr-repositories.h: ns3::olsr::LinkTuple::LinkTuple(ns3::olsr::LinkTuple const & arg0) [copy constructor]
|
mathieu@4358
|
367 |
cls.add_constructor([param('ns3::olsr::LinkTuple const &', 'arg0')])
|
mathieu@4358
|
368 |
## olsr-repositories.h: ns3::olsr::LinkTuple::asymTime [variable]
|
mathieu@4358
|
369 |
cls.add_instance_attribute('asymTime', 'ns3::Time', is_const=False)
|
mathieu@4358
|
370 |
## olsr-repositories.h: ns3::olsr::LinkTuple::localIfaceAddr [variable]
|
mathieu@4358
|
371 |
cls.add_instance_attribute('localIfaceAddr', 'ns3::Ipv4Address', is_const=False)
|
mathieu@4358
|
372 |
## olsr-repositories.h: ns3::olsr::LinkTuple::neighborIfaceAddr [variable]
|
mathieu@4358
|
373 |
cls.add_instance_attribute('neighborIfaceAddr', 'ns3::Ipv4Address', is_const=False)
|
mathieu@4358
|
374 |
## olsr-repositories.h: ns3::olsr::LinkTuple::symTime [variable]
|
mathieu@4358
|
375 |
cls.add_instance_attribute('symTime', 'ns3::Time', is_const=False)
|
mathieu@4358
|
376 |
## olsr-repositories.h: ns3::olsr::LinkTuple::time [variable]
|
mathieu@4358
|
377 |
cls.add_instance_attribute('time', 'ns3::Time', is_const=False)
|
gjc@3731
|
378 |
return
|
gjc@3731
|
379 |
|
gjc@3408
|
380 |
def register_Ns3OlsrMessageHeader_methods(root_module, cls):
|
gjc@3731
|
381 |
cls.add_output_stream_operator()
|
gjc@3408
|
382 |
## olsr-header.h: ns3::olsr::MessageHeader::MessageHeader(ns3::olsr::MessageHeader const & arg0) [copy constructor]
|
gjc@3574
|
383 |
cls.add_constructor([param('ns3::olsr::MessageHeader const &', 'arg0')])
|
gjc@3408
|
384 |
## olsr-header.h: ns3::olsr::MessageHeader::MessageHeader() [constructor]
|
gjc@3468
|
385 |
cls.add_constructor([])
|
gjc@3408
|
386 |
## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
|
gjc@3468
|
387 |
cls.add_method('Deserialize',
|
gjc@3468
|
388 |
'uint32_t',
|
gjc@3468
|
389 |
[param('ns3::Buffer::Iterator', 'start')],
|
gjc@3468
|
390 |
is_virtual=True)
|
gjc@3408
|
391 |
## olsr-header.h: ns3::olsr::MessageHeader::Hello & ns3::olsr::MessageHeader::GetHello() [member function]
|
gjc@3468
|
392 |
cls.add_method('GetHello',
|
gjc@3574
|
393 |
'ns3::olsr::MessageHeader::Hello &',
|
gjc@3468
|
394 |
[])
|
gjc@3408
|
395 |
## olsr-header.h: ns3::olsr::MessageHeader::Hello const & ns3::olsr::MessageHeader::GetHello() const [member function]
|
gjc@3468
|
396 |
cls.add_method('GetHello',
|
gjc@3574
|
397 |
'ns3::olsr::MessageHeader::Hello const &',
|
gjc@3468
|
398 |
[],
|
gjc@3468
|
399 |
is_const=True)
|
gjc@3408
|
400 |
## olsr-header.h: ns3::olsr::MessageHeader::Hna & ns3::olsr::MessageHeader::GetHna() [member function]
|
gjc@3468
|
401 |
cls.add_method('GetHna',
|
gjc@3574
|
402 |
'ns3::olsr::MessageHeader::Hna &',
|
gjc@3468
|
403 |
[])
|
gjc@3408
|
404 |
## olsr-header.h: ns3::olsr::MessageHeader::Hna const & ns3::olsr::MessageHeader::GetHna() const [member function]
|
gjc@3468
|
405 |
cls.add_method('GetHna',
|
gjc@3574
|
406 |
'ns3::olsr::MessageHeader::Hna const &',
|
gjc@3468
|
407 |
[],
|
gjc@3468
|
408 |
is_const=True)
|
gjc@3408
|
409 |
## olsr-header.h: uint8_t ns3::olsr::MessageHeader::GetHopCount() const [member function]
|
gjc@3468
|
410 |
cls.add_method('GetHopCount',
|
gjc@3468
|
411 |
'uint8_t',
|
gjc@3468
|
412 |
[],
|
gjc@3468
|
413 |
is_const=True)
|
gjc@3408
|
414 |
## olsr-header.h: ns3::TypeId ns3::olsr::MessageHeader::GetInstanceTypeId() const [member function]
|
gjc@3468
|
415 |
cls.add_method('GetInstanceTypeId',
|
gjc@3468
|
416 |
'ns3::TypeId',
|
gjc@3468
|
417 |
[],
|
gjc@3468
|
418 |
is_const=True, is_virtual=True)
|
gjc@3408
|
419 |
## olsr-header.h: uint16_t ns3::olsr::MessageHeader::GetMessageSequenceNumber() const [member function]
|
gjc@3468
|
420 |
cls.add_method('GetMessageSequenceNumber',
|
gjc@3468
|
421 |
'uint16_t',
|
gjc@3468
|
422 |
[],
|
gjc@3468
|
423 |
is_const=True)
|
gjc@3408
|
424 |
## olsr-header.h: ns3::olsr::MessageHeader::MessageType ns3::olsr::MessageHeader::GetMessageType() const [member function]
|
gjc@3468
|
425 |
cls.add_method('GetMessageType',
|
gjc@3468
|
426 |
'ns3::olsr::MessageHeader::MessageType',
|
gjc@3468
|
427 |
[],
|
gjc@3468
|
428 |
is_const=True)
|
gjc@3408
|
429 |
## olsr-header.h: ns3::olsr::MessageHeader::Mid & ns3::olsr::MessageHeader::GetMid() [member function]
|
gjc@3468
|
430 |
cls.add_method('GetMid',
|
gjc@3574
|
431 |
'ns3::olsr::MessageHeader::Mid &',
|
gjc@3468
|
432 |
[])
|
gjc@3408
|
433 |
## olsr-header.h: ns3::olsr::MessageHeader::Mid const & ns3::olsr::MessageHeader::GetMid() const [member function]
|
gjc@3468
|
434 |
cls.add_method('GetMid',
|
gjc@3574
|
435 |
'ns3::olsr::MessageHeader::Mid const &',
|
gjc@3468
|
436 |
[],
|
gjc@3468
|
437 |
is_const=True)
|
gjc@3408
|
438 |
## olsr-header.h: ns3::Ipv4Address ns3::olsr::MessageHeader::GetOriginatorAddress() const [member function]
|
gjc@3468
|
439 |
cls.add_method('GetOriginatorAddress',
|
gjc@3468
|
440 |
'ns3::Ipv4Address',
|
gjc@3468
|
441 |
[],
|
gjc@3468
|
442 |
is_const=True)
|
gjc@3408
|
443 |
## olsr-header.h: uint32_t ns3::olsr::MessageHeader::GetSerializedSize() const [member function]
|
gjc@3468
|
444 |
cls.add_method('GetSerializedSize',
|
gjc@3468
|
445 |
'uint32_t',
|
gjc@3468
|
446 |
[],
|
gjc@3468
|
447 |
is_const=True, is_virtual=True)
|
gjc@3408
|
448 |
## olsr-header.h: ns3::olsr::MessageHeader::Tc & ns3::olsr::MessageHeader::GetTc() [member function]
|
gjc@3468
|
449 |
cls.add_method('GetTc',
|
gjc@3574
|
450 |
'ns3::olsr::MessageHeader::Tc &',
|
gjc@3468
|
451 |
[])
|
gjc@3408
|
452 |
## olsr-header.h: ns3::olsr::MessageHeader::Tc const & ns3::olsr::MessageHeader::GetTc() const [member function]
|
gjc@3468
|
453 |
cls.add_method('GetTc',
|
gjc@3574
|
454 |
'ns3::olsr::MessageHeader::Tc const &',
|
gjc@3468
|
455 |
[],
|
gjc@3468
|
456 |
is_const=True)
|
gjc@3408
|
457 |
## olsr-header.h: uint8_t ns3::olsr::MessageHeader::GetTimeToLive() const [member function]
|
gjc@3468
|
458 |
cls.add_method('GetTimeToLive',
|
gjc@3468
|
459 |
'uint8_t',
|
gjc@3468
|
460 |
[],
|
gjc@3468
|
461 |
is_const=True)
|
gjc@3408
|
462 |
## olsr-header.h: static ns3::TypeId ns3::olsr::MessageHeader::GetTypeId() [member function]
|
gjc@3468
|
463 |
cls.add_method('GetTypeId',
|
gjc@3468
|
464 |
'ns3::TypeId',
|
gjc@3468
|
465 |
[],
|
gjc@3468
|
466 |
is_static=True)
|
gjc@3408
|
467 |
## olsr-header.h: ns3::Time ns3::olsr::MessageHeader::GetVTime() const [member function]
|
gjc@3468
|
468 |
cls.add_method('GetVTime',
|
gjc@3468
|
469 |
'ns3::Time',
|
gjc@3468
|
470 |
[],
|
gjc@3468
|
471 |
is_const=True)
|
gjc@3408
|
472 |
## olsr-header.h: void ns3::olsr::MessageHeader::Print(std::ostream & os) const [member function]
|
gjc@3468
|
473 |
cls.add_method('Print',
|
gjc@3468
|
474 |
'void',
|
gjc@3574
|
475 |
[param('std::ostream &', 'os')],
|
gjc@3468
|
476 |
is_const=True, is_virtual=True)
|
gjc@3408
|
477 |
## olsr-header.h: void ns3::olsr::MessageHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
|
gjc@3468
|
478 |
cls.add_method('Serialize',
|
gjc@3468
|
479 |
'void',
|
gjc@3468
|
480 |
[param('ns3::Buffer::Iterator', 'start')],
|
gjc@3468
|
481 |
is_const=True, is_virtual=True)
|
gjc@3408
|
482 |
## olsr-header.h: void ns3::olsr::MessageHeader::SetHopCount(uint8_t hopCount) [member function]
|
gjc@3468
|
483 |
cls.add_method('SetHopCount',
|
gjc@3468
|
484 |
'void',
|
gjc@3468
|
485 |
[param('uint8_t', 'hopCount')])
|
gjc@3408
|
486 |
## olsr-header.h: void ns3::olsr::MessageHeader::SetMessageSequenceNumber(uint16_t messageSequenceNumber) [member function]
|
gjc@3468
|
487 |
cls.add_method('SetMessageSequenceNumber',
|
gjc@3468
|
488 |
'void',
|
gjc@3468
|
489 |
[param('uint16_t', 'messageSequenceNumber')])
|
gjc@3408
|
490 |
## olsr-header.h: void ns3::olsr::MessageHeader::SetMessageType(ns3::olsr::MessageHeader::MessageType messageType) [member function]
|
gjc@3468
|
491 |
cls.add_method('SetMessageType',
|
gjc@3468
|
492 |
'void',
|
gjc@3468
|
493 |
[param('ns3::olsr::MessageHeader::MessageType', 'messageType')])
|
gjc@3408
|
494 |
## olsr-header.h: void ns3::olsr::MessageHeader::SetOriginatorAddress(ns3::Ipv4Address originatorAddress) [member function]
|
gjc@3468
|
495 |
cls.add_method('SetOriginatorAddress',
|
gjc@3468
|
496 |
'void',
|
gjc@3468
|
497 |
[param('ns3::Ipv4Address', 'originatorAddress')])
|
gjc@3408
|
498 |
## olsr-header.h: void ns3::olsr::MessageHeader::SetTimeToLive(uint8_t timeToLive) [member function]
|
gjc@3468
|
499 |
cls.add_method('SetTimeToLive',
|
gjc@3468
|
500 |
'void',
|
gjc@3468
|
501 |
[param('uint8_t', 'timeToLive')])
|
gjc@3408
|
502 |
## olsr-header.h: void ns3::olsr::MessageHeader::SetVTime(ns3::Time time) [member function]
|
gjc@3468
|
503 |
cls.add_method('SetVTime',
|
gjc@3468
|
504 |
'void',
|
gjc@3468
|
505 |
[param('ns3::Time', 'time')])
|
gjc@3408
|
506 |
return
|
gjc@3408
|
507 |
|
gjc@3408
|
508 |
def register_Ns3OlsrMessageHeaderHello_methods(root_module, cls):
|
mathieu@4241
|
509 |
## olsr-header.h: ns3::olsr::MessageHeader::Hello::Hello() [constructor]
|
mathieu@4241
|
510 |
cls.add_constructor([])
|
gjc@3408
|
511 |
## olsr-header.h: ns3::olsr::MessageHeader::Hello::Hello(ns3::olsr::MessageHeader::Hello const & arg0) [copy constructor]
|
gjc@3574
|
512 |
cls.add_constructor([param('ns3::olsr::MessageHeader::Hello const &', 'arg0')])
|
gjc@3408
|
513 |
## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Hello::Deserialize(ns3::Buffer::Iterator start, uint32_t messageSize) [member function]
|
gjc@3468
|
514 |
cls.add_method('Deserialize',
|
gjc@3468
|
515 |
'uint32_t',
|
gjc@3468
|
516 |
[param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'messageSize')])
|
gjc@3408
|
517 |
## olsr-header.h: ns3::Time ns3::olsr::MessageHeader::Hello::GetHTime() const [member function]
|
gjc@3468
|
518 |
cls.add_method('GetHTime',
|
gjc@3468
|
519 |
'ns3::Time',
|
gjc@3468
|
520 |
[],
|
gjc@3468
|
521 |
is_const=True)
|
gjc@3408
|
522 |
## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Hello::GetSerializedSize() const [member function]
|
gjc@3468
|
523 |
cls.add_method('GetSerializedSize',
|
gjc@3468
|
524 |
'uint32_t',
|
gjc@3468
|
525 |
[],
|
gjc@3468
|
526 |
is_const=True)
|
gjc@3408
|
527 |
## olsr-header.h: void ns3::olsr::MessageHeader::Hello::Print(std::ostream & os) const [member function]
|
gjc@3468
|
528 |
cls.add_method('Print',
|
gjc@3468
|
529 |
'void',
|
gjc@3574
|
530 |
[param('std::ostream &', 'os')],
|
gjc@3468
|
531 |
is_const=True)
|
gjc@3408
|
532 |
## olsr-header.h: void ns3::olsr::MessageHeader::Hello::Serialize(ns3::Buffer::Iterator start) const [member function]
|
gjc@3468
|
533 |
cls.add_method('Serialize',
|
gjc@3468
|
534 |
'void',
|
gjc@3468
|
535 |
[param('ns3::Buffer::Iterator', 'start')],
|
gjc@3468
|
536 |
is_const=True)
|
gjc@3408
|
537 |
## olsr-header.h: void ns3::olsr::MessageHeader::Hello::SetHTime(ns3::Time time) [member function]
|
gjc@3468
|
538 |
cls.add_method('SetHTime',
|
gjc@3468
|
539 |
'void',
|
gjc@3468
|
540 |
[param('ns3::Time', 'time')])
|
gjc@3408
|
541 |
## olsr-header.h: ns3::olsr::MessageHeader::Hello::hTime [variable]
|
gjc@3408
|
542 |
cls.add_instance_attribute('hTime', 'uint8_t', is_const=False)
|
gjc@3408
|
543 |
## olsr-header.h: ns3::olsr::MessageHeader::Hello::linkMessages [variable]
|
gjc@3567
|
544 |
cls.add_instance_attribute('linkMessages', 'std::vector< ns3::olsr::MessageHeader::Hello::LinkMessage >', is_const=False)
|
gjc@3408
|
545 |
## olsr-header.h: ns3::olsr::MessageHeader::Hello::willingness [variable]
|
gjc@3408
|
546 |
cls.add_instance_attribute('willingness', 'uint8_t', is_const=False)
|
gjc@3408
|
547 |
return
|
gjc@3408
|
548 |
|
gjc@3408
|
549 |
def register_Ns3OlsrMessageHeaderHelloLinkMessage_methods(root_module, cls):
|
gjc@3408
|
550 |
## olsr-header.h: ns3::olsr::MessageHeader::Hello::LinkMessage::linkCode [variable]
|
gjc@3408
|
551 |
cls.add_instance_attribute('linkCode', 'uint8_t', is_const=False)
|
gjc@3408
|
552 |
## olsr-header.h: ns3::olsr::MessageHeader::Hello::LinkMessage::neighborInterfaceAddresses [variable]
|
gjc@3567
|
553 |
cls.add_instance_attribute('neighborInterfaceAddresses', 'std::vector< ns3::Ipv4Address >', is_const=False)
|
mathieu@4241
|
554 |
## olsr-header.h: ns3::olsr::MessageHeader::Hello::LinkMessage::LinkMessage(ns3::olsr::MessageHeader::Hello::LinkMessage const & arg0) [copy constructor]
|
mathieu@4241
|
555 |
cls.add_constructor([param('ns3::olsr::MessageHeader::Hello::LinkMessage const &', 'arg0')])
|
mathieu@4241
|
556 |
## olsr-header.h: ns3::olsr::MessageHeader::Hello::LinkMessage::LinkMessage() [constructor]
|
gjc@3408
|
557 |
cls.add_constructor([])
|
gjc@3408
|
558 |
return
|
gjc@3408
|
559 |
|
gjc@3408
|
560 |
def register_Ns3OlsrMessageHeaderHna_methods(root_module, cls):
|
mathieu@4241
|
561 |
## olsr-header.h: ns3::olsr::MessageHeader::Hna::Hna() [constructor]
|
mathieu@4241
|
562 |
cls.add_constructor([])
|
gjc@3408
|
563 |
## olsr-header.h: ns3::olsr::MessageHeader::Hna::Hna(ns3::olsr::MessageHeader::Hna const & arg0) [copy constructor]
|
gjc@3574
|
564 |
cls.add_constructor([param('ns3::olsr::MessageHeader::Hna const &', 'arg0')])
|
gjc@3408
|
565 |
## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Hna::Deserialize(ns3::Buffer::Iterator start, uint32_t messageSize) [member function]
|
gjc@3468
|
566 |
cls.add_method('Deserialize',
|
gjc@3468
|
567 |
'uint32_t',
|
gjc@3468
|
568 |
[param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'messageSize')])
|
gjc@3408
|
569 |
## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Hna::GetSerializedSize() const [member function]
|
gjc@3468
|
570 |
cls.add_method('GetSerializedSize',
|
gjc@3468
|
571 |
'uint32_t',
|
gjc@3468
|
572 |
[],
|
gjc@3468
|
573 |
is_const=True)
|
gjc@3408
|
574 |
## olsr-header.h: void ns3::olsr::MessageHeader::Hna::Print(std::ostream & os) const [member function]
|
gjc@3468
|
575 |
cls.add_method('Print',
|
gjc@3468
|
576 |
'void',
|
gjc@3574
|
577 |
[param('std::ostream &', 'os')],
|
gjc@3468
|
578 |
is_const=True)
|
gjc@3408
|
579 |
## olsr-header.h: void ns3::olsr::MessageHeader::Hna::Serialize(ns3::Buffer::Iterator start) const [member function]
|
gjc@3468
|
580 |
cls.add_method('Serialize',
|
gjc@3468
|
581 |
'void',
|
gjc@3468
|
582 |
[param('ns3::Buffer::Iterator', 'start')],
|
gjc@3468
|
583 |
is_const=True)
|
gjc@3408
|
584 |
## olsr-header.h: ns3::olsr::MessageHeader::Hna::associations [variable]
|
gjc@3567
|
585 |
cls.add_instance_attribute('associations', 'std::vector< ns3::olsr::MessageHeader::Hna::Association >', is_const=False)
|
gjc@3408
|
586 |
return
|
gjc@3408
|
587 |
|
gjc@3408
|
588 |
def register_Ns3OlsrMessageHeaderHnaAssociation_methods(root_module, cls):
|
gjc@3408
|
589 |
## olsr-header.h: ns3::olsr::MessageHeader::Hna::Association::address [variable]
|
gjc@3408
|
590 |
cls.add_instance_attribute('address', 'ns3::Ipv4Address', is_const=False)
|
gjc@3408
|
591 |
## olsr-header.h: ns3::olsr::MessageHeader::Hna::Association::mask [variable]
|
gjc@3408
|
592 |
cls.add_instance_attribute('mask', 'ns3::Ipv4Mask', is_const=False)
|
mathieu@4241
|
593 |
## olsr-header.h: ns3::olsr::MessageHeader::Hna::Association::Association(ns3::olsr::MessageHeader::Hna::Association const & arg0) [copy constructor]
|
mathieu@4241
|
594 |
cls.add_constructor([param('ns3::olsr::MessageHeader::Hna::Association const &', 'arg0')])
|
mathieu@4241
|
595 |
## olsr-header.h: ns3::olsr::MessageHeader::Hna::Association::Association() [constructor]
|
gjc@3408
|
596 |
cls.add_constructor([])
|
gjc@3408
|
597 |
return
|
gjc@3408
|
598 |
|
gjc@3731
|
599 |
def register_Ns3OlsrMessageHeaderMid_methods(root_module, cls):
|
mathieu@4241
|
600 |
## olsr-header.h: ns3::olsr::MessageHeader::Mid::Mid() [constructor]
|
mathieu@4241
|
601 |
cls.add_constructor([])
|
gjc@3731
|
602 |
## olsr-header.h: ns3::olsr::MessageHeader::Mid::Mid(ns3::olsr::MessageHeader::Mid const & arg0) [copy constructor]
|
gjc@3731
|
603 |
cls.add_constructor([param('ns3::olsr::MessageHeader::Mid const &', 'arg0')])
|
gjc@3731
|
604 |
## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Mid::Deserialize(ns3::Buffer::Iterator start, uint32_t messageSize) [member function]
|
gjc@3731
|
605 |
cls.add_method('Deserialize',
|
gjc@3731
|
606 |
'uint32_t',
|
gjc@3731
|
607 |
[param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'messageSize')])
|
gjc@3731
|
608 |
## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Mid::GetSerializedSize() const [member function]
|
gjc@3731
|
609 |
cls.add_method('GetSerializedSize',
|
gjc@3731
|
610 |
'uint32_t',
|
gjc@3468
|
611 |
[],
|
gjc@3731
|
612 |
is_const=True)
|
gjc@3731
|
613 |
## olsr-header.h: void ns3::olsr::MessageHeader::Mid::Print(std::ostream & os) const [member function]
|
gjc@3731
|
614 |
cls.add_method('Print',
|
gjc@3468
|
615 |
'void',
|
gjc@3731
|
616 |
[param('std::ostream &', 'os')],
|
gjc@3731
|
617 |
is_const=True)
|
gjc@3731
|
618 |
## olsr-header.h: void ns3::olsr::MessageHeader::Mid::Serialize(ns3::Buffer::Iterator start) const [member function]
|
gjc@3731
|
619 |
cls.add_method('Serialize',
|
gjc@3468
|
620 |
'void',
|
gjc@3731
|
621 |
[param('ns3::Buffer::Iterator', 'start')],
|
gjc@3731
|
622 |
is_const=True)
|
gjc@3731
|
623 |
## olsr-header.h: ns3::olsr::MessageHeader::Mid::interfaceAddresses [variable]
|
gjc@3731
|
624 |
cls.add_instance_attribute('interfaceAddresses', 'std::vector< ns3::Ipv4Address >', is_const=False)
|
gjc@3731
|
625 |
return
|
gjc@3731
|
626 |
|
gjc@3731
|
627 |
def register_Ns3OlsrMessageHeaderTc_methods(root_module, cls):
|
mathieu@4241
|
628 |
## olsr-header.h: ns3::olsr::MessageHeader::Tc::Tc() [constructor]
|
mathieu@4241
|
629 |
cls.add_constructor([])
|
gjc@3731
|
630 |
## olsr-header.h: ns3::olsr::MessageHeader::Tc::Tc(ns3::olsr::MessageHeader::Tc const & arg0) [copy constructor]
|
gjc@3731
|
631 |
cls.add_constructor([param('ns3::olsr::MessageHeader::Tc const &', 'arg0')])
|
gjc@3731
|
632 |
## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Tc::Deserialize(ns3::Buffer::Iterator start, uint32_t messageSize) [member function]
|
gjc@3731
|
633 |
cls.add_method('Deserialize',
|
gjc@3731
|
634 |
'uint32_t',
|
gjc@3731
|
635 |
[param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'messageSize')])
|
gjc@3731
|
636 |
## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Tc::GetSerializedSize() const [member function]
|
gjc@3731
|
637 |
cls.add_method('GetSerializedSize',
|
gjc@3731
|
638 |
'uint32_t',
|
gjc@3731
|
639 |
[],
|
gjc@3731
|
640 |
is_const=True)
|
gjc@3731
|
641 |
## olsr-header.h: void ns3::olsr::MessageHeader::Tc::Print(std::ostream & os) const [member function]
|
gjc@3731
|
642 |
cls.add_method('Print',
|
gjc@3468
|
643 |
'void',
|
gjc@3731
|
644 |
[param('std::ostream &', 'os')],
|
gjc@3731
|
645 |
is_const=True)
|
gjc@3731
|
646 |
## olsr-header.h: void ns3::olsr::MessageHeader::Tc::Serialize(ns3::Buffer::Iterator start) const [member function]
|
gjc@3731
|
647 |
cls.add_method('Serialize',
|
gjc@3731
|
648 |
'void',
|
gjc@3731
|
649 |
[param('ns3::Buffer::Iterator', 'start')],
|
gjc@3731
|
650 |
is_const=True)
|
gjc@3731
|
651 |
## olsr-header.h: ns3::olsr::MessageHeader::Tc::ansn [variable]
|
gjc@3731
|
652 |
cls.add_instance_attribute('ansn', 'uint16_t', is_const=False)
|
gjc@3731
|
653 |
## olsr-header.h: ns3::olsr::MessageHeader::Tc::neighborAddresses [variable]
|
gjc@3731
|
654 |
cls.add_instance_attribute('neighborAddresses', 'std::vector< ns3::Ipv4Address >', is_const=False)
|
gjc@3408
|
655 |
return
|
gjc@3408
|
656 |
|
mathieu@4358
|
657 |
def register_Ns3OlsrMprSelectorTuple_methods(root_module, cls):
|
mathieu@4358
|
658 |
cls.add_binary_comparison_operator('==')
|
mathieu@4358
|
659 |
## olsr-repositories.h: ns3::olsr::MprSelectorTuple::MprSelectorTuple() [constructor]
|
mathieu@4358
|
660 |
cls.add_constructor([])
|
mathieu@4358
|
661 |
## olsr-repositories.h: ns3::olsr::MprSelectorTuple::MprSelectorTuple(ns3::olsr::MprSelectorTuple const & arg0) [copy constructor]
|
mathieu@4358
|
662 |
cls.add_constructor([param('ns3::olsr::MprSelectorTuple const &', 'arg0')])
|
mathieu@4358
|
663 |
## olsr-repositories.h: ns3::olsr::MprSelectorTuple::expirationTime [variable]
|
mathieu@4358
|
664 |
cls.add_instance_attribute('expirationTime', 'ns3::Time', is_const=False)
|
mathieu@4358
|
665 |
## olsr-repositories.h: ns3::olsr::MprSelectorTuple::mainAddr [variable]
|
mathieu@4358
|
666 |
cls.add_instance_attribute('mainAddr', 'ns3::Ipv4Address', is_const=False)
|
mathieu@4358
|
667 |
return
|
mathieu@4358
|
668 |
|
mathieu@4358
|
669 |
def register_Ns3OlsrNeighborTuple_methods(root_module, cls):
|
mathieu@4358
|
670 |
cls.add_output_stream_operator()
|
mathieu@4358
|
671 |
cls.add_binary_comparison_operator('==')
|
mathieu@4358
|
672 |
## olsr-repositories.h: ns3::olsr::NeighborTuple::NeighborTuple() [constructor]
|
mathieu@4358
|
673 |
cls.add_constructor([])
|
mathieu@4358
|
674 |
## olsr-repositories.h: ns3::olsr::NeighborTuple::NeighborTuple(ns3::olsr::NeighborTuple const & arg0) [copy constructor]
|
mathieu@4358
|
675 |
cls.add_constructor([param('ns3::olsr::NeighborTuple const &', 'arg0')])
|
mathieu@4358
|
676 |
## olsr-repositories.h: ns3::olsr::NeighborTuple::neighborMainAddr [variable]
|
mathieu@4358
|
677 |
cls.add_instance_attribute('neighborMainAddr', 'ns3::Ipv4Address', is_const=False)
|
mathieu@4358
|
678 |
## olsr-repositories.h: ns3::olsr::NeighborTuple::status [variable]
|
mathieu@4358
|
679 |
cls.add_instance_attribute('status', 'ns3::olsr::NeighborTuple::Status', is_const=False)
|
mathieu@4358
|
680 |
## olsr-repositories.h: ns3::olsr::NeighborTuple::willingness [variable]
|
mathieu@4358
|
681 |
cls.add_instance_attribute('willingness', 'uint8_t', is_const=False)
|
mathieu@4358
|
682 |
return
|
mathieu@4358
|
683 |
|
gjc@3408
|
684 |
def register_Ns3OlsrPacketHeader_methods(root_module, cls):
|
gjc@3731
|
685 |
cls.add_output_stream_operator()
|
gjc@3408
|
686 |
## olsr-header.h: ns3::olsr::PacketHeader::PacketHeader(ns3::olsr::PacketHeader const & arg0) [copy constructor]
|
gjc@3574
|
687 |
cls.add_constructor([param('ns3::olsr::PacketHeader const &', 'arg0')])
|
gjc@3408
|
688 |
## olsr-header.h: ns3::olsr::PacketHeader::PacketHeader() [constructor]
|
gjc@3468
|
689 |
cls.add_constructor([])
|
gjc@3408
|
690 |
## olsr-header.h: uint32_t ns3::olsr::PacketHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
|
gjc@3468
|
691 |
cls.add_method('Deserialize',
|
gjc@3468
|
692 |
'uint32_t',
|
gjc@3468
|
693 |
[param('ns3::Buffer::Iterator', 'start')],
|
gjc@3468
|
694 |
is_virtual=True)
|
gjc@3408
|
695 |
## olsr-header.h: ns3::TypeId ns3::olsr::PacketHeader::GetInstanceTypeId() const [member function]
|
gjc@3468
|
696 |
cls.add_method('GetInstanceTypeId',
|
gjc@3468
|
697 |
'ns3::TypeId',
|
gjc@3468
|
698 |
[],
|
gjc@3468
|
699 |
is_const=True, is_virtual=True)
|
gjc@3408
|
700 |
## olsr-header.h: uint16_t ns3::olsr::PacketHeader::GetPacketLength() const [member function]
|
gjc@3468
|
701 |
cls.add_method('GetPacketLength',
|
gjc@3468
|
702 |
'uint16_t',
|
gjc@3468
|
703 |
[],
|
gjc@3468
|
704 |
is_const=True)
|
gjc@3408
|
705 |
## olsr-header.h: uint16_t ns3::olsr::PacketHeader::GetPacketSequenceNumber() const [member function]
|
gjc@3468
|
706 |
cls.add_method('GetPacketSequenceNumber',
|
gjc@3468
|
707 |
'uint16_t',
|
gjc@3468
|
708 |
[],
|
gjc@3468
|
709 |
is_const=True)
|
gjc@3408
|
710 |
## olsr-header.h: uint32_t ns3::olsr::PacketHeader::GetSerializedSize() const [member function]
|
gjc@3468
|
711 |
cls.add_method('GetSerializedSize',
|
gjc@3468
|
712 |
'uint32_t',
|
gjc@3468
|
713 |
[],
|
gjc@3468
|
714 |
is_const=True, is_virtual=True)
|
gjc@3408
|
715 |
## olsr-header.h: static ns3::TypeId ns3::olsr::PacketHeader::GetTypeId() [member function]
|
gjc@3468
|
716 |
cls.add_method('GetTypeId',
|
gjc@3468
|
717 |
'ns3::TypeId',
|
gjc@3468
|
718 |
[],
|
gjc@3468
|
719 |
is_static=True)
|
gjc@3408
|
720 |
## olsr-header.h: void ns3::olsr::PacketHeader::Print(std::ostream & os) const [member function]
|
gjc@3468
|
721 |
cls.add_method('Print',
|
gjc@3468
|
722 |
'void',
|
gjc@3574
|
723 |
[param('std::ostream &', 'os')],
|
gjc@3468
|
724 |
is_const=True, is_virtual=True)
|
gjc@3408
|
725 |
## olsr-header.h: void ns3::olsr::PacketHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
|
gjc@3468
|
726 |
cls.add_method('Serialize',
|
gjc@3468
|
727 |
'void',
|
gjc@3468
|
728 |
[param('ns3::Buffer::Iterator', 'start')],
|
gjc@3468
|
729 |
is_const=True, is_virtual=True)
|
gjc@3408
|
730 |
## olsr-header.h: void ns3::olsr::PacketHeader::SetPacketLength(uint16_t length) [member function]
|
gjc@3468
|
731 |
cls.add_method('SetPacketLength',
|
gjc@3468
|
732 |
'void',
|
gjc@3468
|
733 |
[param('uint16_t', 'length')])
|
gjc@3408
|
734 |
## olsr-header.h: void ns3::olsr::PacketHeader::SetPacketSequenceNumber(uint16_t seqnum) [member function]
|
gjc@3468
|
735 |
cls.add_method('SetPacketSequenceNumber',
|
gjc@3468
|
736 |
'void',
|
gjc@3468
|
737 |
[param('uint16_t', 'seqnum')])
|
gjc@3408
|
738 |
return
|
gjc@3408
|
739 |
|
mathieu@4364
|
740 |
def register_Ns3OlsrRoutingProtocol_methods(root_module, cls):
|
mathieu@4364
|
741 |
## olsr-routing-protocol.h: ns3::olsr::RoutingProtocol::RoutingProtocol(ns3::olsr::RoutingProtocol const & arg0) [copy constructor]
|
mathieu@4364
|
742 |
cls.add_constructor([param('ns3::olsr::RoutingProtocol const &', 'arg0')])
|
mathieu@4364
|
743 |
## olsr-routing-protocol.h: static ns3::TypeId ns3::olsr::RoutingProtocol::GetTypeId() [member function]
|
mathieu@4364
|
744 |
cls.add_method('GetTypeId',
|
mathieu@4364
|
745 |
'ns3::TypeId',
|
mathieu@4364
|
746 |
[],
|
mathieu@4364
|
747 |
is_static=True)
|
mathieu@4364
|
748 |
## olsr-routing-protocol.h: ns3::olsr::RoutingProtocol::RoutingProtocol() [constructor]
|
mathieu@4364
|
749 |
cls.add_constructor([])
|
mathieu@4364
|
750 |
## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::SetMainInterface(uint32_t interface) [member function]
|
mathieu@4364
|
751 |
cls.add_method('SetMainInterface',
|
mathieu@4364
|
752 |
'void',
|
mathieu@4364
|
753 |
[param('uint32_t', 'interface')])
|
mathieu@4604
|
754 |
## olsr-routing-protocol.h: ns3::Ptr<ns3::Ipv4Route> ns3::olsr::RoutingProtocol::RouteOutput(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Header const & header, uint32_t oif, ns3::Socket::SocketErrno & sockerr) [member function]
|
tomh@4474
|
755 |
cls.add_method('RouteOutput',
|
tomh@4474
|
756 |
'ns3::Ptr< ns3::Ipv4Route >',
|
mathieu@4604
|
757 |
[param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('uint32_t', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')],
|
tomh@4474
|
758 |
visibility='private', is_virtual=True)
|
mathieu@4608
|
759 |
## olsr-routing-protocol.h: bool ns3::olsr::RoutingProtocol::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]
|
tomh@4474
|
760 |
cls.add_method('RouteInput',
|
mathieu@4364
|
761 |
'bool',
|
mathieu@4608
|
762 |
[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')],
|
mathieu@4364
|
763 |
visibility='private', is_virtual=True)
|
mathieu@4560
|
764 |
## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::NotifyInterfaceUp(uint32_t interface) [member function]
|
mathieu@4560
|
765 |
cls.add_method('NotifyInterfaceUp',
|
mathieu@4560
|
766 |
'void',
|
mathieu@4560
|
767 |
[param('uint32_t', 'interface')],
|
mathieu@4560
|
768 |
visibility='private', is_virtual=True)
|
mathieu@4560
|
769 |
## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::NotifyInterfaceDown(uint32_t interface) [member function]
|
mathieu@4560
|
770 |
cls.add_method('NotifyInterfaceDown',
|
mathieu@4560
|
771 |
'void',
|
mathieu@4560
|
772 |
[param('uint32_t', 'interface')],
|
mathieu@4560
|
773 |
visibility='private', is_virtual=True)
|
mathieu@4560
|
774 |
## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
|
mathieu@4560
|
775 |
cls.add_method('NotifyAddAddress',
|
mathieu@4560
|
776 |
'void',
|
mathieu@4560
|
777 |
[param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')],
|
mathieu@4560
|
778 |
visibility='private', is_virtual=True)
|
mathieu@4560
|
779 |
## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
|
mathieu@4560
|
780 |
cls.add_method('NotifyRemoveAddress',
|
mathieu@4560
|
781 |
'void',
|
mathieu@4560
|
782 |
[param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')],
|
mathieu@4560
|
783 |
visibility='private', is_virtual=True)
|
mathieu@4560
|
784 |
## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::SetIpv4(ns3::Ptr<ns3::Ipv4> ipv4) [member function]
|
mathieu@4560
|
785 |
cls.add_method('SetIpv4',
|
mathieu@4560
|
786 |
'void',
|
mathieu@4560
|
787 |
[param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')],
|
mathieu@4560
|
788 |
visibility='private', is_virtual=True)
|
mathieu@4364
|
789 |
## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::DoDispose() [member function]
|
mathieu@4364
|
790 |
cls.add_method('DoDispose',
|
mathieu@4364
|
791 |
'void',
|
mathieu@4364
|
792 |
[],
|
mathieu@4364
|
793 |
visibility='private', is_virtual=True)
|
mathieu@4364
|
794 |
return
|
mathieu@4364
|
795 |
|
mathieu@4358
|
796 |
def register_Ns3OlsrRoutingTableEntry_methods(root_module, cls):
|
mathieu@4364
|
797 |
## olsr-routing-protocol.h: ns3::olsr::RoutingTableEntry::destAddr [variable]
|
mathieu@4358
|
798 |
cls.add_instance_attribute('destAddr', 'ns3::Ipv4Address', is_const=False)
|
mathieu@4364
|
799 |
## olsr-routing-protocol.h: ns3::olsr::RoutingTableEntry::nextAddr [variable]
|
mathieu@4358
|
800 |
cls.add_instance_attribute('nextAddr', 'ns3::Ipv4Address', is_const=False)
|
mathieu@4364
|
801 |
## olsr-routing-protocol.h: ns3::olsr::RoutingTableEntry::interface [variable]
|
mathieu@4358
|
802 |
cls.add_instance_attribute('interface', 'uint32_t', is_const=False)
|
mathieu@4364
|
803 |
## olsr-routing-protocol.h: ns3::olsr::RoutingTableEntry::distance [variable]
|
mathieu@4358
|
804 |
cls.add_instance_attribute('distance', 'uint32_t', is_const=False)
|
mathieu@4364
|
805 |
## olsr-routing-protocol.h: ns3::olsr::RoutingTableEntry::RoutingTableEntry(ns3::olsr::RoutingTableEntry const & arg0) [copy constructor]
|
mathieu@4358
|
806 |
cls.add_constructor([param('ns3::olsr::RoutingTableEntry const &', 'arg0')])
|
mathieu@4364
|
807 |
## olsr-routing-protocol.h: ns3::olsr::RoutingTableEntry::RoutingTableEntry() [constructor]
|
gjc@3853
|
808 |
cls.add_constructor([])
|
gjc@3853
|
809 |
return
|
gjc@3853
|
810 |
|
mathieu@4358
|
811 |
def register_Ns3OlsrTopologyTuple_methods(root_module, cls):
|
mathieu@4358
|
812 |
cls.add_output_stream_operator()
|
mathieu@4358
|
813 |
cls.add_binary_comparison_operator('==')
|
mathieu@4358
|
814 |
## olsr-repositories.h: ns3::olsr::TopologyTuple::TopologyTuple() [constructor]
|
mathieu@4358
|
815 |
cls.add_constructor([])
|
mathieu@4358
|
816 |
## olsr-repositories.h: ns3::olsr::TopologyTuple::TopologyTuple(ns3::olsr::TopologyTuple const & arg0) [copy constructor]
|
mathieu@4358
|
817 |
cls.add_constructor([param('ns3::olsr::TopologyTuple const &', 'arg0')])
|
mathieu@4358
|
818 |
## olsr-repositories.h: ns3::olsr::TopologyTuple::destAddr [variable]
|
gjc@3853
|
819 |
cls.add_instance_attribute('destAddr', 'ns3::Ipv4Address', is_const=False)
|
mathieu@4358
|
820 |
## olsr-repositories.h: ns3::olsr::TopologyTuple::expirationTime [variable]
|
mathieu@4358
|
821 |
cls.add_instance_attribute('expirationTime', 'ns3::Time', is_const=False)
|
mathieu@4358
|
822 |
## olsr-repositories.h: ns3::olsr::TopologyTuple::lastAddr [variable]
|
mathieu@4358
|
823 |
cls.add_instance_attribute('lastAddr', 'ns3::Ipv4Address', is_const=False)
|
mathieu@4358
|
824 |
## olsr-repositories.h: ns3::olsr::TopologyTuple::sequenceNumber [variable]
|
mathieu@4358
|
825 |
cls.add_instance_attribute('sequenceNumber', 'uint16_t', is_const=False)
|
mathieu@4358
|
826 |
return
|
mathieu@4358
|
827 |
|
mathieu@4358
|
828 |
def register_Ns3OlsrTwoHopNeighborTuple_methods(root_module, cls):
|
mathieu@4358
|
829 |
cls.add_output_stream_operator()
|
mathieu@4358
|
830 |
cls.add_binary_comparison_operator('==')
|
mathieu@4358
|
831 |
## olsr-repositories.h: ns3::olsr::TwoHopNeighborTuple::TwoHopNeighborTuple() [constructor]
|
gjc@3853
|
832 |
cls.add_constructor([])
|
mathieu@4358
|
833 |
## olsr-repositories.h: ns3::olsr::TwoHopNeighborTuple::TwoHopNeighborTuple(ns3::olsr::TwoHopNeighborTuple const & arg0) [copy constructor]
|
mathieu@4358
|
834 |
cls.add_constructor([param('ns3::olsr::TwoHopNeighborTuple const &', 'arg0')])
|
mathieu@4358
|
835 |
## olsr-repositories.h: ns3::olsr::TwoHopNeighborTuple::expirationTime [variable]
|
mathieu@4358
|
836 |
cls.add_instance_attribute('expirationTime', 'ns3::Time', is_const=False)
|
mathieu@4358
|
837 |
## olsr-repositories.h: ns3::olsr::TwoHopNeighborTuple::neighborMainAddr [variable]
|
mathieu@4358
|
838 |
cls.add_instance_attribute('neighborMainAddr', 'ns3::Ipv4Address', is_const=False)
|
mathieu@4358
|
839 |
## olsr-repositories.h: ns3::olsr::TwoHopNeighborTuple::twoHopNeighborAddr [variable]
|
mathieu@4358
|
840 |
cls.add_instance_attribute('twoHopNeighborAddr', 'ns3::Ipv4Address', is_const=False)
|
gjc@3853
|
841 |
return
|
gjc@3853
|
842 |
|
gjc@3408
|
843 |
def register_functions(root_module):
|
gjc@3408
|
844 |
module = root_module
|
gjc@3855
|
845 |
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
gjc@3855
|
846 |
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
tomh@4474
|
847 |
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
gjc@3408
|
848 |
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
gjc@3408
|
849 |
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
gjc@3408
|
850 |
return
|
gjc@3408
|
851 |
|
gjc@3855
|
852 |
def register_functions_ns3_Config(module, root_module):
|
gjc@3408
|
853 |
return
|
gjc@3408
|
854 |
|
gjc@3408
|
855 |
def register_functions_ns3_TimeStepPrecision(module, root_module):
|
gjc@3408
|
856 |
return
|
gjc@3408
|
857 |
|
tomh@4474
|
858 |
def register_functions_ns3_addressUtils(module, root_module):
|
tomh@4474
|
859 |
return
|
tomh@4474
|
860 |
|
gjc@3855
|
861 |
def register_functions_ns3_internal(module, root_module):
|
gjc@3408
|
862 |
return
|
gjc@3408
|
863 |
|
gjc@3408
|
864 |
def register_functions_ns3_olsr(module, root_module):
|
gjc@3408
|
865 |
## olsr-header.h: extern double ns3::olsr::EmfToSeconds(uint8_t emf) [free function]
|
gjc@3468
|
866 |
module.add_function('EmfToSeconds',
|
gjc@3468
|
867 |
'double',
|
gjc@3468
|
868 |
[param('uint8_t', 'emf')])
|
gjc@3408
|
869 |
## olsr-header.h: extern uint8_t ns3::olsr::SecondsToEmf(double seconds) [free function]
|
gjc@3468
|
870 |
module.add_function('SecondsToEmf',
|
gjc@3468
|
871 |
'uint8_t',
|
gjc@3468
|
872 |
[param('double', 'seconds')])
|
gjc@3408
|
873 |
return
|
gjc@3408
|
874 |
|