changeset 4241 | c35796bc0b4b |
parent 4218 | debf1a8a96d3 |
child 4248 | 6e0c97efccd0 |
4240:f6d7db7580ff | 4241:c35796bc0b4b |
---|---|
84 register_Ns3Ipv4StaticRouting_methods(root_module, root_module['ns3::Ipv4StaticRouting']) |
84 register_Ns3Ipv4StaticRouting_methods(root_module, root_module['ns3::Ipv4StaticRouting']) |
85 register_Ns3Ipv4GlobalRouting_methods(root_module, root_module['ns3::Ipv4GlobalRouting']) |
85 register_Ns3Ipv4GlobalRouting_methods(root_module, root_module['ns3::Ipv4GlobalRouting']) |
86 return |
86 return |
87 |
87 |
88 def register_Ns3Icmpv4DestinationUnreachable_methods(root_module, cls): |
88 def register_Ns3Icmpv4DestinationUnreachable_methods(root_module, cls): |
89 ## icmpv4.h: ns3::Icmpv4DestinationUnreachable::Icmpv4DestinationUnreachable(ns3::Icmpv4DestinationUnreachable const & arg0) [copy constructor] |
|
90 cls.add_constructor([param('ns3::Icmpv4DestinationUnreachable const &', 'arg0')]) |
|
89 ## icmpv4.h: static ns3::TypeId ns3::Icmpv4DestinationUnreachable::GetTypeId() [member function] |
91 ## icmpv4.h: static ns3::TypeId ns3::Icmpv4DestinationUnreachable::GetTypeId() [member function] |
90 cls.add_method('GetTypeId', |
92 cls.add_method('GetTypeId', |
91 'ns3::TypeId', |
93 'ns3::TypeId', |
92 [], |
94 [], |
93 is_static=True) |
95 is_static=True) |
143 ## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::Print(std::ostream & os) const [member function] |
145 ## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::Print(std::ostream & os) const [member function] |
144 cls.add_method('Print', |
146 cls.add_method('Print', |
145 'void', |
147 'void', |
146 [param('std::ostream &', 'os')], |
148 [param('std::ostream &', 'os')], |
147 is_const=True, visibility='private', is_virtual=True) |
149 is_const=True, visibility='private', is_virtual=True) |
148 cls.add_copy_constructor() |
|
149 return |
150 return |
150 |
151 |
151 def register_Ns3Icmpv4Echo_methods(root_module, cls): |
152 def register_Ns3Icmpv4Echo_methods(root_module, cls): |
153 ## icmpv4.h: ns3::Icmpv4Echo::Icmpv4Echo(ns3::Icmpv4Echo const & arg0) [copy constructor] |
|
154 cls.add_constructor([param('ns3::Icmpv4Echo const &', 'arg0')]) |
|
152 ## icmpv4.h: void ns3::Icmpv4Echo::SetIdentifier(uint16_t id) [member function] |
155 ## icmpv4.h: void ns3::Icmpv4Echo::SetIdentifier(uint16_t id) [member function] |
153 cls.add_method('SetIdentifier', |
156 cls.add_method('SetIdentifier', |
154 'void', |
157 'void', |
155 [param('uint16_t', 'id')]) |
158 [param('uint16_t', 'id')]) |
156 ## icmpv4.h: void ns3::Icmpv4Echo::SetSequenceNumber(uint16_t seq) [member function] |
159 ## icmpv4.h: void ns3::Icmpv4Echo::SetSequenceNumber(uint16_t seq) [member function] |
206 ## icmpv4.h: void ns3::Icmpv4Echo::Print(std::ostream & os) const [member function] |
209 ## icmpv4.h: void ns3::Icmpv4Echo::Print(std::ostream & os) const [member function] |
207 cls.add_method('Print', |
210 cls.add_method('Print', |
208 'void', |
211 'void', |
209 [param('std::ostream &', 'os')], |
212 [param('std::ostream &', 'os')], |
210 is_const=True, is_virtual=True) |
213 is_const=True, is_virtual=True) |
211 cls.add_copy_constructor() |
|
212 return |
214 return |
213 |
215 |
214 def register_Ns3Icmpv4Header_methods(root_module, cls): |
216 def register_Ns3Icmpv4Header_methods(root_module, cls): |
217 ## icmpv4.h: ns3::Icmpv4Header::Icmpv4Header(ns3::Icmpv4Header const & arg0) [copy constructor] |
|
218 cls.add_constructor([param('ns3::Icmpv4Header const &', 'arg0')]) |
|
215 ## icmpv4.h: void ns3::Icmpv4Header::EnableChecksum() [member function] |
219 ## icmpv4.h: void ns3::Icmpv4Header::EnableChecksum() [member function] |
216 cls.add_method('EnableChecksum', |
220 cls.add_method('EnableChecksum', |
217 'void', |
221 'void', |
218 []) |
222 []) |
219 ## icmpv4.h: void ns3::Icmpv4Header::SetType(uint8_t type) [member function] |
223 ## icmpv4.h: void ns3::Icmpv4Header::SetType(uint8_t type) [member function] |
264 ## icmpv4.h: void ns3::Icmpv4Header::Print(std::ostream & os) const [member function] |
268 ## icmpv4.h: void ns3::Icmpv4Header::Print(std::ostream & os) const [member function] |
265 cls.add_method('Print', |
269 cls.add_method('Print', |
266 'void', |
270 'void', |
267 [param('std::ostream &', 'os')], |
271 [param('std::ostream &', 'os')], |
268 is_const=True, is_virtual=True) |
272 is_const=True, is_virtual=True) |
269 cls.add_copy_constructor() |
|
270 return |
273 return |
271 |
274 |
272 def register_Ns3Icmpv4TimeExceeded_methods(root_module, cls): |
275 def register_Ns3Icmpv4TimeExceeded_methods(root_module, cls): |
276 ## icmpv4.h: ns3::Icmpv4TimeExceeded::Icmpv4TimeExceeded(ns3::Icmpv4TimeExceeded const & arg0) [copy constructor] |
|
277 cls.add_constructor([param('ns3::Icmpv4TimeExceeded const &', 'arg0')]) |
|
273 ## icmpv4.h: void ns3::Icmpv4TimeExceeded::SetData(ns3::Ptr<const ns3::Packet> data) [member function] |
278 ## icmpv4.h: void ns3::Icmpv4TimeExceeded::SetData(ns3::Ptr<const ns3::Packet> data) [member function] |
274 cls.add_method('SetData', |
279 cls.add_method('SetData', |
275 'void', |
280 'void', |
276 [param('ns3::Ptr< ns3::Packet const >', 'data')]) |
281 [param('ns3::Ptr< ns3::Packet const >', 'data')]) |
277 ## icmpv4.h: void ns3::Icmpv4TimeExceeded::SetHeader(ns3::Ipv4Header header) [member function] |
282 ## icmpv4.h: void ns3::Icmpv4TimeExceeded::SetHeader(ns3::Ipv4Header header) [member function] |
318 ## icmpv4.h: void ns3::Icmpv4TimeExceeded::Print(std::ostream & os) const [member function] |
323 ## icmpv4.h: void ns3::Icmpv4TimeExceeded::Print(std::ostream & os) const [member function] |
319 cls.add_method('Print', |
324 cls.add_method('Print', |
320 'void', |
325 'void', |
321 [param('std::ostream &', 'os')], |
326 [param('std::ostream &', 'os')], |
322 is_const=True, is_virtual=True) |
327 is_const=True, is_virtual=True) |
323 cls.add_copy_constructor() |
|
324 return |
328 return |
325 |
329 |
326 def register_Ns3TcpHeader_methods(root_module, cls): |
330 def register_Ns3TcpHeader_methods(root_module, cls): |
331 ## tcp-header.h: ns3::TcpHeader::TcpHeader(ns3::TcpHeader const & arg0) [copy constructor] |
|
332 cls.add_constructor([param('ns3::TcpHeader const &', 'arg0')]) |
|
327 ## tcp-header.h: ns3::TcpHeader::TcpHeader() [constructor] |
333 ## tcp-header.h: ns3::TcpHeader::TcpHeader() [constructor] |
328 cls.add_constructor([]) |
334 cls.add_constructor([]) |
329 ## tcp-header.h: void ns3::TcpHeader::EnableChecksums() [member function] |
335 ## tcp-header.h: void ns3::TcpHeader::EnableChecksums() [member function] |
330 cls.add_method('EnableChecksums', |
336 cls.add_method('EnableChecksums', |
331 'void', |
337 'void', |
439 ## tcp-header.h: bool ns3::TcpHeader::IsChecksumOk() const [member function] |
445 ## tcp-header.h: bool ns3::TcpHeader::IsChecksumOk() const [member function] |
440 cls.add_method('IsChecksumOk', |
446 cls.add_method('IsChecksumOk', |
441 'bool', |
447 'bool', |
442 [], |
448 [], |
443 is_const=True) |
449 is_const=True) |
444 cls.add_copy_constructor() |
|
445 return |
450 return |
446 |
451 |
447 def register_Ns3UdpHeader_methods(root_module, cls): |
452 def register_Ns3UdpHeader_methods(root_module, cls): |
453 ## udp-header.h: ns3::UdpHeader::UdpHeader(ns3::UdpHeader const & arg0) [copy constructor] |
|
454 cls.add_constructor([param('ns3::UdpHeader const &', 'arg0')]) |
|
448 ## udp-header.h: ns3::UdpHeader::UdpHeader() [constructor] |
455 ## udp-header.h: ns3::UdpHeader::UdpHeader() [constructor] |
449 cls.add_constructor([]) |
456 cls.add_constructor([]) |
450 ## udp-header.h: void ns3::UdpHeader::EnableChecksums() [member function] |
457 ## udp-header.h: void ns3::UdpHeader::EnableChecksums() [member function] |
451 cls.add_method('EnableChecksums', |
458 cls.add_method('EnableChecksums', |
452 'void', |
459 'void', |
506 ## udp-header.h: bool ns3::UdpHeader::IsChecksumOk() const [member function] |
513 ## udp-header.h: bool ns3::UdpHeader::IsChecksumOk() const [member function] |
507 cls.add_method('IsChecksumOk', |
514 cls.add_method('IsChecksumOk', |
508 'bool', |
515 'bool', |
509 [], |
516 [], |
510 is_const=True) |
517 is_const=True) |
511 cls.add_copy_constructor() |
|
512 return |
518 return |
513 |
519 |
514 def register_Ns3Ipv4Interface_methods(root_module, cls): |
520 def register_Ns3Ipv4Interface_methods(root_module, cls): |
521 ## ipv4-interface.h: ns3::Ipv4Interface::Ipv4Interface(ns3::Ipv4Interface const & arg0) [copy constructor] |
|
522 cls.add_constructor([param('ns3::Ipv4Interface const &', 'arg0')]) |
|
515 ## ipv4-interface.h: static ns3::TypeId ns3::Ipv4Interface::GetTypeId() [member function] |
523 ## ipv4-interface.h: static ns3::TypeId ns3::Ipv4Interface::GetTypeId() [member function] |
516 cls.add_method('GetTypeId', |
524 cls.add_method('GetTypeId', |
517 'ns3::TypeId', |
525 'ns3::TypeId', |
518 [], |
526 [], |
519 is_static=True) |
527 is_static=True) |
591 ## ipv4-interface.h: void ns3::Ipv4Interface::SendTo(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Address dest) [member function] |
599 ## ipv4-interface.h: void ns3::Ipv4Interface::SendTo(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Address dest) [member function] |
592 cls.add_method('SendTo', |
600 cls.add_method('SendTo', |
593 'void', |
601 'void', |
594 [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Address', 'dest')], |
602 [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Address', 'dest')], |
595 is_pure_virtual=True, visibility='private', is_virtual=True) |
603 is_pure_virtual=True, visibility='private', is_virtual=True) |
596 cls.add_copy_constructor() |
|
597 return |
604 return |
598 |
605 |
599 def register_Ns3Ipv4L3Protocol_methods(root_module, cls): |
606 def register_Ns3Ipv4L3Protocol_methods(root_module, cls): |
600 ## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol::PROT_NUMBER [variable] |
607 ## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol::PROT_NUMBER [variable] |
601 cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) |
608 cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) |
806 [], |
813 [], |
807 visibility='protected', is_virtual=True) |
814 visibility='protected', is_virtual=True) |
808 return |
815 return |
809 |
816 |
810 def register_Ns3Ipv4StaticRouting_methods(root_module, cls): |
817 def register_Ns3Ipv4StaticRouting_methods(root_module, cls): |
818 ## ipv4-static-routing.h: ns3::Ipv4StaticRouting::Ipv4StaticRouting(ns3::Ipv4StaticRouting const & arg0) [copy constructor] |
|
819 cls.add_constructor([param('ns3::Ipv4StaticRouting const &', 'arg0')]) |
|
811 ## ipv4-static-routing.h: ns3::Ipv4StaticRouting::Ipv4StaticRouting() [constructor] |
820 ## ipv4-static-routing.h: ns3::Ipv4StaticRouting::Ipv4StaticRouting() [constructor] |
812 cls.add_constructor([]) |
821 cls.add_constructor([]) |
813 ## ipv4-static-routing.h: bool ns3::Ipv4StaticRouting::RequestRoute(uint32_t ifIndex, ns3::Ipv4Header const & ipHeader, ns3::Ptr<ns3::Packet> packet, ns3::Callback<void,bool,const ns3::Ipv4Route&,ns3::Ptr<ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> routeReply) [member function] |
822 ## ipv4-static-routing.h: bool ns3::Ipv4StaticRouting::RequestRoute(uint32_t ifIndex, ns3::Ipv4Header const & ipHeader, ns3::Ptr<ns3::Packet> packet, ns3::Callback<void,bool,const ns3::Ipv4Route&,ns3::Ptr<ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> routeReply) [member function] |
814 cls.add_method('RequestRoute', |
823 cls.add_method('RequestRoute', |
815 'bool', |
824 'bool', |
890 ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::DoDispose() [member function] |
899 ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::DoDispose() [member function] |
891 cls.add_method('DoDispose', |
900 cls.add_method('DoDispose', |
892 'void', |
901 'void', |
893 [], |
902 [], |
894 visibility='protected', is_virtual=True) |
903 visibility='protected', is_virtual=True) |
895 cls.add_copy_constructor() |
|
896 return |
904 return |
897 |
905 |
898 def register_Ns3Ipv4GlobalRouting_methods(root_module, cls): |
906 def register_Ns3Ipv4GlobalRouting_methods(root_module, cls): |
907 ## ipv4-global-routing.h: ns3::Ipv4GlobalRouting::Ipv4GlobalRouting(ns3::Ipv4GlobalRouting const & arg0) [copy constructor] |
|
908 cls.add_constructor([param('ns3::Ipv4GlobalRouting const &', 'arg0')]) |
|
899 ## ipv4-global-routing.h: static ns3::TypeId ns3::Ipv4GlobalRouting::GetTypeId() [member function] |
909 ## ipv4-global-routing.h: static ns3::TypeId ns3::Ipv4GlobalRouting::GetTypeId() [member function] |
900 cls.add_method('GetTypeId', |
910 cls.add_method('GetTypeId', |
901 'ns3::TypeId', |
911 'ns3::TypeId', |
902 [], |
912 [], |
903 is_static=True) |
913 is_static=True) |
944 ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::DoDispose() [member function] |
954 ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::DoDispose() [member function] |
945 cls.add_method('DoDispose', |
955 cls.add_method('DoDispose', |
946 'void', |
956 'void', |
947 [], |
957 [], |
948 visibility='protected', is_virtual=True) |
958 visibility='protected', is_virtual=True) |
949 cls.add_copy_constructor() |
|
950 return |
959 return |
951 |
960 |
952 def register_functions(root_module): |
961 def register_functions(root_module): |
953 module = root_module |
962 module = root_module |
954 ## internet-stack.h: extern void ns3::AddInternetStack(ns3::Ptr<ns3::Node> node) [free function] |
963 ## internet-stack.h: extern void ns3::AddInternetStack(ns3::Ptr<ns3::Node> node) [free function] |