|
20 |
def register_types(module): |
20 |
def register_types(module): |
21 |
root_module = module.get_root() |
21 |
root_module = module.get_root() |
22 |
|
22 |
|
|
|
23 |
## propagation-environment.h (module 'propagation'): ns3::EnvironmentType [enumeration] |
24 |
module.add_enum('EnvironmentType', ['UrbanEnvironment', 'SubUrbanEnvironment', 'OpenAreasEnvironment'], import_from_module='ns.propagation') |
23 |
## qos-utils.h (module 'wifi'): ns3::AcIndex [enumeration] |
25 |
## qos-utils.h (module 'wifi'): ns3::AcIndex [enumeration] |
24 |
module.add_enum('AcIndex', ['AC_BE', 'AC_BK', 'AC_VI', 'AC_VO', 'AC_BE_NQOS', 'AC_UNDEF']) |
26 |
module.add_enum('AcIndex', ['AC_BE', 'AC_BK', 'AC_VI', 'AC_VO', 'AC_BE_NQOS', 'AC_UNDEF']) |
25 |
## wifi-mac-header.h (module 'wifi'): ns3::WifiMacType [enumeration] |
27 |
## wifi-mac-header.h (module 'wifi'): ns3::WifiMacType [enumeration] |
|
40 |
module.add_enum('TypeOfStation', ['STA', 'AP', 'ADHOC_STA', 'MESH', 'HT_STA', 'HT_AP', 'HT_ADHOC_STA']) |
42 |
module.add_enum('TypeOfStation', ['STA', 'AP', 'ADHOC_STA', 'MESH', 'HT_STA', 'HT_AP', 'HT_ADHOC_STA']) |
41 |
## ctrl-headers.h (module 'wifi'): ns3::BlockAckType [enumeration] |
43 |
## ctrl-headers.h (module 'wifi'): ns3::BlockAckType [enumeration] |
42 |
module.add_enum('BlockAckType', ['BASIC_BLOCK_ACK', 'COMPRESSED_BLOCK_ACK', 'MULTI_TID_BLOCK_ACK']) |
44 |
module.add_enum('BlockAckType', ['BASIC_BLOCK_ACK', 'COMPRESSED_BLOCK_ACK', 'MULTI_TID_BLOCK_ACK']) |
43 |
## propagation-environment.h (module 'propagation'): ns3::EnvironmentType [enumeration] |
|
|
44 |
module.add_enum('EnvironmentType', ['UrbanEnvironment', 'SubUrbanEnvironment', 'OpenAreasEnvironment'], import_from_module='ns.propagation') |
45 |
## address.h (module 'network'): ns3::Address [class] |
45 |
## address.h (module 'network'): ns3::Address [class] |
46 |
module.add_class('Address', import_from_module='ns.network') |
46 |
module.add_class('Address', import_from_module='ns.network') |
47 |
## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] |
47 |
## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] |
|
570 |
typehandlers.add_type_alias('std::vector< unsigned char, std::allocator< unsigned char > >', 'ns3::WifiMcsList') |
570 |
typehandlers.add_type_alias('std::vector< unsigned char, std::allocator< unsigned char > >', 'ns3::WifiMcsList') |
571 |
typehandlers.add_type_alias('std::vector< unsigned char, std::allocator< unsigned char > >*', 'ns3::WifiMcsList*') |
571 |
typehandlers.add_type_alias('std::vector< unsigned char, std::allocator< unsigned char > >*', 'ns3::WifiMcsList*') |
572 |
typehandlers.add_type_alias('std::vector< unsigned char, std::allocator< unsigned char > >&', 'ns3::WifiMcsList&') |
572 |
typehandlers.add_type_alias('std::vector< unsigned char, std::allocator< unsigned char > >&', 'ns3::WifiMcsList&') |
573 |
typehandlers.add_type_alias('std::vector< ns3::RateInfo, std::allocator< ns3::RateInfo > >', 'ns3::MinstrelRate') |
|
|
574 |
typehandlers.add_type_alias('std::vector< ns3::RateInfo, std::allocator< ns3::RateInfo > >*', 'ns3::MinstrelRate*') |
575 |
typehandlers.add_type_alias('std::vector< ns3::RateInfo, std::allocator< ns3::RateInfo > >&', 'ns3::MinstrelRate&') |
576 |
typehandlers.add_type_alias('uint8_t', 'ns3::WifiInformationElementId') |
573 |
typehandlers.add_type_alias('uint8_t', 'ns3::WifiInformationElementId') |
577 |
typehandlers.add_type_alias('uint8_t*', 'ns3::WifiInformationElementId*') |
574 |
typehandlers.add_type_alias('uint8_t*', 'ns3::WifiInformationElementId*') |
578 |
typehandlers.add_type_alias('uint8_t&', 'ns3::WifiInformationElementId&') |
575 |
typehandlers.add_type_alias('uint8_t&', 'ns3::WifiInformationElementId&') |
|
583 |
typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*') |
580 |
typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*') |
584 |
typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&') |
581 |
typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&') |
585 |
module.add_typedef(root_module['ns3::Vector3D'], 'Vector') |
582 |
module.add_typedef(root_module['ns3::Vector3D'], 'Vector') |
|
|
583 |
typehandlers.add_type_alias('std::vector< ns3::RateInfo, std::allocator< ns3::RateInfo > >', 'ns3::MinstrelRate') |
584 |
typehandlers.add_type_alias('std::vector< ns3::RateInfo, std::allocator< ns3::RateInfo > >*', 'ns3::MinstrelRate*') |
585 |
typehandlers.add_type_alias('std::vector< ns3::RateInfo, std::allocator< ns3::RateInfo > >&', 'ns3::MinstrelRate&') |
586 |
typehandlers.add_type_alias('std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > >', 'ns3::WifiModeList') |
586 |
typehandlers.add_type_alias('std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > >', 'ns3::WifiModeList') |
587 |
typehandlers.add_type_alias('std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > >*', 'ns3::WifiModeList*') |
587 |
typehandlers.add_type_alias('std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > >*', 'ns3::WifiModeList*') |
588 |
typehandlers.add_type_alias('std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > >&', 'ns3::WifiModeList&') |
588 |
typehandlers.add_type_alias('std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > >&', 'ns3::WifiModeList&') |
|
4334 |
return |
4334 |
return |
4335 |
|
4335 |
|
4336 |
def register_Ns3Int64x64_t_methods(root_module, cls): |
4336 |
def register_Ns3Int64x64_t_methods(root_module, cls): |
|
|
4337 |
cls.add_binary_comparison_operator('<=') |
4338 |
cls.add_binary_comparison_operator('!=') |
4337 |
cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right')) |
4339 |
cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right')) |
4338 |
cls.add_binary_comparison_operator('!=') |
|
|
4339 |
cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right')) |
4340 |
cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right')) |
4340 |
cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right')) |
4341 |
cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right')) |
4341 |
cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right')) |
4342 |
cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right')) |
|
4391 |
cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right')) |
4392 |
cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right')) |
4392 |
cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right')) |
4393 |
cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right')) |
4393 |
cls.add_output_stream_operator() |
4394 |
cls.add_output_stream_operator() |
4394 |
cls.add_binary_comparison_operator('<=') |
|
|
4395 |
cls.add_binary_comparison_operator('==') |
4395 |
cls.add_binary_comparison_operator('==') |
4396 |
cls.add_binary_comparison_operator('>=') |
4396 |
cls.add_binary_comparison_operator('>=') |
4397 |
## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor] |
4397 |
## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor] |
|
5689 |
return |
5689 |
return |
5690 |
|
5690 |
|
5691 |
def register_Ns3Time_methods(root_module, cls): |
5691 |
def register_Ns3Time_methods(root_module, cls): |
|
|
5692 |
cls.add_binary_comparison_operator('<=') |
5693 |
cls.add_binary_comparison_operator('!=') |
5692 |
cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right')) |
5694 |
cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right')) |
5693 |
cls.add_binary_comparison_operator('!=') |
|
|
5694 |
cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) |
5695 |
cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) |
5695 |
cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) |
5696 |
cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) |
5696 |
cls.add_binary_comparison_operator('<') |
5697 |
cls.add_binary_comparison_operator('<') |
5697 |
cls.add_binary_comparison_operator('>') |
5698 |
cls.add_binary_comparison_operator('>') |
5698 |
cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right')) |
5699 |
cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right')) |
5699 |
cls.add_output_stream_operator() |
5700 |
cls.add_output_stream_operator() |
5700 |
cls.add_binary_comparison_operator('<=') |
|
|
5701 |
cls.add_binary_comparison_operator('==') |
5701 |
cls.add_binary_comparison_operator('==') |
5702 |
cls.add_binary_comparison_operator('>=') |
5702 |
cls.add_binary_comparison_operator('>=') |
5703 |
## nstime.h (module 'core'): ns3::Time::Time() [constructor] |
5703 |
## nstime.h (module 'core'): ns3::Time::Time() [constructor] |
|
6377 |
'ns3::TypeId', |
6377 |
'ns3::TypeId', |
6378 |
[], |
6378 |
[], |
6379 |
is_static=True) |
6379 |
is_static=True) |
6380 |
## wifi-mac.h (module 'wifi'): void ns3::WifiMac::NotifyPromiscRx(ns3::Ptr<ns3::Packet const> packet) [member function] |
6380 |
## wifi-mac.h (module 'wifi'): void ns3::WifiMac::NotifyPromiscRx(ns3::Ptr<ns3::Packet const> packet, ns3::Mac48Address destination, ns3::Mac48Address source) [member function] |
6381 |
cls.add_method('NotifyPromiscRx', |
6381 |
cls.add_method('NotifyPromiscRx', |
6382 |
'void', |
6382 |
'void', |
6383 |
[param('ns3::Ptr< ns3::Packet const >', 'packet')]) |
6383 |
[param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'destination'), param('ns3::Mac48Address', 'source')]) |
6384 |
## wifi-mac.h (module 'wifi'): void ns3::WifiMac::NotifyRx(ns3::Ptr<ns3::Packet const> packet) [member function] |
6384 |
## wifi-mac.h (module 'wifi'): void ns3::WifiMac::NotifyRx(ns3::Ptr<ns3::Packet const> packet, ns3::Mac48Address destination, ns3::Mac48Address source) [member function] |
6385 |
cls.add_method('NotifyRx', |
6385 |
cls.add_method('NotifyRx', |
6386 |
'void', |
6386 |
'void', |
6387 |
[param('ns3::Ptr< ns3::Packet const >', 'packet')]) |
6387 |
[param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'destination'), param('ns3::Mac48Address', 'source')]) |
6388 |
## wifi-mac.h (module 'wifi'): void ns3::WifiMac::NotifyRxDrop(ns3::Ptr<ns3::Packet const> packet) [member function] |
6388 |
## wifi-mac.h (module 'wifi'): void ns3::WifiMac::NotifyRxDrop(ns3::Ptr<ns3::Packet const> packet, ns3::Mac48Address destination, ns3::Mac48Address source) [member function] |
6389 |
cls.add_method('NotifyRxDrop', |
6389 |
cls.add_method('NotifyRxDrop', |
6390 |
'void', |
6390 |
'void', |
6391 |
[param('ns3::Ptr< ns3::Packet const >', 'packet')]) |
6391 |
[param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'destination'), param('ns3::Mac48Address', 'source')]) |
6392 |
## wifi-mac.h (module 'wifi'): void ns3::WifiMac::NotifyTx(ns3::Ptr<ns3::Packet const> packet) [member function] |
6392 |
## wifi-mac.h (module 'wifi'): void ns3::WifiMac::NotifyTx(ns3::Ptr<ns3::Packet const> packet, ns3::Mac48Address destination, ns3::Mac48Address source) [member function] |
6393 |
cls.add_method('NotifyTx', |
6393 |
cls.add_method('NotifyTx', |
6394 |
'void', |
6394 |
'void', |
6395 |
[param('ns3::Ptr< ns3::Packet const >', 'packet')]) |
6395 |
[param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'destination'), param('ns3::Mac48Address', 'source')]) |
6396 |
## wifi-mac.h (module 'wifi'): void ns3::WifiMac::NotifyTxDrop(ns3::Ptr<ns3::Packet const> packet) [member function] |
6396 |
## wifi-mac.h (module 'wifi'): void ns3::WifiMac::NotifyTxDrop(ns3::Ptr<ns3::Packet const> packet, ns3::Mac48Address destination, ns3::Mac48Address source) [member function] |
6397 |
cls.add_method('NotifyTxDrop', |
6397 |
cls.add_method('NotifyTxDrop', |
6398 |
'void', |
6398 |
'void', |
6399 |
[param('ns3::Ptr< ns3::Packet const >', 'packet')]) |
6399 |
[param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'destination'), param('ns3::Mac48Address', 'source')]) |
6400 |
## wifi-mac.h (module 'wifi'): void ns3::WifiMac::SetAckTimeout(ns3::Time ackTimeout) [member function] |
6400 |
## wifi-mac.h (module 'wifi'): void ns3::WifiMac::SetAckTimeout(ns3::Time ackTimeout) [member function] |
6401 |
cls.add_method('SetAckTimeout', |
6401 |
cls.add_method('SetAckTimeout', |
6402 |
'void', |
6402 |
'void', |
|
13261 |
cls.add_method('StartBeaconing', |
13261 |
cls.add_method('StartBeaconing', |
13262 |
'void', |
13262 |
'void', |
13263 |
[]) |
13263 |
[]) |
|
|
13264 |
## ap-wifi-mac.h (module 'wifi'): int64_t ns3::ApWifiMac::AssignStreams(int64_t stream) [member function] |
13265 |
cls.add_method('AssignStreams', |
13266 |
'int64_t', |
13267 |
[param('int64_t', 'stream')]) |
13264 |
## ap-wifi-mac.h (module 'wifi'): void ns3::ApWifiMac::Receive(ns3::Ptr<ns3::Packet> packet, ns3::WifiMacHeader const * hdr) [member function] |
13268 |
## ap-wifi-mac.h (module 'wifi'): void ns3::ApWifiMac::Receive(ns3::Ptr<ns3::Packet> packet, ns3::WifiMacHeader const * hdr) [member function] |
13265 |
cls.add_method('Receive', |
13269 |
cls.add_method('Receive', |
13266 |
'void', |
13270 |
'void', |