1.1 --- a/bindings/python/ns3_module_core.py Mon Aug 31 13:01:48 2009 +0200
1.2 +++ b/bindings/python/ns3_module_core.py Mon Aug 31 15:29:20 2009 +0200
1.3 @@ -2203,7 +2203,7 @@
1.4 cls.add_constructor([param('ns3::BooleanValue const &', 'value')])
1.5 ## traced-value.h: ns3::TracedValue<unsigned int>::TracedValue(ns3::EnumValue const & value) [constructor]
1.6 cls.add_constructor([param('ns3::EnumValue const &', 'value')])
1.7 - ## traced-value.h: void ns3::TracedValue<unsigned int>::Connect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
1.8 + ## traced-value.h: void ns3::TracedValue<unsigned int>::Connect(ns3::CallbackBase const & cb, std::string path) [member function]
1.9 cls.add_method('Connect',
1.10 'void',
1.11 [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
1.12 @@ -2211,7 +2211,7 @@
1.13 cls.add_method('ConnectWithoutContext',
1.14 'void',
1.15 [param('ns3::CallbackBase const &', 'cb')])
1.16 - ## traced-value.h: void ns3::TracedValue<unsigned int>::Disconnect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
1.17 + ## traced-value.h: void ns3::TracedValue<unsigned int>::Disconnect(ns3::CallbackBase const & cb, std::string path) [member function]
1.18 cls.add_method('Disconnect',
1.19 'void',
1.20 [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
1.21 @@ -2383,7 +2383,7 @@
1.22 module.add_function('TypeNameGet',
1.23 'std::string',
1.24 [],
1.25 - template_parameters=['long'])
1.26 + template_parameters=['long long'])
1.27 ## type-name.h: extern std::string ns3::TypeNameGet() [free function]
1.28 module.add_function('TypeNameGet',
1.29 'std::string',
1.30 @@ -2403,7 +2403,7 @@
1.31 module.add_function('TypeNameGet',
1.32 'std::string',
1.33 [],
1.34 - template_parameters=['unsigned long'])
1.35 + template_parameters=['unsigned long long'])
1.36 ## type-name.h: extern std::string ns3::TypeNameGet() [free function]
1.37 module.add_function('TypeNameGet',
1.38 'std::string',
2.1 --- a/bindings/python/ns3_module_internet_stack.py Mon Aug 31 13:01:48 2009 +0200
2.2 +++ b/bindings/python/ns3_module_internet_stack.py Mon Aug 31 15:29:20 2009 +0200
2.3 @@ -1638,33 +1638,31 @@
2.4 return
2.5
2.6 def register_Ns3ArpL3Protocol_methods(root_module, cls):
2.7 - ## arp-l3-protocol.h: ns3::ArpL3Protocol::ArpL3Protocol(ns3::ArpL3Protocol const & arg0) [copy constructor]
2.8 - cls.add_constructor([param('ns3::ArpL3Protocol const &', 'arg0')])
2.9 - ## arp-l3-protocol.h: ns3::ArpL3Protocol::ArpL3Protocol() [constructor]
2.10 - cls.add_constructor([])
2.11 - ## arp-l3-protocol.h: ns3::Ptr<ns3::ArpCache> ns3::ArpL3Protocol::CreateCache(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<ns3::Ipv4Interface> interface) [member function]
2.12 - cls.add_method('CreateCache',
2.13 - 'ns3::Ptr< ns3::ArpCache >',
2.14 - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Ipv4Interface >', 'interface')])
2.15 + ## arp-l3-protocol.h: ns3::ArpL3Protocol::PROT_NUMBER [variable]
2.16 + cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
2.17 ## arp-l3-protocol.h: static ns3::TypeId ns3::ArpL3Protocol::GetTypeId() [member function]
2.18 cls.add_method('GetTypeId',
2.19 'ns3::TypeId',
2.20 [],
2.21 is_static=True)
2.22 + ## arp-l3-protocol.h: ns3::ArpL3Protocol::ArpL3Protocol() [constructor]
2.23 + cls.add_constructor([])
2.24 + ## arp-l3-protocol.h: void ns3::ArpL3Protocol::SetNode(ns3::Ptr<ns3::Node> node) [member function]
2.25 + cls.add_method('SetNode',
2.26 + 'void',
2.27 + [param('ns3::Ptr< ns3::Node >', 'node')])
2.28 + ## arp-l3-protocol.h: ns3::Ptr<ns3::ArpCache> ns3::ArpL3Protocol::CreateCache(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<ns3::Ipv4Interface> interface) [member function]
2.29 + cls.add_method('CreateCache',
2.30 + 'ns3::Ptr< ns3::ArpCache >',
2.31 + [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Ipv4Interface >', 'interface')])
2.32 + ## arp-l3-protocol.h: void ns3::ArpL3Protocol::Receive(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<ns3::Packet const> p, uint16_t protocol, ns3::Address const & from, ns3::Address const & to, ns3::NetDevice::PacketType packetType) [member function]
2.33 + cls.add_method('Receive',
2.34 + 'void',
2.35 + [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'p'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'from'), param('ns3::Address const &', 'to'), param('ns3::NetDevice::PacketType', 'packetType')])
2.36 ## arp-l3-protocol.h: bool ns3::ArpL3Protocol::Lookup(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Address destination, ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<ns3::ArpCache> cache, ns3::Address * hardwareDestination) [member function]
2.37 cls.add_method('Lookup',
2.38 'bool',
2.39 [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Address', 'destination'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::ArpCache >', 'cache'), param('ns3::Address *', 'hardwareDestination')])
2.40 - ## arp-l3-protocol.h: void ns3::ArpL3Protocol::Receive(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<ns3::Packet const> p, uint16_t protocol, ns3::Address const & from, ns3::Address const & to, ns3::NetDevice::PacketType packetType) [member function]
2.41 - cls.add_method('Receive',
2.42 - 'void',
2.43 - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'p'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'from'), param('ns3::Address const &', 'to'), param('ns3::NetDevice::PacketType', 'packetType')])
2.44 - ## arp-l3-protocol.h: void ns3::ArpL3Protocol::SetNode(ns3::Ptr<ns3::Node> node) [member function]
2.45 - cls.add_method('SetNode',
2.46 - 'void',
2.47 - [param('ns3::Ptr< ns3::Node >', 'node')])
2.48 - ## arp-l3-protocol.h: ns3::ArpL3Protocol::PROT_NUMBER [variable]
2.49 - cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
2.50 ## arp-l3-protocol.h: void ns3::ArpL3Protocol::DoDispose() [member function]
2.51 cls.add_method('DoDispose',
2.52 'void',
3.1 --- a/bindings/python/ns3_module_olsr.py Mon Aug 31 13:01:48 2009 +0200
3.2 +++ b/bindings/python/ns3_module_olsr.py Mon Aug 31 15:29:20 2009 +0200
3.3 @@ -104,27 +104,27 @@
3.4 typehandlers.add_type_alias('std::vector< ns3::olsr::DuplicateTuple, std::allocator< ns3::olsr::DuplicateTuple > >', 'ns3::olsr::DuplicateSet')
3.5 typehandlers.add_type_alias('std::vector< ns3::olsr::DuplicateTuple, std::allocator< ns3::olsr::DuplicateTuple > >*', 'ns3::olsr::DuplicateSet*')
3.6 typehandlers.add_type_alias('std::vector< ns3::olsr::DuplicateTuple, std::allocator< ns3::olsr::DuplicateTuple > >&', 'ns3::olsr::DuplicateSet&')
3.7 - typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >', 'ns3::olsr::NeighborSet')
3.8 - typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >*', 'ns3::olsr::NeighborSet*')
3.9 - typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >&', 'ns3::olsr::NeighborSet&')
3.10 typehandlers.add_type_alias('std::set< ns3::Ipv4Address, std::less< ns3::Ipv4Address >, std::allocator< ns3::Ipv4Address > >', 'ns3::olsr::MprSet')
3.11 typehandlers.add_type_alias('std::set< ns3::Ipv4Address, std::less< ns3::Ipv4Address >, std::allocator< ns3::Ipv4Address > >*', 'ns3::olsr::MprSet*')
3.12 typehandlers.add_type_alias('std::set< ns3::Ipv4Address, std::less< ns3::Ipv4Address >, std::allocator< ns3::Ipv4Address > >&', 'ns3::olsr::MprSet&')
3.13 typehandlers.add_type_alias('std::vector< ns3::olsr::MprSelectorTuple, std::allocator< ns3::olsr::MprSelectorTuple > >', 'ns3::olsr::MprSelectorSet')
3.14 typehandlers.add_type_alias('std::vector< ns3::olsr::MprSelectorTuple, std::allocator< ns3::olsr::MprSelectorTuple > >*', 'ns3::olsr::MprSelectorSet*')
3.15 typehandlers.add_type_alias('std::vector< ns3::olsr::MprSelectorTuple, std::allocator< ns3::olsr::MprSelectorTuple > >&', 'ns3::olsr::MprSelectorSet&')
3.16 - typehandlers.add_type_alias('std::vector< ns3::olsr::TopologyTuple, std::allocator< ns3::olsr::TopologyTuple > >', 'ns3::olsr::TopologySet')
3.17 - typehandlers.add_type_alias('std::vector< ns3::olsr::TopologyTuple, std::allocator< ns3::olsr::TopologyTuple > >*', 'ns3::olsr::TopologySet*')
3.18 - typehandlers.add_type_alias('std::vector< ns3::olsr::TopologyTuple, std::allocator< ns3::olsr::TopologyTuple > >&', 'ns3::olsr::TopologySet&')
3.19 typehandlers.add_type_alias('std::vector< ns3::olsr::MessageHeader, std::allocator< ns3::olsr::MessageHeader > >', 'ns3::olsr::MessageList')
3.20 typehandlers.add_type_alias('std::vector< ns3::olsr::MessageHeader, std::allocator< ns3::olsr::MessageHeader > >*', 'ns3::olsr::MessageList*')
3.21 typehandlers.add_type_alias('std::vector< ns3::olsr::MessageHeader, std::allocator< ns3::olsr::MessageHeader > >&', 'ns3::olsr::MessageList&')
3.22 typehandlers.add_type_alias('std::vector< ns3::olsr::IfaceAssocTuple, std::allocator< ns3::olsr::IfaceAssocTuple > >', 'ns3::olsr::IfaceAssocSet')
3.23 typehandlers.add_type_alias('std::vector< ns3::olsr::IfaceAssocTuple, std::allocator< ns3::olsr::IfaceAssocTuple > >*', 'ns3::olsr::IfaceAssocSet*')
3.24 typehandlers.add_type_alias('std::vector< ns3::olsr::IfaceAssocTuple, std::allocator< ns3::olsr::IfaceAssocTuple > >&', 'ns3::olsr::IfaceAssocSet&')
3.25 + typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >', 'ns3::olsr::NeighborSet')
3.26 + typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >*', 'ns3::olsr::NeighborSet*')
3.27 + typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >&', 'ns3::olsr::NeighborSet&')
3.28 typehandlers.add_type_alias('std::vector< ns3::olsr::TwoHopNeighborTuple, std::allocator< ns3::olsr::TwoHopNeighborTuple > >', 'ns3::olsr::TwoHopNeighborSet')
3.29 typehandlers.add_type_alias('std::vector< ns3::olsr::TwoHopNeighborTuple, std::allocator< ns3::olsr::TwoHopNeighborTuple > >*', 'ns3::olsr::TwoHopNeighborSet*')
3.30 typehandlers.add_type_alias('std::vector< ns3::olsr::TwoHopNeighborTuple, std::allocator< ns3::olsr::TwoHopNeighborTuple > >&', 'ns3::olsr::TwoHopNeighborSet&')
3.31 + typehandlers.add_type_alias('std::vector< ns3::olsr::TopologyTuple, std::allocator< ns3::olsr::TopologyTuple > >', 'ns3::olsr::TopologySet')
3.32 + typehandlers.add_type_alias('std::vector< ns3::olsr::TopologyTuple, std::allocator< ns3::olsr::TopologyTuple > >*', 'ns3::olsr::TopologySet*')
3.33 + typehandlers.add_type_alias('std::vector< ns3::olsr::TopologyTuple, std::allocator< ns3::olsr::TopologyTuple > >&', 'ns3::olsr::TopologySet&')
3.34 typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >', 'ns3::olsr::LinkSet')
3.35 typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >*', 'ns3::olsr::LinkSet*')
3.36 typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >&', 'ns3::olsr::LinkSet&')
4.1 --- a/bindings/python/ns3_module_wifi.py Mon Aug 31 13:01:48 2009 +0200
4.2 +++ b/bindings/python/ns3_module_wifi.py Mon Aug 31 15:29:20 2009 +0200
4.3 @@ -3162,224 +3162,224 @@
4.4 return
4.5
4.6 def register_Ns3YansWifiPhy_methods(root_module, cls):
4.7 - ## yans-wifi-phy.h: static ns3::TypeId ns3::YansWifiPhy::GetTypeId() [member function]
4.8 - cls.add_method('GetTypeId',
4.9 - 'ns3::TypeId',
4.10 - [],
4.11 - is_static=True)
4.12 ## yans-wifi-phy.h: ns3::YansWifiPhy::YansWifiPhy() [constructor]
4.13 cls.add_constructor([])
4.14 - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetChannel(ns3::Ptr<ns3::YansWifiChannel> channel) [member function]
4.15 - cls.add_method('SetChannel',
4.16 - 'void',
4.17 - [param('ns3::Ptr< ns3::YansWifiChannel >', 'channel')])
4.18 - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetChannelNumber(uint16_t id) [member function]
4.19 - cls.add_method('SetChannelNumber',
4.20 - 'void',
4.21 - [param('uint16_t', 'id')],
4.22 - is_virtual=True)
4.23 - ## yans-wifi-phy.h: uint16_t ns3::YansWifiPhy::GetChannelNumber() const [member function]
4.24 - cls.add_method('GetChannelNumber',
4.25 - 'uint16_t',
4.26 - [],
4.27 - is_const=True, is_virtual=True)
4.28 - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetChannelFrequencyMhz() const [member function]
4.29 - cls.add_method('GetChannelFrequencyMhz',
4.30 + ## yans-wifi-phy.h: double ns3::YansWifiPhy::CalculateSnr(ns3::WifiMode txMode, double ber) const [member function]
4.31 + cls.add_method('CalculateSnr',
4.32 'double',
4.33 - [],
4.34 - is_const=True)
4.35 - ## yans-wifi-phy.h: void ns3::YansWifiPhy::StartReceivePacket(ns3::Ptr<ns3::Packet> packet, double rxPowerDbm, ns3::WifiMode mode, ns3::WifiPreamble preamble) [member function]
4.36 - cls.add_method('StartReceivePacket',
4.37 - 'void',
4.38 - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'rxPowerDbm'), param('ns3::WifiMode', 'mode'), param('ns3::WifiPreamble', 'preamble')])
4.39 - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetRxNoiseFigure(double noiseFigureDb) [member function]
4.40 - cls.add_method('SetRxNoiseFigure',
4.41 - 'void',
4.42 - [param('double', 'noiseFigureDb')])
4.43 - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetTxPowerStart(double start) [member function]
4.44 - cls.add_method('SetTxPowerStart',
4.45 - 'void',
4.46 - [param('double', 'start')])
4.47 - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetTxPowerEnd(double end) [member function]
4.48 - cls.add_method('SetTxPowerEnd',
4.49 - 'void',
4.50 - [param('double', 'end')])
4.51 - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetNTxPower(uint32_t n) [member function]
4.52 - cls.add_method('SetNTxPower',
4.53 - 'void',
4.54 - [param('uint32_t', 'n')])
4.55 - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetTxGain(double gain) [member function]
4.56 - cls.add_method('SetTxGain',
4.57 - 'void',
4.58 - [param('double', 'gain')])
4.59 - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetRxGain(double gain) [member function]
4.60 - cls.add_method('SetRxGain',
4.61 - 'void',
4.62 - [param('double', 'gain')])
4.63 - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetEdThreshold(double threshold) [member function]
4.64 - cls.add_method('SetEdThreshold',
4.65 - 'void',
4.66 - [param('double', 'threshold')])
4.67 - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetCcaMode1Threshold(double threshold) [member function]
4.68 - cls.add_method('SetCcaMode1Threshold',
4.69 - 'void',
4.70 - [param('double', 'threshold')])
4.71 - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetErrorRateModel(ns3::Ptr<ns3::ErrorRateModel> rate) [member function]
4.72 - cls.add_method('SetErrorRateModel',
4.73 - 'void',
4.74 - [param('ns3::Ptr< ns3::ErrorRateModel >', 'rate')])
4.75 - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetDevice(ns3::Ptr<ns3::Object> device) [member function]
4.76 - cls.add_method('SetDevice',
4.77 - 'void',
4.78 - [param('ns3::Ptr< ns3::Object >', 'device')])
4.79 - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetMobility(ns3::Ptr<ns3::Object> mobility) [member function]
4.80 - cls.add_method('SetMobility',
4.81 - 'void',
4.82 - [param('ns3::Ptr< ns3::Object >', 'mobility')])
4.83 - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetRxNoiseFigure() const [member function]
4.84 - cls.add_method('GetRxNoiseFigure',
4.85 - 'double',
4.86 - [],
4.87 - is_const=True)
4.88 - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetTxGain() const [member function]
4.89 - cls.add_method('GetTxGain',
4.90 - 'double',
4.91 - [],
4.92 - is_const=True)
4.93 - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetRxGain() const [member function]
4.94 - cls.add_method('GetRxGain',
4.95 - 'double',
4.96 - [],
4.97 - is_const=True)
4.98 - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetEdThreshold() const [member function]
4.99 - cls.add_method('GetEdThreshold',
4.100 - 'double',
4.101 - [],
4.102 - is_const=True)
4.103 - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetCcaMode1Threshold() const [member function]
4.104 - cls.add_method('GetCcaMode1Threshold',
4.105 - 'double',
4.106 - [],
4.107 - is_const=True)
4.108 - ## yans-wifi-phy.h: ns3::Ptr<ns3::ErrorRateModel> ns3::YansWifiPhy::GetErrorRateModel() const [member function]
4.109 - cls.add_method('GetErrorRateModel',
4.110 - 'ns3::Ptr< ns3::ErrorRateModel >',
4.111 - [],
4.112 - is_const=True)
4.113 - ## yans-wifi-phy.h: ns3::Ptr<ns3::Object> ns3::YansWifiPhy::GetDevice() const [member function]
4.114 - cls.add_method('GetDevice',
4.115 - 'ns3::Ptr< ns3::Object >',
4.116 - [],
4.117 - is_const=True)
4.118 - ## yans-wifi-phy.h: ns3::Ptr<ns3::Object> ns3::YansWifiPhy::GetMobility() [member function]
4.119 - cls.add_method('GetMobility',
4.120 - 'ns3::Ptr< ns3::Object >',
4.121 - [])
4.122 - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetTxPowerStart() const [member function]
4.123 - cls.add_method('GetTxPowerStart',
4.124 - 'double',
4.125 - [],
4.126 - is_const=True, is_virtual=True)
4.127 - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetTxPowerEnd() const [member function]
4.128 - cls.add_method('GetTxPowerEnd',
4.129 - 'double',
4.130 - [],
4.131 - is_const=True, is_virtual=True)
4.132 - ## yans-wifi-phy.h: uint32_t ns3::YansWifiPhy::GetNTxPower() const [member function]
4.133 - cls.add_method('GetNTxPower',
4.134 - 'uint32_t',
4.135 - [],
4.136 - is_const=True, is_virtual=True)
4.137 - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetReceiveOkCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::WifiMode,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
4.138 - cls.add_method('SetReceiveOkCallback',
4.139 - 'void',
4.140 - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::WifiMode, ns3::WifiPreamble, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
4.141 - is_virtual=True)
4.142 - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetReceiveErrorCallback(ns3::Callback<void,ns3::Ptr<const ns3::Packet>,double,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
4.143 - cls.add_method('SetReceiveErrorCallback',
4.144 - 'void',
4.145 - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
4.146 - is_virtual=True)
4.147 - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SendPacket(ns3::Ptr<ns3::Packet const> packet, ns3::WifiMode mode, ns3::WifiPreamble preamble, uint8_t txPowerLevel) [member function]
4.148 - cls.add_method('SendPacket',
4.149 - 'void',
4.150 - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMode', 'mode'), param('ns3::WifiPreamble', 'preamble'), param('uint8_t', 'txPowerLevel')],
4.151 - is_virtual=True)
4.152 - ## yans-wifi-phy.h: void ns3::YansWifiPhy::RegisterListener(ns3::WifiPhyListener * listener) [member function]
4.153 - cls.add_method('RegisterListener',
4.154 - 'void',
4.155 - [param('ns3::WifiPhyListener *', 'listener')],
4.156 - is_virtual=True)
4.157 - ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateCcaBusy() [member function]
4.158 - cls.add_method('IsStateCcaBusy',
4.159 - 'bool',
4.160 - [],
4.161 - is_virtual=True)
4.162 - ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateIdle() [member function]
4.163 - cls.add_method('IsStateIdle',
4.164 - 'bool',
4.165 - [],
4.166 - is_virtual=True)
4.167 - ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateBusy() [member function]
4.168 - cls.add_method('IsStateBusy',
4.169 - 'bool',
4.170 - [],
4.171 - is_virtual=True)
4.172 - ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateSync() [member function]
4.173 - cls.add_method('IsStateSync',
4.174 - 'bool',
4.175 - [],
4.176 - is_virtual=True)
4.177 - ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateTx() [member function]
4.178 - cls.add_method('IsStateTx',
4.179 - 'bool',
4.180 - [],
4.181 - is_virtual=True)
4.182 - ## yans-wifi-phy.h: ns3::Time ns3::YansWifiPhy::GetStateDuration() [member function]
4.183 - cls.add_method('GetStateDuration',
4.184 - 'ns3::Time',
4.185 - [],
4.186 - is_virtual=True)
4.187 - ## yans-wifi-phy.h: ns3::Time ns3::YansWifiPhy::GetDelayUntilIdle() [member function]
4.188 - cls.add_method('GetDelayUntilIdle',
4.189 - 'ns3::Time',
4.190 - [],
4.191 - is_virtual=True)
4.192 - ## yans-wifi-phy.h: ns3::Time ns3::YansWifiPhy::GetLastRxStartTime() const [member function]
4.193 - cls.add_method('GetLastRxStartTime',
4.194 - 'ns3::Time',
4.195 - [],
4.196 + [param('ns3::WifiMode', 'txMode'), param('double', 'ber')],
4.197 is_const=True, is_virtual=True)
4.198 ## yans-wifi-phy.h: ns3::Time ns3::YansWifiPhy::CalculateTxDuration(uint32_t size, ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) const [member function]
4.199 cls.add_method('CalculateTxDuration',
4.200 'ns3::Time',
4.201 [param('uint32_t', 'size'), param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')],
4.202 is_const=True, is_virtual=True)
4.203 - ## yans-wifi-phy.h: uint32_t ns3::YansWifiPhy::GetNModes() const [member function]
4.204 - cls.add_method('GetNModes',
4.205 - 'uint32_t',
4.206 + ## yans-wifi-phy.h: void ns3::YansWifiPhy::ConfigureStandard(ns3::WifiPhyStandard standard) [member function]
4.207 + cls.add_method('ConfigureStandard',
4.208 + 'void',
4.209 + [param('ns3::WifiPhyStandard', 'standard')],
4.210 + is_virtual=True)
4.211 + ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetCcaMode1Threshold() const [member function]
4.212 + cls.add_method('GetCcaMode1Threshold',
4.213 + 'double',
4.214 + [],
4.215 + is_const=True)
4.216 + ## yans-wifi-phy.h: ns3::Ptr<ns3::WifiChannel> ns3::YansWifiPhy::GetChannel() const [member function]
4.217 + cls.add_method('GetChannel',
4.218 + 'ns3::Ptr< ns3::WifiChannel >',
4.219 [],
4.220 is_const=True, is_virtual=True)
4.221 + ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetChannelFrequencyMhz() const [member function]
4.222 + cls.add_method('GetChannelFrequencyMhz',
4.223 + 'double',
4.224 + [],
4.225 + is_const=True)
4.226 + ## yans-wifi-phy.h: uint16_t ns3::YansWifiPhy::GetChannelNumber() const [member function]
4.227 + cls.add_method('GetChannelNumber',
4.228 + 'uint16_t',
4.229 + [],
4.230 + is_const=True, is_virtual=True)
4.231 + ## yans-wifi-phy.h: ns3::Time ns3::YansWifiPhy::GetDelayUntilIdle() [member function]
4.232 + cls.add_method('GetDelayUntilIdle',
4.233 + 'ns3::Time',
4.234 + [],
4.235 + is_virtual=True)
4.236 + ## yans-wifi-phy.h: ns3::Ptr<ns3::Object> ns3::YansWifiPhy::GetDevice() const [member function]
4.237 + cls.add_method('GetDevice',
4.238 + 'ns3::Ptr< ns3::Object >',
4.239 + [],
4.240 + is_const=True)
4.241 + ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetEdThreshold() const [member function]
4.242 + cls.add_method('GetEdThreshold',
4.243 + 'double',
4.244 + [],
4.245 + is_const=True)
4.246 + ## yans-wifi-phy.h: ns3::Ptr<ns3::ErrorRateModel> ns3::YansWifiPhy::GetErrorRateModel() const [member function]
4.247 + cls.add_method('GetErrorRateModel',
4.248 + 'ns3::Ptr< ns3::ErrorRateModel >',
4.249 + [],
4.250 + is_const=True)
4.251 + ## yans-wifi-phy.h: ns3::Time ns3::YansWifiPhy::GetLastRxStartTime() const [member function]
4.252 + cls.add_method('GetLastRxStartTime',
4.253 + 'ns3::Time',
4.254 + [],
4.255 + is_const=True, is_virtual=True)
4.256 + ## yans-wifi-phy.h: ns3::Ptr<ns3::Object> ns3::YansWifiPhy::GetMobility() [member function]
4.257 + cls.add_method('GetMobility',
4.258 + 'ns3::Ptr< ns3::Object >',
4.259 + [])
4.260 ## yans-wifi-phy.h: ns3::WifiMode ns3::YansWifiPhy::GetMode(uint32_t mode) const [member function]
4.261 cls.add_method('GetMode',
4.262 'ns3::WifiMode',
4.263 [param('uint32_t', 'mode')],
4.264 is_const=True, is_virtual=True)
4.265 - ## yans-wifi-phy.h: double ns3::YansWifiPhy::CalculateSnr(ns3::WifiMode txMode, double ber) const [member function]
4.266 - cls.add_method('CalculateSnr',
4.267 + ## yans-wifi-phy.h: uint32_t ns3::YansWifiPhy::GetNModes() const [member function]
4.268 + cls.add_method('GetNModes',
4.269 + 'uint32_t',
4.270 + [],
4.271 + is_const=True, is_virtual=True)
4.272 + ## yans-wifi-phy.h: uint32_t ns3::YansWifiPhy::GetNTxPower() const [member function]
4.273 + cls.add_method('GetNTxPower',
4.274 + 'uint32_t',
4.275 + [],
4.276 + is_const=True, is_virtual=True)
4.277 + ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetRxGain() const [member function]
4.278 + cls.add_method('GetRxGain',
4.279 'double',
4.280 - [param('ns3::WifiMode', 'txMode'), param('double', 'ber')],
4.281 + [],
4.282 + is_const=True)
4.283 + ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetRxNoiseFigure() const [member function]
4.284 + cls.add_method('GetRxNoiseFigure',
4.285 + 'double',
4.286 + [],
4.287 + is_const=True)
4.288 + ## yans-wifi-phy.h: ns3::Time ns3::YansWifiPhy::GetStateDuration() [member function]
4.289 + cls.add_method('GetStateDuration',
4.290 + 'ns3::Time',
4.291 + [],
4.292 + is_virtual=True)
4.293 + ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetTxGain() const [member function]
4.294 + cls.add_method('GetTxGain',
4.295 + 'double',
4.296 + [],
4.297 + is_const=True)
4.298 + ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetTxPowerEnd() const [member function]
4.299 + cls.add_method('GetTxPowerEnd',
4.300 + 'double',
4.301 + [],
4.302 is_const=True, is_virtual=True)
4.303 - ## yans-wifi-phy.h: ns3::Ptr<ns3::WifiChannel> ns3::YansWifiPhy::GetChannel() const [member function]
4.304 - cls.add_method('GetChannel',
4.305 - 'ns3::Ptr< ns3::WifiChannel >',
4.306 + ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetTxPowerStart() const [member function]
4.307 + cls.add_method('GetTxPowerStart',
4.308 + 'double',
4.309 [],
4.310 is_const=True, is_virtual=True)
4.311 - ## yans-wifi-phy.h: void ns3::YansWifiPhy::ConfigureStandard(ns3::WifiPhyStandard standard) [member function]
4.312 - cls.add_method('ConfigureStandard',
4.313 - 'void',
4.314 - [param('ns3::WifiPhyStandard', 'standard')],
4.315 + ## yans-wifi-phy.h: static ns3::TypeId ns3::YansWifiPhy::GetTypeId() [member function]
4.316 + cls.add_method('GetTypeId',
4.317 + 'ns3::TypeId',
4.318 + [],
4.319 + is_static=True)
4.320 + ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateBusy() [member function]
4.321 + cls.add_method('IsStateBusy',
4.322 + 'bool',
4.323 + [],
4.324 is_virtual=True)
4.325 + ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateCcaBusy() [member function]
4.326 + cls.add_method('IsStateCcaBusy',
4.327 + 'bool',
4.328 + [],
4.329 + is_virtual=True)
4.330 + ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateIdle() [member function]
4.331 + cls.add_method('IsStateIdle',
4.332 + 'bool',
4.333 + [],
4.334 + is_virtual=True)
4.335 + ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateSync() [member function]
4.336 + cls.add_method('IsStateSync',
4.337 + 'bool',
4.338 + [],
4.339 + is_virtual=True)
4.340 + ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateTx() [member function]
4.341 + cls.add_method('IsStateTx',
4.342 + 'bool',
4.343 + [],
4.344 + is_virtual=True)
4.345 + ## yans-wifi-phy.h: void ns3::YansWifiPhy::RegisterListener(ns3::WifiPhyListener * listener) [member function]
4.346 + cls.add_method('RegisterListener',
4.347 + 'void',
4.348 + [param('ns3::WifiPhyListener *', 'listener')],
4.349 + is_virtual=True)
4.350 + ## yans-wifi-phy.h: void ns3::YansWifiPhy::SendPacket(ns3::Ptr<ns3::Packet const> packet, ns3::WifiMode mode, ns3::WifiPreamble preamble, uint8_t txPowerLevel) [member function]
4.351 + cls.add_method('SendPacket',
4.352 + 'void',
4.353 + [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMode', 'mode'), param('ns3::WifiPreamble', 'preamble'), param('uint8_t', 'txPowerLevel')],
4.354 + is_virtual=True)
4.355 + ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetCcaMode1Threshold(double threshold) [member function]
4.356 + cls.add_method('SetCcaMode1Threshold',
4.357 + 'void',
4.358 + [param('double', 'threshold')])
4.359 + ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetChannel(ns3::Ptr<ns3::YansWifiChannel> channel) [member function]
4.360 + cls.add_method('SetChannel',
4.361 + 'void',
4.362 + [param('ns3::Ptr< ns3::YansWifiChannel >', 'channel')])
4.363 + ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetChannelNumber(uint16_t id) [member function]
4.364 + cls.add_method('SetChannelNumber',
4.365 + 'void',
4.366 + [param('uint16_t', 'id')],
4.367 + is_virtual=True)
4.368 + ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetDevice(ns3::Ptr<ns3::Object> device) [member function]
4.369 + cls.add_method('SetDevice',
4.370 + 'void',
4.371 + [param('ns3::Ptr< ns3::Object >', 'device')])
4.372 + ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetEdThreshold(double threshold) [member function]
4.373 + cls.add_method('SetEdThreshold',
4.374 + 'void',
4.375 + [param('double', 'threshold')])
4.376 + ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetErrorRateModel(ns3::Ptr<ns3::ErrorRateModel> rate) [member function]
4.377 + cls.add_method('SetErrorRateModel',
4.378 + 'void',
4.379 + [param('ns3::Ptr< ns3::ErrorRateModel >', 'rate')])
4.380 + ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetMobility(ns3::Ptr<ns3::Object> mobility) [member function]
4.381 + cls.add_method('SetMobility',
4.382 + 'void',
4.383 + [param('ns3::Ptr< ns3::Object >', 'mobility')])
4.384 + ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetNTxPower(uint32_t n) [member function]
4.385 + cls.add_method('SetNTxPower',
4.386 + 'void',
4.387 + [param('uint32_t', 'n')])
4.388 + ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetReceiveErrorCallback(ns3::Callback<void,ns3::Ptr<const ns3::Packet>,double,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
4.389 + cls.add_method('SetReceiveErrorCallback',
4.390 + 'void',
4.391 + [param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
4.392 + is_virtual=True)
4.393 + ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetReceiveOkCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::WifiMode,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
4.394 + cls.add_method('SetReceiveOkCallback',
4.395 + 'void',
4.396 + [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::WifiMode, ns3::WifiPreamble, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
4.397 + is_virtual=True)
4.398 + ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetRxGain(double gain) [member function]
4.399 + cls.add_method('SetRxGain',
4.400 + 'void',
4.401 + [param('double', 'gain')])
4.402 + ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetRxNoiseFigure(double noiseFigureDb) [member function]
4.403 + cls.add_method('SetRxNoiseFigure',
4.404 + 'void',
4.405 + [param('double', 'noiseFigureDb')])
4.406 + ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetTxGain(double gain) [member function]
4.407 + cls.add_method('SetTxGain',
4.408 + 'void',
4.409 + [param('double', 'gain')])
4.410 + ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetTxPowerEnd(double end) [member function]
4.411 + cls.add_method('SetTxPowerEnd',
4.412 + 'void',
4.413 + [param('double', 'end')])
4.414 + ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetTxPowerStart(double start) [member function]
4.415 + cls.add_method('SetTxPowerStart',
4.416 + 'void',
4.417 + [param('double', 'start')])
4.418 + ## yans-wifi-phy.h: void ns3::YansWifiPhy::StartReceivePacket(ns3::Ptr<ns3::Packet> packet, double rxPowerDbm, ns3::WifiMode mode, ns3::WifiPreamble preamble) [member function]
4.419 + cls.add_method('StartReceivePacket',
4.420 + 'void',
4.421 + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'rxPowerDbm'), param('ns3::WifiMode', 'mode'), param('ns3::WifiPreamble', 'preamble')])
4.422 ## yans-wifi-phy.h: void ns3::YansWifiPhy::DoDispose() [member function]
4.423 cls.add_method('DoDispose',
4.424 'void',