--- a/src/spectrum/bindings/modulegen__gcc_ILP32.py Thu Jul 04 16:10:05 2013 +0200
+++ b/src/spectrum/bindings/modulegen__gcc_ILP32.py Thu Jul 04 14:27:35 2013 -0700
@@ -96,6 +96,8 @@
module.add_class('PacketTagList', import_from_module='ns.network')
## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData [struct]
module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList'])
+ ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData_e [enumeration]
+ module.add_enum('TagData_e', ['MAX_SIZE'], outer_class=root_module['ns3::PacketTagList::TagData'], import_from_module='ns.network')
## multi-model-spectrum-channel.h (module 'spectrum'): ns3::RxSpectrumModelInfo [class]
module.add_class('RxSpectrumModelInfo')
## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
@@ -336,8 +338,6 @@
module.add_class('SpectrumAnalyzer', parent=root_module['ns3::SpectrumPhy'])
## spectrum-channel.h (module 'spectrum'): ns3::SpectrumChannel [class]
module.add_class('SpectrumChannel', parent=root_module['ns3::Channel'])
- ## nstime.h (module 'core'): ns3::TimeChecker [class]
- module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
## nstime.h (module 'core'): ns3::TimeValue [class]
module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
## type-id.h (module 'core'): ns3::TypeIdChecker [class]
@@ -583,7 +583,6 @@
register_Ns3ShannonSpectrumErrorModel_methods(root_module, root_module['ns3::ShannonSpectrumErrorModel'])
register_Ns3SpectrumAnalyzer_methods(root_module, root_module['ns3::SpectrumAnalyzer'])
register_Ns3SpectrumChannel_methods(root_module, root_module['ns3::SpectrumChannel'])
- register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
@@ -2091,6 +2090,10 @@
cls.add_method('RemoveAll',
'void',
[])
+ ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Replace(ns3::Tag & tag) [member function]
+ cls.add_method('Replace',
+ 'bool',
+ [param('ns3::Tag &', 'tag')])
return
def register_Ns3PacketTagListTagData_methods(root_module, cls):
@@ -3782,6 +3785,16 @@
'bool',
[],
is_const=True)
+ ## nstime.h (module 'core'): static ns3::Time ns3::Time::MAX() [member function]
+ cls.add_method('MAX',
+ 'ns3::Time',
+ [],
+ is_static=True)
+ ## nstime.h (module 'core'): static ns3::Time ns3::Time::MIN() [member function]
+ cls.add_method('MIN',
+ 'ns3::Time',
+ [],
+ is_static=True)
## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]
cls.add_method('SetResolution',
'void',
@@ -3915,14 +3928,10 @@
is_static=True)
## propagation-loss-model.h (module 'propagation'): ns3::TwoRayGroundPropagationLossModel::TwoRayGroundPropagationLossModel() [constructor]
cls.add_constructor([])
- ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetLambda(double frequency, double speed) [member function]
- cls.add_method('SetLambda',
- 'void',
- [param('double', 'frequency'), param('double', 'speed')])
- ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetLambda(double lambda) [member function]
- cls.add_method('SetLambda',
- 'void',
- [param('double', 'lambda')])
+ ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetFrequency(double frequency) [member function]
+ cls.add_method('SetFrequency',
+ 'void',
+ [param('double', 'frequency')])
## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetSystemLoss(double systemLoss) [member function]
cls.add_method('SetSystemLoss',
'void',
@@ -3936,8 +3945,8 @@
'double',
[],
is_const=True)
- ## propagation-loss-model.h (module 'propagation'): double ns3::TwoRayGroundPropagationLossModel::GetLambda() const [member function]
- cls.add_method('GetLambda',
+ ## propagation-loss-model.h (module 'propagation'): double ns3::TwoRayGroundPropagationLossModel::GetFrequency() const [member function]
+ cls.add_method('GetFrequency',
'double',
[],
is_const=True)
@@ -4772,14 +4781,10 @@
is_static=True)
## propagation-loss-model.h (module 'propagation'): ns3::FriisPropagationLossModel::FriisPropagationLossModel() [constructor]
cls.add_constructor([])
- ## propagation-loss-model.h (module 'propagation'): void ns3::FriisPropagationLossModel::SetLambda(double frequency, double speed) [member function]
- cls.add_method('SetLambda',
- 'void',
- [param('double', 'frequency'), param('double', 'speed')])
- ## propagation-loss-model.h (module 'propagation'): void ns3::FriisPropagationLossModel::SetLambda(double lambda) [member function]
- cls.add_method('SetLambda',
- 'void',
- [param('double', 'lambda')])
+ ## propagation-loss-model.h (module 'propagation'): void ns3::FriisPropagationLossModel::SetFrequency(double frequency) [member function]
+ cls.add_method('SetFrequency',
+ 'void',
+ [param('double', 'frequency')])
## propagation-loss-model.h (module 'propagation'): void ns3::FriisPropagationLossModel::SetSystemLoss(double systemLoss) [member function]
cls.add_method('SetSystemLoss',
'void',
@@ -4793,8 +4798,8 @@
'double',
[],
is_const=True)
- ## propagation-loss-model.h (module 'propagation'): double ns3::FriisPropagationLossModel::GetLambda() const [member function]
- cls.add_method('GetLambda',
+ ## propagation-loss-model.h (module 'propagation'): double ns3::FriisPropagationLossModel::GetFrequency() const [member function]
+ cls.add_method('GetFrequency',
'double',
[],
is_const=True)
@@ -6033,6 +6038,10 @@
cls.add_method('RemoveTrailer',
'uint32_t',
[param('ns3::Trailer &', 'trailer')])
+ ## packet.h (module 'network'): bool ns3::Packet::ReplacePacketTag(ns3::Tag & tag) [member function]
+ cls.add_method('ReplacePacketTag',
+ 'bool',
+ [param('ns3::Tag &', 'tag')])
## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
cls.add_method('Serialize',
'uint32_t',
@@ -6229,13 +6238,6 @@
is_pure_virtual=True, is_virtual=True)
return
-def register_Ns3TimeChecker_methods(root_module, cls):
- ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
- cls.add_constructor([])
- ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor]
- cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')])
- return
-
def register_Ns3TimeValue_methods(root_module, cls):
## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
cls.add_constructor([])