Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
This commit is contained in:
@@ -4,18 +4,21 @@ callback_classes = [
|
||||
['void', 'ns3::Ptr<ns3::Packet>', 'ns3::Mac48Address', 'ns3::Mac48Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Mac48Address', 'ns3::Mac48Address', 'unsigned int', 'bool', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'unsigned int', 'ns3::Mac48Address', 'ns3::Mac48Address', 'ns3::dot11s::PeerLink::PeerState', 'ns3::dot11s::PeerLink::PeerState', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::WifiMacHeader const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['unsigned int', 'ns3::Mac48Address', 'ns3::Ptr<ns3::MeshWifiInterfaceMac>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Packet>', 'ns3::WifiMacHeader const*', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['std::vector<ns3::Mac48Address, std::allocator<ns3::Mac48Address> >', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'bool', 'ns3::Ptr<ns3::Packet>', 'ns3::Mac48Address', 'ns3::Mac48Address', 'unsigned short', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::WifiMacHeader const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['bool', 'std::string', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Packet const>', 'ns3::Ipv4Header const&', 'ns3::Socket::SocketErrno', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['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'],
|
||||
['void', 'ns3::Ptr<ns3::Socket>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Socket>', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Socket>', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['bool', 'ns3::Ptr<ns3::Socket>', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['std::vector<ns3::Mac48Address, std::allocator<ns3::Mac48Address> >', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'bool', 'ns3::Ptr<ns3::Packet>', 'ns3::Mac48Address', 'ns3::Mac48Address', 'unsigned short', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['bool', 'std::string', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ipv4Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::ArpCache const>', 'ns3::Ipv4Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
]
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -26,12 +26,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -62,10 +74,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -290,7 +310,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -305,9 +327,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -21,8 +21,6 @@ def register_types(module):
|
||||
module.add_class('Item', outer_class=root_module['ns3::ByteTagList::Iterator'])
|
||||
## data-rate.h: ns3::DataRate [class]
|
||||
module.add_class('DataRate')
|
||||
## packet.h: ns3::Packet [class]
|
||||
module.add_class('Packet', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
|
||||
## packet-metadata.h: ns3::PacketMetadata [class]
|
||||
module.add_class('PacketMetadata')
|
||||
## packet-metadata.h: ns3::PacketMetadata::Item [struct]
|
||||
@@ -45,28 +43,34 @@ def register_types(module):
|
||||
module.add_class('Tag', parent=root_module['ns3::ObjectBase'])
|
||||
## tag-buffer.h: ns3::TagBuffer [class]
|
||||
module.add_class('TagBuffer')
|
||||
## ascii-writer.h: ns3::AsciiWriter [class]
|
||||
module.add_class('AsciiWriter', parent=root_module['ns3::RefCountBase'])
|
||||
## ascii-writer.h: ns3::AsciiWriter::Type [enumeration]
|
||||
module.add_enum('Type', ['ENQUEUE', 'DEQUEUE', 'DROP', 'TX', 'RX'], outer_class=root_module['ns3::AsciiWriter'])
|
||||
## chunk.h: ns3::Chunk [class]
|
||||
module.add_class('Chunk', parent=root_module['ns3::ObjectBase'])
|
||||
## data-rate.h: ns3::DataRateChecker [class]
|
||||
module.add_class('DataRateChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## data-rate.h: ns3::DataRateValue [class]
|
||||
module.add_class('DataRateValue', parent=root_module['ns3::AttributeValue'])
|
||||
## header.h: ns3::Header [class]
|
||||
module.add_class('Header', parent=root_module['ns3::Chunk'])
|
||||
## pcap-writer.h: ns3::PcapWriter [class]
|
||||
module.add_class('PcapWriter', parent=root_module['ns3::Object'])
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::AsciiWriter, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::AsciiWriter', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::Packet, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::Packet', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
## trailer.h: ns3::Trailer [class]
|
||||
module.add_class('Trailer', parent=root_module['ns3::Chunk'])
|
||||
## ascii-writer.h: ns3::AsciiWriter [class]
|
||||
module.add_class('AsciiWriter', parent=root_module['ns3::SimpleRefCount< ns3::AsciiWriter, ns3::empty >'])
|
||||
## ascii-writer.h: ns3::AsciiWriter::Type [enumeration]
|
||||
module.add_enum('Type', ['ENQUEUE', 'DEQUEUE', 'DROP', 'TX', 'RX'], outer_class=root_module['ns3::AsciiWriter'])
|
||||
## data-rate.h: ns3::DataRateChecker [class]
|
||||
module.add_class('DataRateChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## data-rate.h: ns3::DataRateValue [class]
|
||||
module.add_class('DataRateValue', parent=root_module['ns3::AttributeValue'])
|
||||
## error-model.h: ns3::ErrorModel [class]
|
||||
module.add_class('ErrorModel', parent=root_module['ns3::Object'])
|
||||
## error-model.h: ns3::ListErrorModel [class]
|
||||
module.add_class('ListErrorModel', parent=root_module['ns3::ErrorModel'])
|
||||
## nix-vector.h: ns3::NixVector [class]
|
||||
module.add_class('NixVector', parent=root_module['ns3::Object'])
|
||||
## packet.h: ns3::Packet [class]
|
||||
module.add_class('Packet', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty >'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
|
||||
## error-model.h: ns3::RateErrorModel [class]
|
||||
module.add_class('RateErrorModel', parent=root_module['ns3::ErrorModel'])
|
||||
|
||||
@@ -88,12 +92,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -124,10 +140,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -149,7 +173,6 @@ def register_methods(root_module):
|
||||
register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
|
||||
register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
|
||||
register_Ns3DataRate_methods(root_module, root_module['ns3::DataRate'])
|
||||
register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
|
||||
register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
|
||||
register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
|
||||
register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
|
||||
@@ -160,16 +183,17 @@ def register_methods(root_module):
|
||||
register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile'])
|
||||
register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
|
||||
register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
|
||||
register_Ns3AsciiWriter_methods(root_module, root_module['ns3::AsciiWriter'])
|
||||
register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
|
||||
register_Ns3DataRateChecker_methods(root_module, root_module['ns3::DataRateChecker'])
|
||||
register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue'])
|
||||
register_Ns3Header_methods(root_module, root_module['ns3::Header'])
|
||||
register_Ns3PcapWriter_methods(root_module, root_module['ns3::PcapWriter'])
|
||||
register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
|
||||
register_Ns3AsciiWriter_methods(root_module, root_module['ns3::AsciiWriter'])
|
||||
register_Ns3DataRateChecker_methods(root_module, root_module['ns3::DataRateChecker'])
|
||||
register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue'])
|
||||
register_Ns3ErrorModel_methods(root_module, root_module['ns3::ErrorModel'])
|
||||
register_Ns3ListErrorModel_methods(root_module, root_module['ns3::ListErrorModel'])
|
||||
register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
|
||||
register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
|
||||
register_Ns3RateErrorModel_methods(root_module, root_module['ns3::RateErrorModel'])
|
||||
return
|
||||
|
||||
@@ -529,184 +553,6 @@ def register_Ns3DataRate_methods(root_module, cls):
|
||||
is_const=True)
|
||||
return
|
||||
|
||||
def register_Ns3Packet_methods(root_module, cls):
|
||||
cls.add_output_stream_operator()
|
||||
## packet.h: ns3::Packet::Packet() [constructor]
|
||||
cls.add_constructor([])
|
||||
## packet.h: ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Packet const &', 'o')])
|
||||
## packet.h: ns3::Packet::Packet(uint32_t size) [constructor]
|
||||
cls.add_constructor([param('uint32_t', 'size')])
|
||||
## packet.h: ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
|
||||
cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
|
||||
## packet.h: void ns3::Packet::AddAtEnd(ns3::Ptr<ns3::Packet const> packet) [member function]
|
||||
cls.add_method('AddAtEnd',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Packet const >', 'packet')])
|
||||
## packet.h: void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
|
||||
cls.add_method('AddByteTag',
|
||||
'void',
|
||||
[param('ns3::Tag const &', 'tag')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
|
||||
cls.add_method('AddHeader',
|
||||
'void',
|
||||
[param('ns3::Header const &', 'header')])
|
||||
## packet.h: void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
|
||||
cls.add_method('AddPacketTag',
|
||||
'void',
|
||||
[param('ns3::Tag const &', 'tag')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
|
||||
cls.add_method('AddPaddingAtEnd',
|
||||
'void',
|
||||
[param('uint32_t', 'size')])
|
||||
## packet.h: void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
|
||||
cls.add_method('AddTrailer',
|
||||
'void',
|
||||
[param('ns3::Trailer const &', 'trailer')])
|
||||
## packet.h: ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
|
||||
cls.add_method('BeginItem',
|
||||
'ns3::PacketMetadata::ItemIterator',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::Packet >',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
|
||||
cls.add_method('CopyData',
|
||||
'uint32_t',
|
||||
[param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
|
||||
cls.add_method('CopyData',
|
||||
'void',
|
||||
[param('std::ostream *', 'os'), param('uint32_t', 'size')],
|
||||
is_const=True)
|
||||
## packet.h: ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
|
||||
cls.add_method('CreateFragment',
|
||||
'ns3::Ptr< ns3::Packet >',
|
||||
[param('uint32_t', 'start'), param('uint32_t', 'length')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::Deserialize(ns3::Buffer buffer) [member function]
|
||||
cls.add_method('Deserialize',
|
||||
'void',
|
||||
[param('ns3::Buffer', 'buffer')])
|
||||
## packet.h: static void ns3::Packet::EnableChecking() [member function]
|
||||
cls.add_method('EnableChecking',
|
||||
'void',
|
||||
[],
|
||||
is_static=True)
|
||||
## packet.h: static void ns3::Packet::EnablePrinting() [member function]
|
||||
cls.add_method('EnablePrinting',
|
||||
'void',
|
||||
[],
|
||||
is_static=True)
|
||||
## packet.h: bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
|
||||
cls.add_method('FindFirstMatchingByteTag',
|
||||
'bool',
|
||||
[param('ns3::Tag &', 'tag')],
|
||||
is_const=True)
|
||||
## packet.h: ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
|
||||
cls.add_method('GetByteTagIterator',
|
||||
'ns3::ByteTagIterator',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
|
||||
cls.add_method('GetNixVector',
|
||||
'ns3::Ptr< ns3::NixVector >',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
|
||||
cls.add_method('GetPacketTagIterator',
|
||||
'ns3::PacketTagIterator',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: uint32_t ns3::Packet::GetSize() const [member function]
|
||||
cls.add_method('GetSize',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: uint32_t ns3::Packet::GetUid() const [member function]
|
||||
cls.add_method('GetUid',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: uint8_t const * ns3::Packet::PeekData() const [member function]
|
||||
cls.add_method('PeekData',
|
||||
'uint8_t const *',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
|
||||
cls.add_method('PeekHeader',
|
||||
'uint32_t',
|
||||
[param('ns3::Header &', 'header')],
|
||||
is_const=True)
|
||||
## packet.h: bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
|
||||
cls.add_method('PeekPacketTag',
|
||||
'bool',
|
||||
[param('ns3::Tag &', 'tag')],
|
||||
is_const=True)
|
||||
## packet.h: uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
|
||||
cls.add_method('PeekTrailer',
|
||||
'uint32_t',
|
||||
[param('ns3::Trailer &', 'trailer')])
|
||||
## packet.h: void ns3::Packet::Print(std::ostream & os) const [member function]
|
||||
cls.add_method('Print',
|
||||
'void',
|
||||
[param('std::ostream &', 'os')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
|
||||
cls.add_method('PrintByteTags',
|
||||
'void',
|
||||
[param('std::ostream &', 'os')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
|
||||
cls.add_method('PrintPacketTags',
|
||||
'void',
|
||||
[param('std::ostream &', 'os')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::RemoveAllByteTags() [member function]
|
||||
cls.add_method('RemoveAllByteTags',
|
||||
'void',
|
||||
[])
|
||||
## packet.h: void ns3::Packet::RemoveAllPacketTags() [member function]
|
||||
cls.add_method('RemoveAllPacketTags',
|
||||
'void',
|
||||
[])
|
||||
## packet.h: void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
|
||||
cls.add_method('RemoveAtEnd',
|
||||
'void',
|
||||
[param('uint32_t', 'size')])
|
||||
## packet.h: void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
|
||||
cls.add_method('RemoveAtStart',
|
||||
'void',
|
||||
[param('uint32_t', 'size')])
|
||||
## packet.h: uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
|
||||
cls.add_method('RemoveHeader',
|
||||
'uint32_t',
|
||||
[param('ns3::Header &', 'header')])
|
||||
## packet.h: bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
|
||||
cls.add_method('RemovePacketTag',
|
||||
'bool',
|
||||
[param('ns3::Tag &', 'tag')])
|
||||
## packet.h: uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
|
||||
cls.add_method('RemoveTrailer',
|
||||
'uint32_t',
|
||||
[param('ns3::Trailer &', 'trailer')])
|
||||
## packet.h: ns3::Buffer ns3::Packet::Serialize() const [member function]
|
||||
cls.add_method('Serialize',
|
||||
'ns3::Buffer',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
|
||||
cls.add_method('SetNixVector',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::NixVector >', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3PacketMetadata_methods(root_module, cls):
|
||||
## packet-metadata.h: ns3::PacketMetadata::PacketMetadata(uint32_t uid, uint32_t size) [constructor]
|
||||
cls.add_constructor([param('uint32_t', 'uid'), param('uint32_t', 'size')])
|
||||
@@ -1057,20 +903,6 @@ def register_Ns3TagBuffer_methods(root_module, cls):
|
||||
[param('uint8_t', 'v')])
|
||||
return
|
||||
|
||||
def register_Ns3AsciiWriter_methods(root_module, cls):
|
||||
## ascii-writer.h: ns3::AsciiWriter::AsciiWriter(ns3::AsciiWriter const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::AsciiWriter const &', 'arg0')])
|
||||
## ascii-writer.h: static ns3::Ptr<ns3::AsciiWriter> ns3::AsciiWriter::Get(std::ostream & os) [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::Ptr< ns3::AsciiWriter >',
|
||||
[param('std::ostream &', 'os')],
|
||||
is_static=True)
|
||||
## ascii-writer.h: void ns3::AsciiWriter::WritePacket(ns3::AsciiWriter::Type type, std::string message, ns3::Ptr<ns3::Packet const> p) [member function]
|
||||
cls.add_method('WritePacket',
|
||||
'void',
|
||||
[param('ns3::AsciiWriter::Type', 'type'), param('std::string', 'message'), param('ns3::Ptr< ns3::Packet const >', 'p')])
|
||||
return
|
||||
|
||||
def register_Ns3Chunk_methods(root_module, cls):
|
||||
## chunk.h: ns3::Chunk::Chunk() [constructor]
|
||||
cls.add_constructor([])
|
||||
@@ -1093,46 +925,6 @@ def register_Ns3Chunk_methods(root_module, cls):
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3DataRateChecker_methods(root_module, cls):
|
||||
## data-rate.h: ns3::DataRateChecker::DataRateChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## data-rate.h: ns3::DataRateChecker::DataRateChecker(ns3::DataRateChecker const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::DataRateChecker const &', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3DataRateValue_methods(root_module, cls):
|
||||
## data-rate.h: ns3::DataRateValue::DataRateValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRateValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::DataRateValue const &', 'arg0')])
|
||||
## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRate const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::DataRate const &', 'value')])
|
||||
## data-rate.h: ns3::Ptr<ns3::AttributeValue> ns3::DataRateValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## data-rate.h: bool ns3::DataRateValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## data-rate.h: ns3::DataRate ns3::DataRateValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::DataRate',
|
||||
[],
|
||||
is_const=True)
|
||||
## data-rate.h: std::string ns3::DataRateValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## data-rate.h: void ns3::DataRateValue::Set(ns3::DataRate const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('ns3::DataRate const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3Header_methods(root_module, cls):
|
||||
cls.add_output_stream_operator()
|
||||
## header.h: ns3::Header::Header() [constructor]
|
||||
@@ -1251,6 +1043,60 @@ def register_Ns3Trailer_methods(root_module, cls):
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3AsciiWriter_methods(root_module, cls):
|
||||
## ascii-writer.h: ns3::AsciiWriter::AsciiWriter(ns3::AsciiWriter const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::AsciiWriter const &', 'arg0')])
|
||||
## ascii-writer.h: static ns3::Ptr<ns3::AsciiWriter> ns3::AsciiWriter::Get(std::ostream & os) [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::Ptr< ns3::AsciiWriter >',
|
||||
[param('std::ostream &', 'os')],
|
||||
is_static=True)
|
||||
## ascii-writer.h: void ns3::AsciiWriter::WritePacket(ns3::AsciiWriter::Type type, std::string message, ns3::Ptr<ns3::Packet const> p) [member function]
|
||||
cls.add_method('WritePacket',
|
||||
'void',
|
||||
[param('ns3::AsciiWriter::Type', 'type'), param('std::string', 'message'), param('ns3::Ptr< ns3::Packet const >', 'p')])
|
||||
return
|
||||
|
||||
def register_Ns3DataRateChecker_methods(root_module, cls):
|
||||
## data-rate.h: ns3::DataRateChecker::DataRateChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## data-rate.h: ns3::DataRateChecker::DataRateChecker(ns3::DataRateChecker const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::DataRateChecker const &', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3DataRateValue_methods(root_module, cls):
|
||||
## data-rate.h: ns3::DataRateValue::DataRateValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRateValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::DataRateValue const &', 'arg0')])
|
||||
## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRate const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::DataRate const &', 'value')])
|
||||
## data-rate.h: ns3::Ptr<ns3::AttributeValue> ns3::DataRateValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## data-rate.h: bool ns3::DataRateValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## data-rate.h: ns3::DataRate ns3::DataRateValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::DataRate',
|
||||
[],
|
||||
is_const=True)
|
||||
## data-rate.h: std::string ns3::DataRateValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## data-rate.h: void ns3::DataRateValue::Set(ns3::DataRate const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('ns3::DataRate const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3ErrorModel_methods(root_module, cls):
|
||||
## error-model.h: ns3::ErrorModel::ErrorModel(ns3::ErrorModel const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::ErrorModel const &', 'arg0')])
|
||||
@@ -1379,6 +1225,184 @@ def register_Ns3NixVector_methods(root_module, cls):
|
||||
is_const=True)
|
||||
return
|
||||
|
||||
def register_Ns3Packet_methods(root_module, cls):
|
||||
cls.add_output_stream_operator()
|
||||
## packet.h: ns3::Packet::Packet() [constructor]
|
||||
cls.add_constructor([])
|
||||
## packet.h: ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Packet const &', 'o')])
|
||||
## packet.h: ns3::Packet::Packet(uint32_t size) [constructor]
|
||||
cls.add_constructor([param('uint32_t', 'size')])
|
||||
## packet.h: ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
|
||||
cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
|
||||
## packet.h: void ns3::Packet::AddAtEnd(ns3::Ptr<ns3::Packet const> packet) [member function]
|
||||
cls.add_method('AddAtEnd',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Packet const >', 'packet')])
|
||||
## packet.h: void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
|
||||
cls.add_method('AddByteTag',
|
||||
'void',
|
||||
[param('ns3::Tag const &', 'tag')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
|
||||
cls.add_method('AddHeader',
|
||||
'void',
|
||||
[param('ns3::Header const &', 'header')])
|
||||
## packet.h: void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
|
||||
cls.add_method('AddPacketTag',
|
||||
'void',
|
||||
[param('ns3::Tag const &', 'tag')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
|
||||
cls.add_method('AddPaddingAtEnd',
|
||||
'void',
|
||||
[param('uint32_t', 'size')])
|
||||
## packet.h: void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
|
||||
cls.add_method('AddTrailer',
|
||||
'void',
|
||||
[param('ns3::Trailer const &', 'trailer')])
|
||||
## packet.h: ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
|
||||
cls.add_method('BeginItem',
|
||||
'ns3::PacketMetadata::ItemIterator',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::Packet >',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
|
||||
cls.add_method('CopyData',
|
||||
'uint32_t',
|
||||
[param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
|
||||
cls.add_method('CopyData',
|
||||
'void',
|
||||
[param('std::ostream *', 'os'), param('uint32_t', 'size')],
|
||||
is_const=True)
|
||||
## packet.h: ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
|
||||
cls.add_method('CreateFragment',
|
||||
'ns3::Ptr< ns3::Packet >',
|
||||
[param('uint32_t', 'start'), param('uint32_t', 'length')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::Deserialize(ns3::Buffer buffer) [member function]
|
||||
cls.add_method('Deserialize',
|
||||
'void',
|
||||
[param('ns3::Buffer', 'buffer')])
|
||||
## packet.h: static void ns3::Packet::EnableChecking() [member function]
|
||||
cls.add_method('EnableChecking',
|
||||
'void',
|
||||
[],
|
||||
is_static=True)
|
||||
## packet.h: static void ns3::Packet::EnablePrinting() [member function]
|
||||
cls.add_method('EnablePrinting',
|
||||
'void',
|
||||
[],
|
||||
is_static=True)
|
||||
## packet.h: bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
|
||||
cls.add_method('FindFirstMatchingByteTag',
|
||||
'bool',
|
||||
[param('ns3::Tag &', 'tag')],
|
||||
is_const=True)
|
||||
## packet.h: ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
|
||||
cls.add_method('GetByteTagIterator',
|
||||
'ns3::ByteTagIterator',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
|
||||
cls.add_method('GetNixVector',
|
||||
'ns3::Ptr< ns3::NixVector >',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
|
||||
cls.add_method('GetPacketTagIterator',
|
||||
'ns3::PacketTagIterator',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: uint32_t ns3::Packet::GetSize() const [member function]
|
||||
cls.add_method('GetSize',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: uint32_t ns3::Packet::GetUid() const [member function]
|
||||
cls.add_method('GetUid',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: uint8_t const * ns3::Packet::PeekData() const [member function]
|
||||
cls.add_method('PeekData',
|
||||
'uint8_t const *',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
|
||||
cls.add_method('PeekHeader',
|
||||
'uint32_t',
|
||||
[param('ns3::Header &', 'header')],
|
||||
is_const=True)
|
||||
## packet.h: bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
|
||||
cls.add_method('PeekPacketTag',
|
||||
'bool',
|
||||
[param('ns3::Tag &', 'tag')],
|
||||
is_const=True)
|
||||
## packet.h: uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
|
||||
cls.add_method('PeekTrailer',
|
||||
'uint32_t',
|
||||
[param('ns3::Trailer &', 'trailer')])
|
||||
## packet.h: void ns3::Packet::Print(std::ostream & os) const [member function]
|
||||
cls.add_method('Print',
|
||||
'void',
|
||||
[param('std::ostream &', 'os')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
|
||||
cls.add_method('PrintByteTags',
|
||||
'void',
|
||||
[param('std::ostream &', 'os')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
|
||||
cls.add_method('PrintPacketTags',
|
||||
'void',
|
||||
[param('std::ostream &', 'os')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::RemoveAllByteTags() [member function]
|
||||
cls.add_method('RemoveAllByteTags',
|
||||
'void',
|
||||
[])
|
||||
## packet.h: void ns3::Packet::RemoveAllPacketTags() [member function]
|
||||
cls.add_method('RemoveAllPacketTags',
|
||||
'void',
|
||||
[])
|
||||
## packet.h: void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
|
||||
cls.add_method('RemoveAtEnd',
|
||||
'void',
|
||||
[param('uint32_t', 'size')])
|
||||
## packet.h: void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
|
||||
cls.add_method('RemoveAtStart',
|
||||
'void',
|
||||
[param('uint32_t', 'size')])
|
||||
## packet.h: uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
|
||||
cls.add_method('RemoveHeader',
|
||||
'uint32_t',
|
||||
[param('ns3::Header &', 'header')])
|
||||
## packet.h: bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
|
||||
cls.add_method('RemovePacketTag',
|
||||
'bool',
|
||||
[param('ns3::Tag &', 'tag')])
|
||||
## packet.h: uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
|
||||
cls.add_method('RemoveTrailer',
|
||||
'uint32_t',
|
||||
[param('ns3::Trailer &', 'trailer')])
|
||||
## packet.h: ns3::Buffer ns3::Packet::Serialize() const [member function]
|
||||
cls.add_method('Serialize',
|
||||
'ns3::Buffer',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
|
||||
cls.add_method('SetNixVector',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::NixVector >', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3RateErrorModel_methods(root_module, cls):
|
||||
## error-model.h: ns3::RateErrorModel::RateErrorModel(ns3::RateErrorModel const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RateErrorModel const &', 'arg0')])
|
||||
@@ -1447,7 +1471,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -1462,9 +1488,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -58,12 +58,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -94,10 +106,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -501,7 +521,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -516,9 +538,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -34,12 +34,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -70,10 +82,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -444,7 +464,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -459,9 +481,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -3,6 +3,8 @@ from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandler
|
||||
def register_types(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::dot11s::IeBeaconTimingUnit, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::dot11s::IeBeaconTimingUnit', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
|
||||
## Register a nested module for the namespace Config
|
||||
|
||||
@@ -22,12 +24,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -58,6 +72,10 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -82,7 +100,7 @@ def register_types_ns3_dot11s(module):
|
||||
## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTiming [class]
|
||||
module.add_class('IeBeaconTiming', parent=root_module['ns3::WifiInformationElement'])
|
||||
## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTimingUnit [class]
|
||||
module.add_class('IeBeaconTimingUnit', parent=root_module['ns3::RefCountBase'])
|
||||
module.add_class('IeBeaconTimingUnit', parent=root_module['ns3::SimpleRefCount< ns3::dot11s::IeBeaconTimingUnit, ns3::empty >'])
|
||||
## ie-dot11s-configuration.h: ns3::dot11s::IeConfiguration [class]
|
||||
module.add_class('IeConfiguration', parent=root_module['ns3::WifiInformationElement'])
|
||||
## ie-dot11s-id.h: ns3::dot11s::IeMeshId [class]
|
||||
@@ -102,6 +120,10 @@ def register_types_ns3_dot11s(module):
|
||||
## peer-management-protocol.h: ns3::dot11s::PeerManagementProtocol [class]
|
||||
module.add_class('PeerManagementProtocol', parent=root_module['ns3::Object'])
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -773,7 +795,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -788,6 +812,9 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
## ie-dot11s-id.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::dot11s::MakeIeMeshIdChecker() [free function]
|
||||
module.add_function('MakeIeMeshIdChecker',
|
||||
@@ -795,6 +822,9 @@ def register_functions_ns3_dot11s(module, root_module):
|
||||
[])
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -0,0 +1,193 @@
|
||||
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
|
||||
|
||||
def register_types(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
## Register a nested module for the namespace Config
|
||||
|
||||
nested_module = module.add_cpp_namespace('Config')
|
||||
register_types_ns3_Config(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace TimeStepPrecision
|
||||
|
||||
nested_module = module.add_cpp_namespace('TimeStepPrecision')
|
||||
register_types_ns3_TimeStepPrecision(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace addressUtils
|
||||
|
||||
nested_module = module.add_cpp_namespace('addressUtils')
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
register_types_ns3_flame(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace internal
|
||||
|
||||
nested_module = module.add_cpp_namespace('internal')
|
||||
register_types_ns3_internal(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace olsr
|
||||
|
||||
nested_module = module.add_cpp_namespace('olsr')
|
||||
register_types_ns3_olsr(nested_module)
|
||||
|
||||
|
||||
def register_types_ns3_Config(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_TimeStepPrecision(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
## dpd.h: ns3::dpd::DuplicatePacketDetection [class]
|
||||
module.add_class('DuplicatePacketDetection')
|
||||
## id-cache.h: ns3::dpd::IdCache [class]
|
||||
module.add_class('IdCache')
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_internal(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_olsr(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_methods(root_module):
|
||||
register_Ns3DpdDuplicatePacketDetection_methods(root_module, root_module['ns3::dpd::DuplicatePacketDetection'])
|
||||
register_Ns3DpdIdCache_methods(root_module, root_module['ns3::dpd::IdCache'])
|
||||
return
|
||||
|
||||
def register_Ns3DpdDuplicatePacketDetection_methods(root_module, cls):
|
||||
## dpd.h: ns3::dpd::DuplicatePacketDetection::DuplicatePacketDetection(ns3::dpd::DuplicatePacketDetection const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::dpd::DuplicatePacketDetection const &', 'arg0')])
|
||||
## dpd.h: ns3::dpd::DuplicatePacketDetection::DuplicatePacketDetection(ns3::Time lifetime) [constructor]
|
||||
cls.add_constructor([param('ns3::Time', 'lifetime')])
|
||||
## dpd.h: ns3::Time ns3::dpd::DuplicatePacketDetection::GetLifetime() const [member function]
|
||||
cls.add_method('GetLifetime',
|
||||
'ns3::Time',
|
||||
[],
|
||||
is_const=True)
|
||||
## dpd.h: bool ns3::dpd::DuplicatePacketDetection::IsDuplicate(ns3::Ptr<ns3::Packet const> p, ns3::Ipv4Header const & header) [member function]
|
||||
cls.add_method('IsDuplicate',
|
||||
'bool',
|
||||
[param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header')])
|
||||
## dpd.h: void ns3::dpd::DuplicatePacketDetection::SetLifetime(ns3::Time lifetime) [member function]
|
||||
cls.add_method('SetLifetime',
|
||||
'void',
|
||||
[param('ns3::Time', 'lifetime')])
|
||||
return
|
||||
|
||||
def register_Ns3DpdIdCache_methods(root_module, cls):
|
||||
## id-cache.h: ns3::dpd::IdCache::IdCache(ns3::dpd::IdCache const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::dpd::IdCache const &', 'arg0')])
|
||||
## id-cache.h: ns3::dpd::IdCache::IdCache(ns3::Time lifetime) [constructor]
|
||||
cls.add_constructor([param('ns3::Time', 'lifetime')])
|
||||
## id-cache.h: ns3::Time ns3::dpd::IdCache::GetLifeTime() const [member function]
|
||||
cls.add_method('GetLifeTime',
|
||||
'ns3::Time',
|
||||
[],
|
||||
is_const=True)
|
||||
## id-cache.h: uint32_t ns3::dpd::IdCache::GetSize() [member function]
|
||||
cls.add_method('GetSize',
|
||||
'uint32_t',
|
||||
[])
|
||||
## id-cache.h: bool ns3::dpd::IdCache::IsDuplicate(ns3::Ipv4Address addr, uint32_t id) [member function]
|
||||
cls.add_method('IsDuplicate',
|
||||
'bool',
|
||||
[param('ns3::Ipv4Address', 'addr'), param('uint32_t', 'id')])
|
||||
## id-cache.h: void ns3::dpd::IdCache::Purge() [member function]
|
||||
cls.add_method('Purge',
|
||||
'void',
|
||||
[])
|
||||
## id-cache.h: void ns3::dpd::IdCache::SetLifetime(ns3::Time lifetime) [member function]
|
||||
cls.add_method('SetLifetime',
|
||||
'void',
|
||||
[param('ns3::Time', 'lifetime')])
|
||||
return
|
||||
|
||||
def register_functions(root_module):
|
||||
module = root_module
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
return
|
||||
|
||||
def register_functions_ns3_Config(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_internal(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_olsr(module, root_module):
|
||||
return
|
||||
|
||||
@@ -24,12 +24,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -60,10 +72,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -238,7 +258,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -253,9 +275,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -22,12 +22,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -58,10 +70,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -171,7 +191,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -186,9 +208,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -5,10 +5,18 @@ def register_types(module):
|
||||
|
||||
## histogram.h: ns3::Histogram [class]
|
||||
module.add_class('Histogram')
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::FlowClassifier, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::FlowClassifier', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::FlowProbe, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::FlowProbe', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
## flow-classifier.h: ns3::FlowClassifier [class]
|
||||
module.add_class('FlowClassifier', parent=root_module['ns3::RefCountBase'])
|
||||
module.add_class('FlowClassifier', parent=root_module['ns3::SimpleRefCount< ns3::FlowClassifier, ns3::empty >'])
|
||||
## flow-monitor.h: ns3::FlowMonitor [class]
|
||||
module.add_class('FlowMonitor', parent=root_module['ns3::Object'])
|
||||
## flow-monitor.h: ns3::FlowMonitor::FlowStats [struct]
|
||||
module.add_class('FlowStats', outer_class=root_module['ns3::FlowMonitor'])
|
||||
## flow-probe.h: ns3::FlowProbe [class]
|
||||
module.add_class('FlowProbe', parent=root_module['ns3::RefCountBase'])
|
||||
module.add_class('FlowProbe', parent=root_module['ns3::SimpleRefCount< ns3::FlowProbe, ns3::empty >'])
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats [struct]
|
||||
module.add_class('FlowStats', outer_class=root_module['ns3::FlowProbe'])
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier [class]
|
||||
@@ -19,12 +27,8 @@ def register_types(module):
|
||||
module.add_class('Ipv4FlowProbe', parent=root_module['ns3::FlowProbe'])
|
||||
## ipv4-flow-probe.h: ns3::Ipv4FlowProbe::DropReason [enumeration]
|
||||
module.add_enum('DropReason', ['DROP_NO_ROUTE', 'DROP_TTL_EXPIRE', 'DROP_BAD_CHECKSUM', 'DROP_INVALID_REASON'], outer_class=root_module['ns3::Ipv4FlowProbe'])
|
||||
## flow-monitor.h: ns3::FlowMonitor [class]
|
||||
module.add_class('FlowMonitor', parent=root_module['ns3::Object'])
|
||||
## flow-monitor.h: ns3::FlowMonitor::FlowStats [struct]
|
||||
module.add_class('FlowStats', outer_class=root_module['ns3::FlowMonitor'])
|
||||
module.add_container('std::map< unsigned int, ns3::FlowProbe::FlowStats >', ('unsigned int', 'ns3::FlowProbe::FlowStats'), container_type='map')
|
||||
module.add_container('std::map< unsigned int, ns3::FlowMonitor::FlowStats >', ('unsigned int', 'ns3::FlowMonitor::FlowStats'), container_type='map')
|
||||
module.add_container('std::map< unsigned int, ns3::FlowProbe::FlowStats >', ('unsigned int', 'ns3::FlowProbe::FlowStats'), container_type='map')
|
||||
typehandlers.add_type_alias('uint32_t', 'ns3::FlowPacketId')
|
||||
typehandlers.add_type_alias('uint32_t*', 'ns3::FlowPacketId*')
|
||||
typehandlers.add_type_alias('uint32_t&', 'ns3::FlowPacketId&')
|
||||
@@ -50,12 +54,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -86,10 +102,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -105,13 +129,13 @@ def register_types_ns3_olsr(module):
|
||||
def register_methods(root_module):
|
||||
register_Ns3Histogram_methods(root_module, root_module['ns3::Histogram'])
|
||||
register_Ns3FlowClassifier_methods(root_module, root_module['ns3::FlowClassifier'])
|
||||
register_Ns3FlowMonitor_methods(root_module, root_module['ns3::FlowMonitor'])
|
||||
register_Ns3FlowMonitorFlowStats_methods(root_module, root_module['ns3::FlowMonitor::FlowStats'])
|
||||
register_Ns3FlowProbe_methods(root_module, root_module['ns3::FlowProbe'])
|
||||
register_Ns3FlowProbeFlowStats_methods(root_module, root_module['ns3::FlowProbe::FlowStats'])
|
||||
register_Ns3Ipv4FlowClassifier_methods(root_module, root_module['ns3::Ipv4FlowClassifier'])
|
||||
register_Ns3Ipv4FlowClassifierFiveTuple_methods(root_module, root_module['ns3::Ipv4FlowClassifier::FiveTuple'])
|
||||
register_Ns3Ipv4FlowProbe_methods(root_module, root_module['ns3::Ipv4FlowProbe'])
|
||||
register_Ns3FlowMonitor_methods(root_module, root_module['ns3::FlowMonitor'])
|
||||
register_Ns3FlowMonitorFlowStats_methods(root_module, root_module['ns3::FlowMonitor::FlowStats'])
|
||||
return
|
||||
|
||||
def register_Ns3Histogram_methods(root_module, cls):
|
||||
@@ -175,96 +199,6 @@ def register_Ns3FlowClassifier_methods(root_module, cls):
|
||||
visibility='protected')
|
||||
return
|
||||
|
||||
def register_Ns3FlowProbe_methods(root_module, cls):
|
||||
## flow-probe.h: ns3::FlowProbe::FlowProbe(ns3::FlowProbe const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::FlowProbe const &', 'arg0')])
|
||||
## flow-probe.h: void ns3::FlowProbe::AddPacketDropStats(ns3::FlowId flowId, uint32_t packetSize, uint32_t reasonCode) [member function]
|
||||
cls.add_method('AddPacketDropStats',
|
||||
'void',
|
||||
[param('ns3::FlowId', 'flowId'), param('uint32_t', 'packetSize'), param('uint32_t', 'reasonCode')])
|
||||
## flow-probe.h: void ns3::FlowProbe::AddPacketStats(ns3::FlowId flowId, uint32_t packetSize, ns3::Time delayFromFirstProbe) [member function]
|
||||
cls.add_method('AddPacketStats',
|
||||
'void',
|
||||
[param('ns3::FlowId', 'flowId'), param('uint32_t', 'packetSize'), param('ns3::Time', 'delayFromFirstProbe')])
|
||||
## flow-probe.h: std::map<unsigned int, ns3::FlowProbe::FlowStats, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, ns3::FlowProbe::FlowStats> > > ns3::FlowProbe::GetStats() const [member function]
|
||||
cls.add_method('GetStats',
|
||||
'std::map< unsigned int, ns3::FlowProbe::FlowStats >',
|
||||
[],
|
||||
is_const=True)
|
||||
## flow-probe.h: void ns3::FlowProbe::SerializeToXmlStream(std::ostream & os, int indent, uint32_t index) const [member function]
|
||||
cls.add_method('SerializeToXmlStream',
|
||||
'void',
|
||||
[param('std::ostream &', 'os'), param('int', 'indent'), param('uint32_t', 'index')],
|
||||
is_const=True)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowProbe(ns3::Ptr<ns3::FlowMonitor> flowMonitor) [constructor]
|
||||
cls.add_constructor([param('ns3::Ptr< ns3::FlowMonitor >', 'flowMonitor')],
|
||||
visibility='protected')
|
||||
return
|
||||
|
||||
def register_Ns3FlowProbeFlowStats_methods(root_module, cls):
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::FlowStats(ns3::FlowProbe::FlowStats const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::FlowProbe::FlowStats const &', 'arg0')])
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::FlowStats() [constructor]
|
||||
cls.add_constructor([])
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::bytes [variable]
|
||||
cls.add_instance_attribute('bytes', 'uint64_t', is_const=False)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::bytesDropped [variable]
|
||||
cls.add_instance_attribute('bytesDropped', 'std::vector< unsigned long long >', is_const=False)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::delayFromFirstProbeSum [variable]
|
||||
cls.add_instance_attribute('delayFromFirstProbeSum', 'ns3::Time', is_const=False)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::packets [variable]
|
||||
cls.add_instance_attribute('packets', 'uint32_t', is_const=False)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::packetsDropped [variable]
|
||||
cls.add_instance_attribute('packetsDropped', 'std::vector< unsigned int >', is_const=False)
|
||||
return
|
||||
|
||||
def register_Ns3Ipv4FlowClassifier_methods(root_module, cls):
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::Ipv4FlowClassifier(ns3::Ipv4FlowClassifier const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Ipv4FlowClassifier const &', 'arg0')])
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::Ipv4FlowClassifier() [constructor]
|
||||
cls.add_constructor([])
|
||||
## ipv4-flow-classifier.h: bool ns3::Ipv4FlowClassifier::Classify(ns3::Ipv4Header const & ipHeader, ns3::Ptr<ns3::Packet const> ipPayload, uint32_t * out_flowId, uint32_t * out_packetId) [member function]
|
||||
cls.add_method('Classify',
|
||||
'bool',
|
||||
[param('ns3::Ipv4Header const &', 'ipHeader'), param('ns3::Ptr< ns3::Packet const >', 'ipPayload'), param('uint32_t *', 'out_flowId'), param('uint32_t *', 'out_packetId')])
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple ns3::Ipv4FlowClassifier::FindFlow(ns3::FlowId flowId) const [member function]
|
||||
cls.add_method('FindFlow',
|
||||
'ns3::Ipv4FlowClassifier::FiveTuple',
|
||||
[param('ns3::FlowId', 'flowId')],
|
||||
is_const=True)
|
||||
## ipv4-flow-classifier.h: void ns3::Ipv4FlowClassifier::SerializeToXmlStream(std::ostream & os, int indent) const [member function]
|
||||
cls.add_method('SerializeToXmlStream',
|
||||
'void',
|
||||
[param('std::ostream &', 'os'), param('int', 'indent')],
|
||||
is_const=True, is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3Ipv4FlowClassifierFiveTuple_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('<')
|
||||
cls.add_binary_comparison_operator('==')
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::FiveTuple() [constructor]
|
||||
cls.add_constructor([])
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::FiveTuple(ns3::Ipv4FlowClassifier::FiveTuple const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Ipv4FlowClassifier::FiveTuple const &', 'arg0')])
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::destinationAddress [variable]
|
||||
cls.add_instance_attribute('destinationAddress', 'ns3::Ipv4Address', is_const=False)
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::destinationPort [variable]
|
||||
cls.add_instance_attribute('destinationPort', 'uint16_t', is_const=False)
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::protocol [variable]
|
||||
cls.add_instance_attribute('protocol', 'uint8_t', is_const=False)
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::sourceAddress [variable]
|
||||
cls.add_instance_attribute('sourceAddress', 'ns3::Ipv4Address', is_const=False)
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::sourcePort [variable]
|
||||
cls.add_instance_attribute('sourcePort', 'uint16_t', is_const=False)
|
||||
return
|
||||
|
||||
def register_Ns3Ipv4FlowProbe_methods(root_module, cls):
|
||||
## ipv4-flow-probe.h: ns3::Ipv4FlowProbe::Ipv4FlowProbe(ns3::Ipv4FlowProbe const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Ipv4FlowProbe const &', 'arg0')])
|
||||
## ipv4-flow-probe.h: ns3::Ipv4FlowProbe::Ipv4FlowProbe(ns3::Ptr<ns3::FlowMonitor> monitor, ns3::Ptr<ns3::Ipv4FlowClassifier> classifier, ns3::Ptr<ns3::Node> node) [constructor]
|
||||
cls.add_constructor([param('ns3::Ptr< ns3::FlowMonitor >', 'monitor'), param('ns3::Ptr< ns3::Ipv4FlowClassifier >', 'classifier'), param('ns3::Ptr< ns3::Node >', 'node')])
|
||||
return
|
||||
|
||||
def register_Ns3FlowMonitor_methods(root_module, cls):
|
||||
## flow-monitor.h: ns3::FlowMonitor::FlowMonitor(ns3::FlowMonitor const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::FlowMonitor const &', 'arg0')])
|
||||
@@ -400,12 +334,104 @@ def register_Ns3FlowMonitorFlowStats_methods(root_module, cls):
|
||||
cls.add_instance_attribute('txPackets', 'uint32_t', is_const=False)
|
||||
return
|
||||
|
||||
def register_Ns3FlowProbe_methods(root_module, cls):
|
||||
## flow-probe.h: ns3::FlowProbe::FlowProbe(ns3::FlowProbe const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::FlowProbe const &', 'arg0')])
|
||||
## flow-probe.h: void ns3::FlowProbe::AddPacketDropStats(ns3::FlowId flowId, uint32_t packetSize, uint32_t reasonCode) [member function]
|
||||
cls.add_method('AddPacketDropStats',
|
||||
'void',
|
||||
[param('ns3::FlowId', 'flowId'), param('uint32_t', 'packetSize'), param('uint32_t', 'reasonCode')])
|
||||
## flow-probe.h: void ns3::FlowProbe::AddPacketStats(ns3::FlowId flowId, uint32_t packetSize, ns3::Time delayFromFirstProbe) [member function]
|
||||
cls.add_method('AddPacketStats',
|
||||
'void',
|
||||
[param('ns3::FlowId', 'flowId'), param('uint32_t', 'packetSize'), param('ns3::Time', 'delayFromFirstProbe')])
|
||||
## flow-probe.h: std::map<unsigned int, ns3::FlowProbe::FlowStats, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, ns3::FlowProbe::FlowStats> > > ns3::FlowProbe::GetStats() const [member function]
|
||||
cls.add_method('GetStats',
|
||||
'std::map< unsigned int, ns3::FlowProbe::FlowStats >',
|
||||
[],
|
||||
is_const=True)
|
||||
## flow-probe.h: void ns3::FlowProbe::SerializeToXmlStream(std::ostream & os, int indent, uint32_t index) const [member function]
|
||||
cls.add_method('SerializeToXmlStream',
|
||||
'void',
|
||||
[param('std::ostream &', 'os'), param('int', 'indent'), param('uint32_t', 'index')],
|
||||
is_const=True)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowProbe(ns3::Ptr<ns3::FlowMonitor> flowMonitor) [constructor]
|
||||
cls.add_constructor([param('ns3::Ptr< ns3::FlowMonitor >', 'flowMonitor')],
|
||||
visibility='protected')
|
||||
return
|
||||
|
||||
def register_Ns3FlowProbeFlowStats_methods(root_module, cls):
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::FlowStats(ns3::FlowProbe::FlowStats const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::FlowProbe::FlowStats const &', 'arg0')])
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::FlowStats() [constructor]
|
||||
cls.add_constructor([])
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::bytes [variable]
|
||||
cls.add_instance_attribute('bytes', 'uint64_t', is_const=False)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::bytesDropped [variable]
|
||||
cls.add_instance_attribute('bytesDropped', 'std::vector< unsigned long long >', is_const=False)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::delayFromFirstProbeSum [variable]
|
||||
cls.add_instance_attribute('delayFromFirstProbeSum', 'ns3::Time', is_const=False)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::packets [variable]
|
||||
cls.add_instance_attribute('packets', 'uint32_t', is_const=False)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::packetsDropped [variable]
|
||||
cls.add_instance_attribute('packetsDropped', 'std::vector< unsigned int >', is_const=False)
|
||||
return
|
||||
|
||||
def register_Ns3Ipv4FlowClassifier_methods(root_module, cls):
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::Ipv4FlowClassifier(ns3::Ipv4FlowClassifier const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Ipv4FlowClassifier const &', 'arg0')])
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::Ipv4FlowClassifier() [constructor]
|
||||
cls.add_constructor([])
|
||||
## ipv4-flow-classifier.h: bool ns3::Ipv4FlowClassifier::Classify(ns3::Ipv4Header const & ipHeader, ns3::Ptr<ns3::Packet const> ipPayload, uint32_t * out_flowId, uint32_t * out_packetId) [member function]
|
||||
cls.add_method('Classify',
|
||||
'bool',
|
||||
[param('ns3::Ipv4Header const &', 'ipHeader'), param('ns3::Ptr< ns3::Packet const >', 'ipPayload'), param('uint32_t *', 'out_flowId'), param('uint32_t *', 'out_packetId')])
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple ns3::Ipv4FlowClassifier::FindFlow(ns3::FlowId flowId) const [member function]
|
||||
cls.add_method('FindFlow',
|
||||
'ns3::Ipv4FlowClassifier::FiveTuple',
|
||||
[param('ns3::FlowId', 'flowId')],
|
||||
is_const=True)
|
||||
## ipv4-flow-classifier.h: void ns3::Ipv4FlowClassifier::SerializeToXmlStream(std::ostream & os, int indent) const [member function]
|
||||
cls.add_method('SerializeToXmlStream',
|
||||
'void',
|
||||
[param('std::ostream &', 'os'), param('int', 'indent')],
|
||||
is_const=True, is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3Ipv4FlowClassifierFiveTuple_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('<')
|
||||
cls.add_binary_comparison_operator('==')
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::FiveTuple() [constructor]
|
||||
cls.add_constructor([])
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::FiveTuple(ns3::Ipv4FlowClassifier::FiveTuple const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Ipv4FlowClassifier::FiveTuple const &', 'arg0')])
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::destinationAddress [variable]
|
||||
cls.add_instance_attribute('destinationAddress', 'ns3::Ipv4Address', is_const=False)
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::destinationPort [variable]
|
||||
cls.add_instance_attribute('destinationPort', 'uint16_t', is_const=False)
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::protocol [variable]
|
||||
cls.add_instance_attribute('protocol', 'uint8_t', is_const=False)
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::sourceAddress [variable]
|
||||
cls.add_instance_attribute('sourceAddress', 'ns3::Ipv4Address', is_const=False)
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::sourcePort [variable]
|
||||
cls.add_instance_attribute('sourcePort', 'uint16_t', is_const=False)
|
||||
return
|
||||
|
||||
def register_Ns3Ipv4FlowProbe_methods(root_module, cls):
|
||||
## ipv4-flow-probe.h: ns3::Ipv4FlowProbe::Ipv4FlowProbe(ns3::Ipv4FlowProbe const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Ipv4FlowProbe const &', 'arg0')])
|
||||
## ipv4-flow-probe.h: ns3::Ipv4FlowProbe::Ipv4FlowProbe(ns3::Ptr<ns3::FlowMonitor> monitor, ns3::Ptr<ns3::Ipv4FlowClassifier> classifier, ns3::Ptr<ns3::Node> node) [constructor]
|
||||
cls.add_constructor([param('ns3::Ptr< ns3::FlowMonitor >', 'monitor'), param('ns3::Ptr< ns3::Ipv4FlowClassifier >', 'classifier'), param('ns3::Ptr< ns3::Node >', 'node')])
|
||||
return
|
||||
|
||||
def register_functions(root_module):
|
||||
module = root_module
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -420,9 +446,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -38,12 +38,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -74,10 +86,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -410,7 +430,7 @@ def register_Ns3Ipv4GlobalRouting_methods(root_module, cls):
|
||||
cls.add_method('RemoveRoute',
|
||||
'void',
|
||||
[param('uint32_t', 'i')])
|
||||
## ipv4-global-routing.h: bool ns3::Ipv4GlobalRouting::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]
|
||||
## ipv4-global-routing.h: bool ns3::Ipv4GlobalRouting::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<ns3::Packet const>, ns3::Ipv4Header const&, 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<ns3::Packet const>, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function]
|
||||
cls.add_method('RouteInput',
|
||||
'bool',
|
||||
[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')],
|
||||
@@ -437,7 +457,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -452,9 +474,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -77,6 +77,8 @@ def register_types(module):
|
||||
module.add_class('YansWifiPhyHelper', allow_subclassing=False, parent=root_module['ns3::WifiPhyHelper'])
|
||||
## yans-wifi-helper.h: ns3::YansWifiPhyHelper::PcapFormat [enumeration]
|
||||
module.add_enum('PcapFormat', ['PCAP_FORMAT_80211', 'PCAP_FORMAT_80211_PRISM', 'PCAP_FORMAT_80211_RADIOTAP'], outer_class=root_module['ns3::YansWifiPhyHelper'])
|
||||
## aodv-helper.h: ns3::AodvHelper [class]
|
||||
module.add_class('AodvHelper', allow_subclassing=False, parent=root_module['ns3::Ipv4RoutingHelper'])
|
||||
## ipv4-global-routing-helper.h: ns3::Ipv4GlobalRoutingHelper [class]
|
||||
module.add_class('Ipv4GlobalRoutingHelper', allow_subclassing=False, parent=root_module['ns3::Ipv4RoutingHelper'])
|
||||
## ipv4-list-routing-helper.h: ns3::Ipv4ListRoutingHelper [class]
|
||||
@@ -116,12 +118,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -152,10 +166,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -204,6 +226,7 @@ def register_methods(root_module):
|
||||
register_Ns3WifiPhyHelper_methods(root_module, root_module['ns3::WifiPhyHelper'])
|
||||
register_Ns3YansWifiChannelHelper_methods(root_module, root_module['ns3::YansWifiChannelHelper'])
|
||||
register_Ns3YansWifiPhyHelper_methods(root_module, root_module['ns3::YansWifiPhyHelper'])
|
||||
register_Ns3AodvHelper_methods(root_module, root_module['ns3::AodvHelper'])
|
||||
register_Ns3Ipv4GlobalRoutingHelper_methods(root_module, root_module['ns3::Ipv4GlobalRoutingHelper'])
|
||||
register_Ns3Ipv4ListRoutingHelper_methods(root_module, root_module['ns3::Ipv4ListRoutingHelper'])
|
||||
register_Ns3Ipv4NixVectorHelper_methods(root_module, root_module['ns3::Ipv4NixVectorHelper'])
|
||||
@@ -1446,6 +1469,10 @@ def register_Ns3V4PingHelper_methods(root_module, cls):
|
||||
'ns3::ApplicationContainer',
|
||||
[param('std::string', 'nodeName')],
|
||||
is_const=True)
|
||||
## v4ping-helper.h: void ns3::V4PingHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
|
||||
cls.add_method('SetAttribute',
|
||||
'void',
|
||||
[param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3WifiHelper_methods(root_module, cls):
|
||||
@@ -1618,6 +1645,27 @@ def register_Ns3YansWifiPhyHelper_methods(root_module, cls):
|
||||
is_const=True, visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3AodvHelper_methods(root_module, cls):
|
||||
## aodv-helper.h: ns3::AodvHelper::AodvHelper(ns3::AodvHelper const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::AodvHelper const &', 'arg0')])
|
||||
## aodv-helper.h: ns3::AodvHelper::AodvHelper() [constructor]
|
||||
cls.add_constructor([])
|
||||
## aodv-helper.h: ns3::AodvHelper * ns3::AodvHelper::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::AodvHelper *',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## aodv-helper.h: ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::AodvHelper::Create(ns3::Ptr<ns3::Node> node) const [member function]
|
||||
cls.add_method('Create',
|
||||
'ns3::Ptr< ns3::Ipv4RoutingProtocol >',
|
||||
[param('ns3::Ptr< ns3::Node >', 'node')],
|
||||
is_const=True, is_virtual=True)
|
||||
## aodv-helper.h: void ns3::AodvHelper::Set(std::string name, ns3::AttributeValue const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3Ipv4GlobalRoutingHelper_methods(root_module, cls):
|
||||
## ipv4-global-routing-helper.h: ns3::Ipv4GlobalRoutingHelper::Ipv4GlobalRoutingHelper() [constructor]
|
||||
cls.add_constructor([])
|
||||
@@ -1897,7 +1945,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -1912,9 +1962,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -71,6 +71,8 @@ def register_types(module):
|
||||
module.add_class('Icmpv6DestinationUnreachable', parent=root_module['ns3::Icmpv6Header'])
|
||||
## icmpv6-header.h: ns3::Icmpv6Echo [class]
|
||||
module.add_class('Icmpv6Echo', parent=root_module['ns3::Icmpv6Header'])
|
||||
## ipv4-interface.h: ns3::Ipv4Interface [class]
|
||||
module.add_class('Ipv4Interface', parent=root_module['ns3::Object'])
|
||||
## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol [class]
|
||||
module.add_class('Ipv4L3Protocol', parent=root_module['ns3::Ipv4'])
|
||||
## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol::DropReason [enumeration]
|
||||
@@ -118,12 +120,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -154,10 +168,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -196,6 +218,7 @@ def register_methods(root_module):
|
||||
register_Ns3ArpL3Protocol_methods(root_module, root_module['ns3::ArpL3Protocol'])
|
||||
register_Ns3Icmpv6DestinationUnreachable_methods(root_module, root_module['ns3::Icmpv6DestinationUnreachable'])
|
||||
register_Ns3Icmpv6Echo_methods(root_module, root_module['ns3::Icmpv6Echo'])
|
||||
register_Ns3Ipv4Interface_methods(root_module, root_module['ns3::Ipv4Interface'])
|
||||
register_Ns3Ipv4L3Protocol_methods(root_module, root_module['ns3::Ipv4L3Protocol'])
|
||||
register_Ns3Ipv4L4Protocol_methods(root_module, root_module['ns3::Ipv4L4Protocol'])
|
||||
register_Ns3Ipv6L3Protocol_methods(root_module, root_module['ns3::Ipv6L3Protocol'])
|
||||
@@ -1816,6 +1839,103 @@ def register_Ns3Icmpv6Echo_methods(root_module, cls):
|
||||
[param('uint16_t', 'seq')])
|
||||
return
|
||||
|
||||
def register_Ns3Ipv4Interface_methods(root_module, cls):
|
||||
## ipv4-interface.h: ns3::Ipv4Interface::Ipv4Interface(ns3::Ipv4Interface const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Ipv4Interface const &', 'arg0')])
|
||||
## ipv4-interface.h: ns3::Ipv4Interface::Ipv4Interface() [constructor]
|
||||
cls.add_constructor([])
|
||||
## ipv4-interface.h: bool ns3::Ipv4Interface::AddAddress(ns3::Ipv4InterfaceAddress address) [member function]
|
||||
cls.add_method('AddAddress',
|
||||
'bool',
|
||||
[param('ns3::Ipv4InterfaceAddress', 'address')])
|
||||
## ipv4-interface.h: ns3::Ipv4InterfaceAddress ns3::Ipv4Interface::GetAddress(uint32_t index) const [member function]
|
||||
cls.add_method('GetAddress',
|
||||
'ns3::Ipv4InterfaceAddress',
|
||||
[param('uint32_t', 'index')],
|
||||
is_const=True)
|
||||
## ipv4-interface.h: ns3::Ptr<ns3::ArpCache> ns3::Ipv4Interface::GetArpCache() const [member function]
|
||||
cls.add_method('GetArpCache',
|
||||
'ns3::Ptr< ns3::ArpCache >',
|
||||
[],
|
||||
is_const=True)
|
||||
## ipv4-interface.h: ns3::Ptr<ns3::NetDevice> ns3::Ipv4Interface::GetDevice() const [member function]
|
||||
cls.add_method('GetDevice',
|
||||
'ns3::Ptr< ns3::NetDevice >',
|
||||
[],
|
||||
is_const=True)
|
||||
## ipv4-interface.h: uint16_t ns3::Ipv4Interface::GetMetric() const [member function]
|
||||
cls.add_method('GetMetric',
|
||||
'uint16_t',
|
||||
[],
|
||||
is_const=True)
|
||||
## ipv4-interface.h: uint32_t ns3::Ipv4Interface::GetNAddresses() const [member function]
|
||||
cls.add_method('GetNAddresses',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True)
|
||||
## ipv4-interface.h: static ns3::TypeId ns3::Ipv4Interface::GetTypeId() [member function]
|
||||
cls.add_method('GetTypeId',
|
||||
'ns3::TypeId',
|
||||
[],
|
||||
is_static=True)
|
||||
## ipv4-interface.h: bool ns3::Ipv4Interface::IsDown() const [member function]
|
||||
cls.add_method('IsDown',
|
||||
'bool',
|
||||
[],
|
||||
is_const=True)
|
||||
## ipv4-interface.h: bool ns3::Ipv4Interface::IsForwarding() const [member function]
|
||||
cls.add_method('IsForwarding',
|
||||
'bool',
|
||||
[],
|
||||
is_const=True)
|
||||
## ipv4-interface.h: bool ns3::Ipv4Interface::IsUp() const [member function]
|
||||
cls.add_method('IsUp',
|
||||
'bool',
|
||||
[],
|
||||
is_const=True)
|
||||
## ipv4-interface.h: ns3::Ipv4InterfaceAddress ns3::Ipv4Interface::RemoveAddress(uint32_t index) [member function]
|
||||
cls.add_method('RemoveAddress',
|
||||
'ns3::Ipv4InterfaceAddress',
|
||||
[param('uint32_t', 'index')])
|
||||
## ipv4-interface.h: void ns3::Ipv4Interface::Send(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Address dest) [member function]
|
||||
cls.add_method('Send',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Address', 'dest')])
|
||||
## ipv4-interface.h: void ns3::Ipv4Interface::SetArpCache(ns3::Ptr<ns3::ArpCache> arg0) [member function]
|
||||
cls.add_method('SetArpCache',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::ArpCache >', 'arg0')])
|
||||
## ipv4-interface.h: void ns3::Ipv4Interface::SetDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
|
||||
cls.add_method('SetDevice',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::NetDevice >', 'device')])
|
||||
## ipv4-interface.h: void ns3::Ipv4Interface::SetDown() [member function]
|
||||
cls.add_method('SetDown',
|
||||
'void',
|
||||
[])
|
||||
## ipv4-interface.h: void ns3::Ipv4Interface::SetForwarding(bool val) [member function]
|
||||
cls.add_method('SetForwarding',
|
||||
'void',
|
||||
[param('bool', 'val')])
|
||||
## ipv4-interface.h: void ns3::Ipv4Interface::SetMetric(uint16_t metric) [member function]
|
||||
cls.add_method('SetMetric',
|
||||
'void',
|
||||
[param('uint16_t', 'metric')])
|
||||
## ipv4-interface.h: void ns3::Ipv4Interface::SetNode(ns3::Ptr<ns3::Node> node) [member function]
|
||||
cls.add_method('SetNode',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Node >', 'node')])
|
||||
## ipv4-interface.h: void ns3::Ipv4Interface::SetUp() [member function]
|
||||
cls.add_method('SetUp',
|
||||
'void',
|
||||
[])
|
||||
## ipv4-interface.h: void ns3::Ipv4Interface::DoDispose() [member function]
|
||||
cls.add_method('DoDispose',
|
||||
'void',
|
||||
[],
|
||||
visibility='protected', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3Ipv4L3Protocol_methods(root_module, cls):
|
||||
## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol::PROT_NUMBER [variable]
|
||||
cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
|
||||
@@ -2825,7 +2945,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -2840,9 +2962,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -26,12 +26,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -62,10 +74,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -128,7 +148,7 @@ def register_Ns3Ipv4ListRouting_methods(root_module, cls):
|
||||
'void',
|
||||
[param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')],
|
||||
is_virtual=True)
|
||||
## ipv4-list-routing.h: bool ns3::Ipv4ListRouting::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]
|
||||
## ipv4-list-routing.h: bool ns3::Ipv4ListRouting::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<ns3::Packet const>, ns3::Ipv4Header const&, 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<ns3::Packet const>, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function]
|
||||
cls.add_method('RouteInput',
|
||||
'bool',
|
||||
[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')],
|
||||
@@ -148,6 +168,11 @@ def register_Ns3Ipv4ListRouting_methods(root_module, cls):
|
||||
'void',
|
||||
[],
|
||||
visibility='protected', is_virtual=True)
|
||||
## ipv4-list-routing.h: void ns3::Ipv4ListRouting::DoStart() [member function]
|
||||
cls.add_method('DoStart',
|
||||
'void',
|
||||
[],
|
||||
visibility='protected', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3Ipv6ListRouting_methods(root_module, cls):
|
||||
@@ -232,7 +257,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -247,9 +274,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -7,16 +7,20 @@ def register_types(module):
|
||||
module.add_enum('WifiElementId', ['IE11S_MESH_CONFIGURATION', 'IE11S_MESH_ID', 'IE11S_LINK_METRIC_REPORT', 'IE11S_CONGESTION_NOTIFICATION', 'IE11S_PEERING_MANAGEMENT', 'IE11S_SUPP_MBSS_REG_CLASSES_CHANNELS', 'IE11S_MESH_CHANNEL_SWITCH_ANNOUNCEMENT', 'IE11S_MESH_TIM', 'IE11S_AWAKE_WINDOW', 'IE11S_BEACON_TIMING', 'IE11S_MCCAOP_SETUP_REQUEST', 'IE11S_MCCAOP_SETUP_REPLY', 'IE11S_MCCAOP_ADVERTISEMENT', 'IE11S_MCCAOP_RESERVATION_TEARDOWN', 'IE11S_PORTAL_ANNOUNCEMENT', 'IE11S_RANN', 'IE11S_PREQ', 'IE11S_PREP', 'IE11S_PERR', 'IE11S_PROXY_UPDATE', 'IE11S_PROXY_UPDATE_CONFIRMATION', 'IE11S_ABBREVIATED_HANDSHAKE', 'IE11S_MESH_PEERING_PROTOCOL_VERSION'])
|
||||
## mesh-wifi-beacon.h: ns3::MeshWifiBeacon [class]
|
||||
module.add_class('MeshWifiBeacon')
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::MeshWifiInterfaceMacPlugin, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::MeshWifiInterfaceMacPlugin', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::WifiInformationElement, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::WifiInformationElement', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
## wifi-information-element-vector.h: ns3::WifiInformationElement [class]
|
||||
module.add_class('WifiInformationElement', parent=root_module['ns3::RefCountBase'])
|
||||
## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin [class]
|
||||
module.add_class('MeshWifiInterfaceMacPlugin', parent=root_module['ns3::RefCountBase'])
|
||||
module.add_class('WifiInformationElement', parent=root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty >'])
|
||||
## wifi-information-element-vector.h: ns3::WifiInformationElementVector [class]
|
||||
module.add_class('WifiInformationElementVector', parent=root_module['ns3::Header'])
|
||||
## mesh-l2-routing-protocol.h: ns3::MeshL2RoutingProtocol [class]
|
||||
module.add_class('MeshL2RoutingProtocol', parent=root_module['ns3::Object'])
|
||||
## mesh-wifi-interface-mac.h: ns3::MeshWifiInterfaceMac [class]
|
||||
module.add_class('MeshWifiInterfaceMac', parent=root_module['ns3::WifiMac'])
|
||||
## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin [class]
|
||||
module.add_class('MeshWifiInterfaceMacPlugin', parent=root_module['ns3::SimpleRefCount< ns3::MeshWifiInterfaceMacPlugin, ns3::empty >'])
|
||||
## mesh-point-device.h: ns3::MeshPointDevice [class]
|
||||
module.add_class('MeshPointDevice', parent=root_module['ns3::NetDevice'])
|
||||
|
||||
@@ -38,12 +42,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -74,10 +90,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -93,10 +117,10 @@ def register_types_ns3_olsr(module):
|
||||
def register_methods(root_module):
|
||||
register_Ns3MeshWifiBeacon_methods(root_module, root_module['ns3::MeshWifiBeacon'])
|
||||
register_Ns3WifiInformationElement_methods(root_module, root_module['ns3::WifiInformationElement'])
|
||||
register_Ns3MeshWifiInterfaceMacPlugin_methods(root_module, root_module['ns3::MeshWifiInterfaceMacPlugin'])
|
||||
register_Ns3WifiInformationElementVector_methods(root_module, root_module['ns3::WifiInformationElementVector'])
|
||||
register_Ns3MeshL2RoutingProtocol_methods(root_module, root_module['ns3::MeshL2RoutingProtocol'])
|
||||
register_Ns3MeshWifiInterfaceMac_methods(root_module, root_module['ns3::MeshWifiInterfaceMac'])
|
||||
register_Ns3MeshWifiInterfaceMacPlugin_methods(root_module, root_module['ns3::MeshWifiInterfaceMacPlugin'])
|
||||
register_Ns3MeshPointDevice_methods(root_module, root_module['ns3::MeshPointDevice'])
|
||||
return
|
||||
|
||||
@@ -163,33 +187,6 @@ def register_Ns3WifiInformationElement_methods(root_module, cls):
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3MeshWifiInterfaceMacPlugin_methods(root_module, cls):
|
||||
## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin::MeshWifiInterfaceMacPlugin() [constructor]
|
||||
cls.add_constructor([])
|
||||
## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin::MeshWifiInterfaceMacPlugin(ns3::MeshWifiInterfaceMacPlugin const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::MeshWifiInterfaceMacPlugin const &', 'arg0')])
|
||||
## mesh-wifi-interface-mac-plugin.h: bool ns3::MeshWifiInterfaceMacPlugin::Receive(ns3::Ptr<ns3::Packet> packet, ns3::WifiMacHeader const & header) [member function]
|
||||
cls.add_method('Receive',
|
||||
'bool',
|
||||
[param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const &', 'header')],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
## mesh-wifi-interface-mac-plugin.h: void ns3::MeshWifiInterfaceMacPlugin::SetParent(ns3::Ptr<ns3::MeshWifiInterfaceMac> parent) [member function]
|
||||
cls.add_method('SetParent',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::MeshWifiInterfaceMac >', 'parent')],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
## mesh-wifi-interface-mac-plugin.h: void ns3::MeshWifiInterfaceMacPlugin::UpdateBeacon(ns3::MeshWifiBeacon & beacon) const [member function]
|
||||
cls.add_method('UpdateBeacon',
|
||||
'void',
|
||||
[param('ns3::MeshWifiBeacon &', 'beacon')],
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
## mesh-wifi-interface-mac-plugin.h: bool ns3::MeshWifiInterfaceMacPlugin::UpdateOutcomingFrame(ns3::Ptr<ns3::Packet> packet, ns3::WifiMacHeader & header, ns3::Mac48Address from, ns3::Mac48Address to) [member function]
|
||||
cls.add_method('UpdateOutcomingFrame',
|
||||
'bool',
|
||||
[param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader &', 'header'), param('ns3::Mac48Address', 'from'), param('ns3::Mac48Address', 'to')],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3WifiInformationElementVector_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('==')
|
||||
## wifi-information-element-vector.h: ns3::WifiInformationElementVector::WifiInformationElementVector(ns3::WifiInformationElementVector const & arg0) [copy constructor]
|
||||
@@ -524,6 +521,33 @@ def register_Ns3MeshWifiInterfaceMac_methods(root_module, cls):
|
||||
visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3MeshWifiInterfaceMacPlugin_methods(root_module, cls):
|
||||
## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin::MeshWifiInterfaceMacPlugin() [constructor]
|
||||
cls.add_constructor([])
|
||||
## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin::MeshWifiInterfaceMacPlugin(ns3::MeshWifiInterfaceMacPlugin const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::MeshWifiInterfaceMacPlugin const &', 'arg0')])
|
||||
## mesh-wifi-interface-mac-plugin.h: bool ns3::MeshWifiInterfaceMacPlugin::Receive(ns3::Ptr<ns3::Packet> packet, ns3::WifiMacHeader const & header) [member function]
|
||||
cls.add_method('Receive',
|
||||
'bool',
|
||||
[param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const &', 'header')],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
## mesh-wifi-interface-mac-plugin.h: void ns3::MeshWifiInterfaceMacPlugin::SetParent(ns3::Ptr<ns3::MeshWifiInterfaceMac> parent) [member function]
|
||||
cls.add_method('SetParent',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::MeshWifiInterfaceMac >', 'parent')],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
## mesh-wifi-interface-mac-plugin.h: void ns3::MeshWifiInterfaceMacPlugin::UpdateBeacon(ns3::MeshWifiBeacon & beacon) const [member function]
|
||||
cls.add_method('UpdateBeacon',
|
||||
'void',
|
||||
[param('ns3::MeshWifiBeacon &', 'beacon')],
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
## mesh-wifi-interface-mac-plugin.h: bool ns3::MeshWifiInterfaceMacPlugin::UpdateOutcomingFrame(ns3::Ptr<ns3::Packet> packet, ns3::WifiMacHeader & header, ns3::Mac48Address from, ns3::Mac48Address to) [member function]
|
||||
cls.add_method('UpdateOutcomingFrame',
|
||||
'bool',
|
||||
[param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader &', 'header'), param('ns3::Mac48Address', 'from'), param('ns3::Mac48Address', 'to')],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3MeshPointDevice_methods(root_module, cls):
|
||||
## mesh-point-device.h: ns3::MeshPointDevice::MeshPointDevice(ns3::MeshPointDevice const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::MeshPointDevice const &', 'arg0')])
|
||||
@@ -703,7 +727,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -718,9 +744,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -17,14 +17,8 @@ def register_types(module):
|
||||
module.add_class('RandomDiscPositionAllocator', parent=root_module['ns3::PositionAllocator'])
|
||||
## position-allocator.h: ns3::RandomRectanglePositionAllocator [class]
|
||||
module.add_class('RandomRectanglePositionAllocator', parent=root_module['ns3::PositionAllocator'])
|
||||
## rectangle.h: ns3::RectangleChecker [class]
|
||||
module.add_class('RectangleChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## rectangle.h: ns3::RectangleValue [class]
|
||||
module.add_class('RectangleValue', parent=root_module['ns3::AttributeValue'])
|
||||
## waypoint.h: ns3::WaypointChecker [class]
|
||||
module.add_class('WaypointChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## waypoint.h: ns3::WaypointValue [class]
|
||||
module.add_class('WaypointValue', parent=root_module['ns3::AttributeValue'])
|
||||
## position-allocator.h: ns3::UniformDiscPositionAllocator [class]
|
||||
module.add_class('UniformDiscPositionAllocator', parent=root_module['ns3::PositionAllocator'])
|
||||
## position-allocator.h: ns3::GridPositionAllocator [class]
|
||||
module.add_class('GridPositionAllocator', parent=root_module['ns3::PositionAllocator'])
|
||||
## position-allocator.h: ns3::GridPositionAllocator::LayoutType [enumeration]
|
||||
@@ -41,8 +35,16 @@ def register_types(module):
|
||||
module.add_enum('Mode', ['MODE_DISTANCE', 'MODE_TIME'], outer_class=root_module['ns3::RandomWalk2dMobilityModel'])
|
||||
## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel [class]
|
||||
module.add_class('RandomWaypointMobilityModel', parent=root_module['ns3::MobilityModel'])
|
||||
## rectangle.h: ns3::RectangleChecker [class]
|
||||
module.add_class('RectangleChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## rectangle.h: ns3::RectangleValue [class]
|
||||
module.add_class('RectangleValue', parent=root_module['ns3::AttributeValue'])
|
||||
## waypoint.h: ns3::WaypointChecker [class]
|
||||
module.add_class('WaypointChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## waypoint-mobility-model.h: ns3::WaypointMobilityModel [class]
|
||||
module.add_class('WaypointMobilityModel', parent=root_module['ns3::MobilityModel'])
|
||||
## waypoint.h: ns3::WaypointValue [class]
|
||||
module.add_class('WaypointValue', parent=root_module['ns3::AttributeValue'])
|
||||
## constant-acceleration-mobility-model.h: ns3::ConstantAccelerationMobilityModel [class]
|
||||
module.add_class('ConstantAccelerationMobilityModel', parent=root_module['ns3::MobilityModel'])
|
||||
## constant-position-mobility-model.h: ns3::ConstantPositionMobilityModel [class]
|
||||
@@ -70,12 +72,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -106,10 +120,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -129,17 +151,18 @@ def register_methods(root_module):
|
||||
register_Ns3PositionAllocator_methods(root_module, root_module['ns3::PositionAllocator'])
|
||||
register_Ns3RandomDiscPositionAllocator_methods(root_module, root_module['ns3::RandomDiscPositionAllocator'])
|
||||
register_Ns3RandomRectanglePositionAllocator_methods(root_module, root_module['ns3::RandomRectanglePositionAllocator'])
|
||||
register_Ns3RectangleChecker_methods(root_module, root_module['ns3::RectangleChecker'])
|
||||
register_Ns3RectangleValue_methods(root_module, root_module['ns3::RectangleValue'])
|
||||
register_Ns3WaypointChecker_methods(root_module, root_module['ns3::WaypointChecker'])
|
||||
register_Ns3WaypointValue_methods(root_module, root_module['ns3::WaypointValue'])
|
||||
register_Ns3UniformDiscPositionAllocator_methods(root_module, root_module['ns3::UniformDiscPositionAllocator'])
|
||||
register_Ns3GridPositionAllocator_methods(root_module, root_module['ns3::GridPositionAllocator'])
|
||||
register_Ns3ListPositionAllocator_methods(root_module, root_module['ns3::ListPositionAllocator'])
|
||||
register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel'])
|
||||
register_Ns3RandomDirection2dMobilityModel_methods(root_module, root_module['ns3::RandomDirection2dMobilityModel'])
|
||||
register_Ns3RandomWalk2dMobilityModel_methods(root_module, root_module['ns3::RandomWalk2dMobilityModel'])
|
||||
register_Ns3RandomWaypointMobilityModel_methods(root_module, root_module['ns3::RandomWaypointMobilityModel'])
|
||||
register_Ns3RectangleChecker_methods(root_module, root_module['ns3::RectangleChecker'])
|
||||
register_Ns3RectangleValue_methods(root_module, root_module['ns3::RectangleValue'])
|
||||
register_Ns3WaypointChecker_methods(root_module, root_module['ns3::WaypointChecker'])
|
||||
register_Ns3WaypointMobilityModel_methods(root_module, root_module['ns3::WaypointMobilityModel'])
|
||||
register_Ns3WaypointValue_methods(root_module, root_module['ns3::WaypointValue'])
|
||||
register_Ns3ConstantAccelerationMobilityModel_methods(root_module, root_module['ns3::ConstantAccelerationMobilityModel'])
|
||||
register_Ns3ConstantPositionMobilityModel_methods(root_module, root_module['ns3::ConstantPositionMobilityModel'])
|
||||
register_Ns3ConstantVelocityMobilityModel_methods(root_module, root_module['ns3::ConstantVelocityMobilityModel'])
|
||||
@@ -315,84 +338,33 @@ def register_Ns3RandomRectanglePositionAllocator_methods(root_module, cls):
|
||||
[param('ns3::RandomVariable', 'y')])
|
||||
return
|
||||
|
||||
def register_Ns3RectangleChecker_methods(root_module, cls):
|
||||
## rectangle.h: ns3::RectangleChecker::RectangleChecker() [constructor]
|
||||
def register_Ns3UniformDiscPositionAllocator_methods(root_module, cls):
|
||||
## position-allocator.h: ns3::UniformDiscPositionAllocator::UniformDiscPositionAllocator(ns3::UniformDiscPositionAllocator const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::UniformDiscPositionAllocator const &', 'arg0')])
|
||||
## position-allocator.h: ns3::UniformDiscPositionAllocator::UniformDiscPositionAllocator() [constructor]
|
||||
cls.add_constructor([])
|
||||
## rectangle.h: ns3::RectangleChecker::RectangleChecker(ns3::RectangleChecker const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RectangleChecker const &', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3RectangleValue_methods(root_module, cls):
|
||||
## rectangle.h: ns3::RectangleValue::RectangleValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## rectangle.h: ns3::RectangleValue::RectangleValue(ns3::RectangleValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RectangleValue const &', 'arg0')])
|
||||
## rectangle.h: ns3::RectangleValue::RectangleValue(ns3::Rectangle const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::Rectangle const &', 'value')])
|
||||
## rectangle.h: ns3::Ptr<ns3::AttributeValue> ns3::RectangleValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
## position-allocator.h: ns3::Vector ns3::UniformDiscPositionAllocator::GetNext() const [member function]
|
||||
cls.add_method('GetNext',
|
||||
'ns3::Vector',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## rectangle.h: bool ns3::RectangleValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## rectangle.h: ns3::Rectangle ns3::RectangleValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::Rectangle',
|
||||
## position-allocator.h: static ns3::TypeId ns3::UniformDiscPositionAllocator::GetTypeId() [member function]
|
||||
cls.add_method('GetTypeId',
|
||||
'ns3::TypeId',
|
||||
[],
|
||||
is_const=True)
|
||||
## rectangle.h: std::string ns3::RectangleValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## rectangle.h: void ns3::RectangleValue::Set(ns3::Rectangle const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
is_static=True)
|
||||
## position-allocator.h: void ns3::UniformDiscPositionAllocator::SetRho(double rho) [member function]
|
||||
cls.add_method('SetRho',
|
||||
'void',
|
||||
[param('ns3::Rectangle const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3WaypointChecker_methods(root_module, cls):
|
||||
## waypoint.h: ns3::WaypointChecker::WaypointChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## waypoint.h: ns3::WaypointChecker::WaypointChecker(ns3::WaypointChecker const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WaypointChecker const &', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3WaypointValue_methods(root_module, cls):
|
||||
## waypoint.h: ns3::WaypointValue::WaypointValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## waypoint.h: ns3::WaypointValue::WaypointValue(ns3::WaypointValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WaypointValue const &', 'arg0')])
|
||||
## waypoint.h: ns3::WaypointValue::WaypointValue(ns3::Waypoint const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::Waypoint const &', 'value')])
|
||||
## waypoint.h: ns3::Ptr<ns3::AttributeValue> ns3::WaypointValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## waypoint.h: bool ns3::WaypointValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## waypoint.h: ns3::Waypoint ns3::WaypointValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::Waypoint',
|
||||
[],
|
||||
is_const=True)
|
||||
## waypoint.h: std::string ns3::WaypointValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## waypoint.h: void ns3::WaypointValue::Set(ns3::Waypoint const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
[param('double', 'rho')])
|
||||
## position-allocator.h: void ns3::UniformDiscPositionAllocator::SetX(double x) [member function]
|
||||
cls.add_method('SetX',
|
||||
'void',
|
||||
[param('ns3::Waypoint const &', 'value')])
|
||||
[param('double', 'x')])
|
||||
## position-allocator.h: void ns3::UniformDiscPositionAllocator::SetY(double y) [member function]
|
||||
cls.add_method('SetY',
|
||||
'void',
|
||||
[param('double', 'y')])
|
||||
return
|
||||
|
||||
def register_Ns3GridPositionAllocator_methods(root_module, cls):
|
||||
@@ -539,10 +511,10 @@ def register_Ns3MobilityModel_methods(root_module, cls):
|
||||
return
|
||||
|
||||
def register_Ns3RandomDirection2dMobilityModel_methods(root_module, cls):
|
||||
## random-direction-2d-mobility-model.h: ns3::RandomDirection2dMobilityModel::RandomDirection2dMobilityModel(ns3::RandomDirection2dMobilityModel const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RandomDirection2dMobilityModel const &', 'arg0')])
|
||||
## random-direction-2d-mobility-model.h: ns3::RandomDirection2dMobilityModel::RandomDirection2dMobilityModel() [constructor]
|
||||
cls.add_constructor([])
|
||||
## random-direction-2d-mobility-model.h: ns3::RandomDirection2dMobilityModel::RandomDirection2dMobilityModel(ns3::RandomDirection2dMobilityModel const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RandomDirection2dMobilityModel const &', 'arg0')])
|
||||
## random-direction-2d-mobility-model.h: static ns3::TypeId ns3::RandomDirection2dMobilityModel::GetTypeId() [member function]
|
||||
cls.add_method('GetTypeId',
|
||||
'ns3::TypeId',
|
||||
@@ -568,13 +540,18 @@ def register_Ns3RandomDirection2dMobilityModel_methods(root_module, cls):
|
||||
'void',
|
||||
[param('ns3::Vector const &', 'position')],
|
||||
visibility='private', is_virtual=True)
|
||||
## random-direction-2d-mobility-model.h: void ns3::RandomDirection2dMobilityModel::DoStart() [member function]
|
||||
cls.add_method('DoStart',
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3RandomWalk2dMobilityModel_methods(root_module, cls):
|
||||
## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::RandomWalk2dMobilityModel(ns3::RandomWalk2dMobilityModel const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RandomWalk2dMobilityModel const &', 'arg0')])
|
||||
## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::RandomWalk2dMobilityModel() [constructor]
|
||||
cls.add_constructor([])
|
||||
## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::RandomWalk2dMobilityModel(ns3::RandomWalk2dMobilityModel const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RandomWalk2dMobilityModel const &', 'arg0')])
|
||||
## random-walk-2d-mobility-model.h: static ns3::TypeId ns3::RandomWalk2dMobilityModel::GetTypeId() [member function]
|
||||
cls.add_method('GetTypeId',
|
||||
'ns3::TypeId',
|
||||
@@ -600,18 +577,28 @@ def register_Ns3RandomWalk2dMobilityModel_methods(root_module, cls):
|
||||
'void',
|
||||
[param('ns3::Vector const &', 'position')],
|
||||
visibility='private', is_virtual=True)
|
||||
## random-walk-2d-mobility-model.h: void ns3::RandomWalk2dMobilityModel::DoStart() [member function]
|
||||
cls.add_method('DoStart',
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3RandomWaypointMobilityModel_methods(root_module, cls):
|
||||
## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel::RandomWaypointMobilityModel(ns3::RandomWaypointMobilityModel const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RandomWaypointMobilityModel const &', 'arg0')])
|
||||
## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel::RandomWaypointMobilityModel() [constructor]
|
||||
cls.add_constructor([])
|
||||
## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel::RandomWaypointMobilityModel(ns3::RandomWaypointMobilityModel const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RandomWaypointMobilityModel const &', 'arg0')])
|
||||
## random-waypoint-mobility-model.h: static ns3::TypeId ns3::RandomWaypointMobilityModel::GetTypeId() [member function]
|
||||
cls.add_method('GetTypeId',
|
||||
'ns3::TypeId',
|
||||
[],
|
||||
is_static=True)
|
||||
## random-waypoint-mobility-model.h: void ns3::RandomWaypointMobilityModel::DoStart() [member function]
|
||||
cls.add_method('DoStart',
|
||||
'void',
|
||||
[],
|
||||
visibility='protected', is_virtual=True)
|
||||
## random-waypoint-mobility-model.h: ns3::Vector ns3::RandomWaypointMobilityModel::DoGetPosition() const [member function]
|
||||
cls.add_method('DoGetPosition',
|
||||
'ns3::Vector',
|
||||
@@ -629,6 +616,53 @@ def register_Ns3RandomWaypointMobilityModel_methods(root_module, cls):
|
||||
visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3RectangleChecker_methods(root_module, cls):
|
||||
## rectangle.h: ns3::RectangleChecker::RectangleChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## rectangle.h: ns3::RectangleChecker::RectangleChecker(ns3::RectangleChecker const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RectangleChecker const &', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3RectangleValue_methods(root_module, cls):
|
||||
## rectangle.h: ns3::RectangleValue::RectangleValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## rectangle.h: ns3::RectangleValue::RectangleValue(ns3::RectangleValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RectangleValue const &', 'arg0')])
|
||||
## rectangle.h: ns3::RectangleValue::RectangleValue(ns3::Rectangle const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::Rectangle const &', 'value')])
|
||||
## rectangle.h: ns3::Ptr<ns3::AttributeValue> ns3::RectangleValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## rectangle.h: bool ns3::RectangleValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## rectangle.h: ns3::Rectangle ns3::RectangleValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::Rectangle',
|
||||
[],
|
||||
is_const=True)
|
||||
## rectangle.h: std::string ns3::RectangleValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## rectangle.h: void ns3::RectangleValue::Set(ns3::Rectangle const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('ns3::Rectangle const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3WaypointChecker_methods(root_module, cls):
|
||||
## waypoint.h: ns3::WaypointChecker::WaypointChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## waypoint.h: ns3::WaypointChecker::WaypointChecker(ns3::WaypointChecker const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WaypointChecker const &', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3WaypointMobilityModel_methods(root_module, cls):
|
||||
## waypoint-mobility-model.h: ns3::WaypointMobilityModel::WaypointMobilityModel(ns3::WaypointMobilityModel const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WaypointMobilityModel const &', 'arg0')])
|
||||
@@ -679,6 +713,39 @@ def register_Ns3WaypointMobilityModel_methods(root_module, cls):
|
||||
visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3WaypointValue_methods(root_module, cls):
|
||||
## waypoint.h: ns3::WaypointValue::WaypointValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## waypoint.h: ns3::WaypointValue::WaypointValue(ns3::WaypointValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WaypointValue const &', 'arg0')])
|
||||
## waypoint.h: ns3::WaypointValue::WaypointValue(ns3::Waypoint const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::Waypoint const &', 'value')])
|
||||
## waypoint.h: ns3::Ptr<ns3::AttributeValue> ns3::WaypointValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## waypoint.h: bool ns3::WaypointValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## waypoint.h: ns3::Waypoint ns3::WaypointValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::Waypoint',
|
||||
[],
|
||||
is_const=True)
|
||||
## waypoint.h: std::string ns3::WaypointValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## waypoint.h: void ns3::WaypointValue::Set(ns3::Waypoint const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('ns3::Waypoint const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3ConstantAccelerationMobilityModel_methods(root_module, cls):
|
||||
## constant-acceleration-mobility-model.h: ns3::ConstantAccelerationMobilityModel::ConstantAccelerationMobilityModel(ns3::ConstantAccelerationMobilityModel const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::ConstantAccelerationMobilityModel const &', 'arg0')])
|
||||
@@ -826,7 +893,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -841,9 +910,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -30,12 +30,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -66,10 +78,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -129,7 +149,7 @@ def register_Ns3Ipv4NixVectorRouting_methods(root_module, cls):
|
||||
'void',
|
||||
[param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')],
|
||||
visibility='private', is_virtual=True)
|
||||
## ipv4-nix-vector-routing.h: bool ns3::Ipv4NixVectorRouting::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]
|
||||
## ipv4-nix-vector-routing.h: bool ns3::Ipv4NixVectorRouting::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<ns3::Packet const>, ns3::Ipv4Header const&, 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<ns3::Packet const>, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function]
|
||||
cls.add_method('RouteInput',
|
||||
'bool',
|
||||
[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')],
|
||||
@@ -151,7 +171,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -166,9 +188,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -30,12 +30,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -66,10 +78,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -109,6 +129,8 @@ def register_types_ns3_olsr(module):
|
||||
module.add_class('NeighborTuple')
|
||||
## olsr-repositories.h: ns3::olsr::NeighborTuple::Status [enumeration]
|
||||
module.add_enum('Status', ['STATUS_NOT_SYM', 'STATUS_SYM'], outer_class=root_module['ns3::olsr::NeighborTuple'])
|
||||
## olsr-routing-protocol.h: ns3::olsr::OlsrMprTestCase [class]
|
||||
module.add_class('OlsrMprTestCase', parent=root_module['ns3::TestCase'])
|
||||
## olsr-header.h: ns3::olsr::PacketHeader [class]
|
||||
module.add_class('PacketHeader', parent=root_module['ns3::Header'])
|
||||
## olsr-routing-protocol.h: ns3::olsr::RoutingProtocol [class]
|
||||
@@ -127,6 +149,9 @@ def register_types_ns3_olsr(module):
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >', 'ns3::olsr::NeighborSet')
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >*', 'ns3::olsr::NeighborSet*')
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >&', 'ns3::olsr::NeighborSet&')
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >', 'ns3::olsr::LinkSet')
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >*', 'ns3::olsr::LinkSet*')
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >&', 'ns3::olsr::LinkSet&')
|
||||
typehandlers.add_type_alias('std::set< ns3::Ipv4Address, std::less< ns3::Ipv4Address >, std::allocator< ns3::Ipv4Address > >', 'ns3::olsr::MprSet')
|
||||
typehandlers.add_type_alias('std::set< ns3::Ipv4Address, std::less< ns3::Ipv4Address >, std::allocator< ns3::Ipv4Address > >*', 'ns3::olsr::MprSet*')
|
||||
typehandlers.add_type_alias('std::set< ns3::Ipv4Address, std::less< ns3::Ipv4Address >, std::allocator< ns3::Ipv4Address > >&', 'ns3::olsr::MprSet&')
|
||||
@@ -145,9 +170,6 @@ def register_types_ns3_olsr(module):
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::TwoHopNeighborTuple, std::allocator< ns3::olsr::TwoHopNeighborTuple > >', 'ns3::olsr::TwoHopNeighborSet')
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::TwoHopNeighborTuple, std::allocator< ns3::olsr::TwoHopNeighborTuple > >*', 'ns3::olsr::TwoHopNeighborSet*')
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::TwoHopNeighborTuple, std::allocator< ns3::olsr::TwoHopNeighborTuple > >&', 'ns3::olsr::TwoHopNeighborSet&')
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >', 'ns3::olsr::LinkSet')
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >*', 'ns3::olsr::LinkSet*')
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >&', 'ns3::olsr::LinkSet&')
|
||||
|
||||
def register_methods(root_module):
|
||||
register_Ns3OlsrState_methods(root_module, root_module['ns3::OlsrState'])
|
||||
@@ -163,6 +185,7 @@ def register_methods(root_module):
|
||||
register_Ns3OlsrMessageHeaderTc_methods(root_module, root_module['ns3::olsr::MessageHeader::Tc'])
|
||||
register_Ns3OlsrMprSelectorTuple_methods(root_module, root_module['ns3::olsr::MprSelectorTuple'])
|
||||
register_Ns3OlsrNeighborTuple_methods(root_module, root_module['ns3::olsr::NeighborTuple'])
|
||||
register_Ns3OlsrOlsrMprTestCase_methods(root_module, root_module['ns3::olsr::OlsrMprTestCase'])
|
||||
register_Ns3OlsrPacketHeader_methods(root_module, root_module['ns3::olsr::PacketHeader'])
|
||||
register_Ns3OlsrRoutingProtocol_methods(root_module, root_module['ns3::olsr::RoutingProtocol'])
|
||||
register_Ns3OlsrRoutingTableEntry_methods(root_module, root_module['ns3::olsr::RoutingTableEntry'])
|
||||
@@ -301,6 +324,11 @@ def register_Ns3OlsrState_methods(root_module, cls):
|
||||
'ns3::olsr::MprSelectorSet const &',
|
||||
[],
|
||||
is_const=True)
|
||||
## olsr-state.h: ns3::olsr::MprSet ns3::OlsrState::GetMprSet() const [member function]
|
||||
cls.add_method('GetMprSet',
|
||||
'ns3::olsr::MprSet',
|
||||
[],
|
||||
is_const=True)
|
||||
## olsr-state.h: ns3::olsr::NeighborSet const & ns3::OlsrState::GetNeighbors() const [member function]
|
||||
cls.add_method('GetNeighbors',
|
||||
'ns3::olsr::NeighborSet const &',
|
||||
@@ -719,6 +747,16 @@ def register_Ns3OlsrNeighborTuple_methods(root_module, cls):
|
||||
cls.add_instance_attribute('willingness', 'uint8_t', is_const=False)
|
||||
return
|
||||
|
||||
def register_Ns3OlsrOlsrMprTestCase_methods(root_module, cls):
|
||||
## olsr-routing-protocol.h: ns3::olsr::OlsrMprTestCase::OlsrMprTestCase() [constructor]
|
||||
cls.add_constructor([])
|
||||
## olsr-routing-protocol.h: bool ns3::olsr::OlsrMprTestCase::DoRun() [member function]
|
||||
cls.add_method('DoRun',
|
||||
'bool',
|
||||
[],
|
||||
is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3OlsrPacketHeader_methods(root_module, cls):
|
||||
cls.add_output_stream_operator()
|
||||
## olsr-header.h: ns3::olsr::PacketHeader::PacketHeader(ns3::olsr::PacketHeader const & arg0) [copy constructor]
|
||||
@@ -789,6 +827,11 @@ def register_Ns3OlsrRoutingProtocol_methods(root_module, cls):
|
||||
cls.add_method('SetMainInterface',
|
||||
'void',
|
||||
[param('uint32_t', 'interface')])
|
||||
## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::DoStart() [member function]
|
||||
cls.add_method('DoStart',
|
||||
'void',
|
||||
[],
|
||||
visibility='protected', is_virtual=True)
|
||||
## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::DoDispose() [member function]
|
||||
cls.add_method('DoDispose',
|
||||
'void',
|
||||
@@ -814,7 +857,7 @@ def register_Ns3OlsrRoutingProtocol_methods(root_module, cls):
|
||||
'void',
|
||||
[param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')],
|
||||
visibility='private', is_virtual=True)
|
||||
## 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]
|
||||
## 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<ns3::Packet const>, ns3::Ipv4Header const&, 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<ns3::Packet const>, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function]
|
||||
cls.add_method('RouteInput',
|
||||
'bool',
|
||||
[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')],
|
||||
@@ -883,7 +926,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -898,9 +943,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -24,12 +24,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -60,10 +72,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -116,7 +136,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -131,9 +153,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -24,12 +24,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -60,10 +72,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -117,7 +137,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -132,9 +154,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -24,12 +24,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -60,10 +72,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -124,7 +144,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -139,9 +161,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -28,12 +28,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -64,10 +76,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -341,7 +361,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -356,9 +378,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -3,12 +3,16 @@ from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandler
|
||||
def register_types(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
## radvd-interface.h: ns3::RadvdInterface [class]
|
||||
module.add_class('RadvdInterface', parent=root_module['ns3::RefCountBase'])
|
||||
## radvd-prefix.h: ns3::RadvdPrefix [class]
|
||||
module.add_class('RadvdPrefix', parent=root_module['ns3::RefCountBase'])
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::RadvdInterface, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::RadvdInterface', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::RadvdPrefix, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::RadvdPrefix', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
## radvd.h: ns3::Radvd [class]
|
||||
module.add_class('Radvd', parent=root_module['ns3::Application'])
|
||||
## radvd-interface.h: ns3::RadvdInterface [class]
|
||||
module.add_class('RadvdInterface', parent=root_module['ns3::SimpleRefCount< ns3::RadvdInterface, ns3::empty >'])
|
||||
## radvd-prefix.h: ns3::RadvdPrefix [class]
|
||||
module.add_class('RadvdPrefix', parent=root_module['ns3::SimpleRefCount< ns3::RadvdPrefix, ns3::empty >'])
|
||||
|
||||
## Register a nested module for the namespace Config
|
||||
|
||||
@@ -28,12 +32,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -64,10 +80,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -81,9 +105,42 @@ def register_types_ns3_olsr(module):
|
||||
|
||||
|
||||
def register_methods(root_module):
|
||||
register_Ns3Radvd_methods(root_module, root_module['ns3::Radvd'])
|
||||
register_Ns3RadvdInterface_methods(root_module, root_module['ns3::RadvdInterface'])
|
||||
register_Ns3RadvdPrefix_methods(root_module, root_module['ns3::RadvdPrefix'])
|
||||
register_Ns3Radvd_methods(root_module, root_module['ns3::Radvd'])
|
||||
return
|
||||
|
||||
def register_Ns3Radvd_methods(root_module, cls):
|
||||
## radvd.h: ns3::Radvd::Radvd(ns3::Radvd const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Radvd const &', 'arg0')])
|
||||
## radvd.h: ns3::Radvd::Radvd() [constructor]
|
||||
cls.add_constructor([])
|
||||
## radvd.h: void ns3::Radvd::AddConfiguration(ns3::Ptr<ns3::RadvdInterface> routerInterface) [member function]
|
||||
cls.add_method('AddConfiguration',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::RadvdInterface >', 'routerInterface')])
|
||||
## radvd.h: static ns3::TypeId ns3::Radvd::GetTypeId() [member function]
|
||||
cls.add_method('GetTypeId',
|
||||
'ns3::TypeId',
|
||||
[],
|
||||
is_static=True)
|
||||
## radvd.h: ns3::Radvd::MAX_RA_DELAY_TIME [variable]
|
||||
cls.add_static_attribute('MAX_RA_DELAY_TIME', 'uint32_t const', is_const=True)
|
||||
## radvd.h: void ns3::Radvd::DoDispose() [member function]
|
||||
cls.add_method('DoDispose',
|
||||
'void',
|
||||
[],
|
||||
visibility='protected', is_virtual=True)
|
||||
## radvd.h: void ns3::Radvd::StartApplication() [member function]
|
||||
cls.add_method('StartApplication',
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
## radvd.h: void ns3::Radvd::StopApplication() [member function]
|
||||
cls.add_method('StopApplication',
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3RadvdInterface_methods(root_module, cls):
|
||||
@@ -350,45 +407,14 @@ def register_Ns3RadvdPrefix_methods(root_module, cls):
|
||||
[param('uint32_t', 'validLifeTime')])
|
||||
return
|
||||
|
||||
def register_Ns3Radvd_methods(root_module, cls):
|
||||
## radvd.h: ns3::Radvd::Radvd(ns3::Radvd const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Radvd const &', 'arg0')])
|
||||
## radvd.h: ns3::Radvd::Radvd() [constructor]
|
||||
cls.add_constructor([])
|
||||
## radvd.h: void ns3::Radvd::AddConfiguration(ns3::Ptr<ns3::RadvdInterface> routerInterface) [member function]
|
||||
cls.add_method('AddConfiguration',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::RadvdInterface >', 'routerInterface')])
|
||||
## radvd.h: static ns3::TypeId ns3::Radvd::GetTypeId() [member function]
|
||||
cls.add_method('GetTypeId',
|
||||
'ns3::TypeId',
|
||||
[],
|
||||
is_static=True)
|
||||
## radvd.h: ns3::Radvd::MAX_RA_DELAY_TIME [variable]
|
||||
cls.add_static_attribute('MAX_RA_DELAY_TIME', 'uint32_t const', is_const=True)
|
||||
## radvd.h: void ns3::Radvd::DoDispose() [member function]
|
||||
cls.add_method('DoDispose',
|
||||
'void',
|
||||
[],
|
||||
visibility='protected', is_virtual=True)
|
||||
## radvd.h: void ns3::Radvd::StartApplication() [member function]
|
||||
cls.add_method('StartApplication',
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
## radvd.h: void ns3::Radvd::StopApplication() [member function]
|
||||
cls.add_method('StopApplication',
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_functions(root_module):
|
||||
module = root_module
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -403,9 +429,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -5,8 +5,6 @@ def register_types(module):
|
||||
|
||||
## event-id.h: ns3::EventId [class]
|
||||
module.add_class('EventId')
|
||||
## event-impl.h: ns3::EventImpl [class]
|
||||
module.add_class('EventImpl', allow_subclassing=True)
|
||||
## high-precision-128.h: ns3::HighPrecision [class]
|
||||
module.add_class('HighPrecision')
|
||||
## simulator.h: ns3::Simulator [class]
|
||||
@@ -35,20 +33,20 @@ def register_types(module):
|
||||
module.add_class('Event', outer_class=root_module['ns3::Scheduler'])
|
||||
## scheduler.h: ns3::Scheduler::EventKey [struct]
|
||||
module.add_class('EventKey', outer_class=root_module['ns3::Scheduler'])
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::EventImpl, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::EventImpl', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
## simulator-impl.h: ns3::SimulatorImpl [class]
|
||||
module.add_class('SimulatorImpl', parent=root_module['ns3::Object'])
|
||||
## synchronizer.h: ns3::Synchronizer [class]
|
||||
module.add_class('Synchronizer', parent=root_module['ns3::Object'])
|
||||
## nstime.h: ns3::TimeChecker [class]
|
||||
module.add_class('TimeChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## nstime.h: ns3::TimeValue [class]
|
||||
module.add_class('TimeValue', parent=root_module['ns3::AttributeValue'])
|
||||
## wall-clock-synchronizer.h: ns3::WallClockSynchronizer [class]
|
||||
module.add_class('WallClockSynchronizer', parent=root_module['ns3::Synchronizer'])
|
||||
## calendar-scheduler.h: ns3::CalendarScheduler [class]
|
||||
module.add_class('CalendarScheduler', parent=root_module['ns3::Scheduler'])
|
||||
## default-simulator-impl.h: ns3::DefaultSimulatorImpl [class]
|
||||
module.add_class('DefaultSimulatorImpl', parent=root_module['ns3::SimulatorImpl'])
|
||||
## event-impl.h: ns3::EventImpl [class]
|
||||
module.add_class('EventImpl', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty >'])
|
||||
## heap-scheduler.h: ns3::HeapScheduler [class]
|
||||
module.add_class('HeapScheduler', parent=root_module['ns3::Scheduler'])
|
||||
## list-scheduler.h: ns3::ListScheduler [class]
|
||||
@@ -61,6 +59,10 @@ def register_types(module):
|
||||
module.add_class('RealtimeSimulatorImpl', parent=root_module['ns3::SimulatorImpl'])
|
||||
## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode [enumeration]
|
||||
module.add_enum('SynchronizationMode', ['SYNC_BEST_EFFORT', 'SYNC_HARD_LIMIT'], outer_class=root_module['ns3::RealtimeSimulatorImpl'])
|
||||
## nstime.h: ns3::TimeChecker [class]
|
||||
module.add_class('TimeChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## nstime.h: ns3::TimeValue [class]
|
||||
module.add_class('TimeValue', parent=root_module['ns3::AttributeValue'])
|
||||
typehandlers.add_type_alias('ns3::TimeUnit< 2 >', 'ns3::TimeSquare')
|
||||
typehandlers.add_type_alias('ns3::TimeUnit< 2 >*', 'ns3::TimeSquare*')
|
||||
typehandlers.add_type_alias('ns3::TimeUnit< 2 >&', 'ns3::TimeSquare&')
|
||||
@@ -92,12 +94,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -130,10 +144,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -148,7 +170,6 @@ def register_types_ns3_olsr(module):
|
||||
|
||||
def register_methods(root_module):
|
||||
register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
|
||||
register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
|
||||
register_Ns3HighPrecision_methods(root_module, root_module['ns3::HighPrecision'])
|
||||
register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator'])
|
||||
register_Ns3TimeInvert_methods(root_module, root_module['ns3::TimeInvert'])
|
||||
@@ -163,16 +184,17 @@ def register_methods(root_module):
|
||||
register_Ns3SchedulerEventKey_methods(root_module, root_module['ns3::Scheduler::EventKey'])
|
||||
register_Ns3SimulatorImpl_methods(root_module, root_module['ns3::SimulatorImpl'])
|
||||
register_Ns3Synchronizer_methods(root_module, root_module['ns3::Synchronizer'])
|
||||
register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
|
||||
register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
|
||||
register_Ns3WallClockSynchronizer_methods(root_module, root_module['ns3::WallClockSynchronizer'])
|
||||
register_Ns3CalendarScheduler_methods(root_module, root_module['ns3::CalendarScheduler'])
|
||||
register_Ns3DefaultSimulatorImpl_methods(root_module, root_module['ns3::DefaultSimulatorImpl'])
|
||||
register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
|
||||
register_Ns3HeapScheduler_methods(root_module, root_module['ns3::HeapScheduler'])
|
||||
register_Ns3ListScheduler_methods(root_module, root_module['ns3::ListScheduler'])
|
||||
register_Ns3MapScheduler_methods(root_module, root_module['ns3::MapScheduler'])
|
||||
register_Ns3Ns2CalendarScheduler_methods(root_module, root_module['ns3::Ns2CalendarScheduler'])
|
||||
register_Ns3RealtimeSimulatorImpl_methods(root_module, root_module['ns3::RealtimeSimulatorImpl'])
|
||||
register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
|
||||
register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
|
||||
return
|
||||
|
||||
def register_Ns3EventId_methods(root_module, cls):
|
||||
@@ -182,12 +204,17 @@ def register_Ns3EventId_methods(root_module, cls):
|
||||
cls.add_constructor([param('ns3::EventId const &', 'arg0')])
|
||||
## event-id.h: ns3::EventId::EventId() [constructor]
|
||||
cls.add_constructor([])
|
||||
## event-id.h: ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t uid) [constructor]
|
||||
cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'uid')])
|
||||
## event-id.h: ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]
|
||||
cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])
|
||||
## event-id.h: void ns3::EventId::Cancel() [member function]
|
||||
cls.add_method('Cancel',
|
||||
'void',
|
||||
[])
|
||||
## event-id.h: uint32_t ns3::EventId::GetContext() const [member function]
|
||||
cls.add_method('GetContext',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True)
|
||||
## event-id.h: uint64_t ns3::EventId::GetTs() const [member function]
|
||||
cls.add_method('GetTs',
|
||||
'uint64_t',
|
||||
@@ -215,40 +242,6 @@ def register_Ns3EventId_methods(root_module, cls):
|
||||
is_const=True)
|
||||
return
|
||||
|
||||
def register_Ns3EventImpl_methods(root_module, cls):
|
||||
## event-impl.h: ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
|
||||
## event-impl.h: ns3::EventImpl::EventImpl() [constructor]
|
||||
cls.add_constructor([])
|
||||
## event-impl.h: void ns3::EventImpl::Cancel() [member function]
|
||||
cls.add_method('Cancel',
|
||||
'void',
|
||||
[])
|
||||
## event-impl.h: void ns3::EventImpl::Invoke() [member function]
|
||||
cls.add_method('Invoke',
|
||||
'void',
|
||||
[])
|
||||
## event-impl.h: bool ns3::EventImpl::IsCancelled() [member function]
|
||||
cls.add_method('IsCancelled',
|
||||
'bool',
|
||||
[])
|
||||
## event-impl.h: void ns3::EventImpl::Ref() const [member function]
|
||||
cls.add_method('Ref',
|
||||
'void',
|
||||
[],
|
||||
is_const=True)
|
||||
## event-impl.h: void ns3::EventImpl::Unref() const [member function]
|
||||
cls.add_method('Unref',
|
||||
'void',
|
||||
[],
|
||||
is_const=True)
|
||||
## event-impl.h: void ns3::EventImpl::Notify() [member function]
|
||||
cls.add_method('Notify',
|
||||
'void',
|
||||
[],
|
||||
is_pure_virtual=True, visibility='protected', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3HighPrecision_methods(root_module, cls):
|
||||
## high-precision-128.h: ns3::HighPrecision::HighPrecision(ns3::HighPrecision const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::HighPrecision const &', 'arg0')])
|
||||
@@ -314,6 +307,11 @@ def register_Ns3Simulator_methods(root_module, cls):
|
||||
'void',
|
||||
[],
|
||||
is_static=True)
|
||||
## simulator.h: static uint32_t ns3::Simulator::GetContext() [member function]
|
||||
cls.add_method('GetContext',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_static=True)
|
||||
## simulator.h: static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function]
|
||||
cls.add_method('GetDelayLeft',
|
||||
'ns3::Time',
|
||||
@@ -364,10 +362,10 @@ def register_Ns3Simulator_methods(root_module, cls):
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')],
|
||||
is_static=True)
|
||||
## simulator.h: static void ns3::Simulator::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function]
|
||||
## simulator.h: static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function]
|
||||
cls.add_method('SetScheduler',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Scheduler >', 'scheduler')],
|
||||
[param('ns3::ObjectFactory', 'schedulerFactory')],
|
||||
is_static=True)
|
||||
## simulator.h: static void ns3::Simulator::Stop() [member function]
|
||||
cls.add_method('Stop',
|
||||
@@ -769,6 +767,8 @@ def register_Ns3SchedulerEventKey_methods(root_module, cls):
|
||||
cls.add_constructor([])
|
||||
## scheduler.h: ns3::Scheduler::EventKey::EventKey(ns3::Scheduler::EventKey const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Scheduler::EventKey const &', 'arg0')])
|
||||
## scheduler.h: ns3::Scheduler::EventKey::m_context [variable]
|
||||
cls.add_instance_attribute('m_context', 'uint32_t', is_const=False)
|
||||
## scheduler.h: ns3::Scheduler::EventKey::m_ts [variable]
|
||||
cls.add_instance_attribute('m_ts', 'uint64_t', is_const=False)
|
||||
## scheduler.h: ns3::Scheduler::EventKey::m_uid [variable]
|
||||
@@ -790,6 +790,11 @@ def register_Ns3SimulatorImpl_methods(root_module, cls):
|
||||
'void',
|
||||
[],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
## simulator-impl.h: uint32_t ns3::SimulatorImpl::GetContext() const [member function]
|
||||
cls.add_method('GetContext',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
## simulator-impl.h: ns3::Time ns3::SimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function]
|
||||
cls.add_method('GetDelayLeft',
|
||||
'ns3::Time',
|
||||
@@ -850,16 +855,26 @@ def register_Ns3SimulatorImpl_methods(root_module, cls):
|
||||
'ns3::EventId',
|
||||
[param('ns3::EventImpl *', 'event')],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
## simulator-impl.h: void ns3::SimulatorImpl::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function]
|
||||
## simulator-impl.h: void ns3::SimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function]
|
||||
cls.add_method('ScheduleWithContext',
|
||||
'void',
|
||||
[param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
## simulator-impl.h: void ns3::SimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function]
|
||||
cls.add_method('SetScheduler',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Scheduler >', 'scheduler')],
|
||||
[param('ns3::ObjectFactory', 'schedulerFactory')],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
## simulator-impl.h: void ns3::SimulatorImpl::Stop() [member function]
|
||||
cls.add_method('Stop',
|
||||
'void',
|
||||
[],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
## simulator-impl.h: void ns3::SimulatorImpl::Stop(ns3::Time const & time) [member function]
|
||||
cls.add_method('Stop',
|
||||
'void',
|
||||
[param('ns3::Time const &', 'time')],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3Synchronizer_methods(root_module, cls):
|
||||
@@ -959,46 +974,6 @@ def register_Ns3Synchronizer_methods(root_module, cls):
|
||||
is_pure_virtual=True, visibility='protected', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3TimeChecker_methods(root_module, cls):
|
||||
## nstime.h: ns3::TimeChecker::TimeChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## nstime.h: 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: ns3::TimeValue::TimeValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## nstime.h: ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
|
||||
## nstime.h: ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::Time const &', 'value')])
|
||||
## nstime.h: ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## nstime.h: bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## nstime.h: ns3::Time ns3::TimeValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::Time',
|
||||
[],
|
||||
is_const=True)
|
||||
## nstime.h: std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## nstime.h: void ns3::TimeValue::Set(ns3::Time const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('ns3::Time const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3WallClockSynchronizer_methods(root_module, cls):
|
||||
## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::WallClockSynchronizer(ns3::WallClockSynchronizer const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WallClockSynchronizer const &', 'arg0')])
|
||||
@@ -1149,6 +1124,11 @@ def register_Ns3DefaultSimulatorImpl_methods(root_module, cls):
|
||||
'void',
|
||||
[],
|
||||
is_virtual=True)
|
||||
## default-simulator-impl.h: uint32_t ns3::DefaultSimulatorImpl::GetContext() const [member function]
|
||||
cls.add_method('GetContext',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function]
|
||||
cls.add_method('GetDelayLeft',
|
||||
'ns3::Time',
|
||||
@@ -1214,16 +1194,50 @@ def register_Ns3DefaultSimulatorImpl_methods(root_module, cls):
|
||||
'ns3::EventId',
|
||||
[param('ns3::EventImpl *', 'event')],
|
||||
is_virtual=True)
|
||||
## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function]
|
||||
## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function]
|
||||
cls.add_method('ScheduleWithContext',
|
||||
'void',
|
||||
[param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')],
|
||||
is_virtual=True)
|
||||
## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function]
|
||||
cls.add_method('SetScheduler',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Scheduler >', 'scheduler')],
|
||||
[param('ns3::ObjectFactory', 'schedulerFactory')],
|
||||
is_virtual=True)
|
||||
## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop() [member function]
|
||||
cls.add_method('Stop',
|
||||
'void',
|
||||
[],
|
||||
is_virtual=True)
|
||||
## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop(ns3::Time const & time) [member function]
|
||||
cls.add_method('Stop',
|
||||
'void',
|
||||
[param('ns3::Time const &', 'time')],
|
||||
is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3EventImpl_methods(root_module, cls):
|
||||
## event-impl.h: ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
|
||||
## event-impl.h: ns3::EventImpl::EventImpl() [constructor]
|
||||
cls.add_constructor([])
|
||||
## event-impl.h: void ns3::EventImpl::Cancel() [member function]
|
||||
cls.add_method('Cancel',
|
||||
'void',
|
||||
[])
|
||||
## event-impl.h: void ns3::EventImpl::Invoke() [member function]
|
||||
cls.add_method('Invoke',
|
||||
'void',
|
||||
[])
|
||||
## event-impl.h: bool ns3::EventImpl::IsCancelled() [member function]
|
||||
cls.add_method('IsCancelled',
|
||||
'bool',
|
||||
[])
|
||||
## event-impl.h: void ns3::EventImpl::Notify() [member function]
|
||||
cls.add_method('Notify',
|
||||
'void',
|
||||
[],
|
||||
is_pure_virtual=True, visibility='protected', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3HeapScheduler_methods(root_module, cls):
|
||||
@@ -1389,6 +1403,11 @@ def register_Ns3RealtimeSimulatorImpl_methods(root_module, cls):
|
||||
'void',
|
||||
[],
|
||||
is_virtual=True)
|
||||
## realtime-simulator-impl.h: uint32_t ns3::RealtimeSimulatorImpl::GetContext() const [member function]
|
||||
cls.add_method('GetContext',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function]
|
||||
cls.add_method('GetDelayLeft',
|
||||
'ns3::Time',
|
||||
@@ -1477,14 +1496,19 @@ def register_Ns3RealtimeSimulatorImpl_methods(root_module, cls):
|
||||
cls.add_method('ScheduleRealtimeNow',
|
||||
'void',
|
||||
[param('ns3::EventImpl *', 'event')])
|
||||
## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function]
|
||||
cls.add_method('ScheduleWithContext',
|
||||
'void',
|
||||
[param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')],
|
||||
is_virtual=True)
|
||||
## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetHardLimit(ns3::Time limit) [member function]
|
||||
cls.add_method('SetHardLimit',
|
||||
'void',
|
||||
[param('ns3::Time', 'limit')])
|
||||
## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function]
|
||||
## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function]
|
||||
cls.add_method('SetScheduler',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Scheduler >', 'scheduler')],
|
||||
[param('ns3::ObjectFactory', 'schedulerFactory')],
|
||||
is_virtual=True)
|
||||
## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetSynchronizationMode(ns3::RealtimeSimulatorImpl::SynchronizationMode mode) [member function]
|
||||
cls.add_method('SetSynchronizationMode',
|
||||
@@ -1495,6 +1519,51 @@ def register_Ns3RealtimeSimulatorImpl_methods(root_module, cls):
|
||||
'void',
|
||||
[],
|
||||
is_virtual=True)
|
||||
## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Stop(ns3::Time const & time) [member function]
|
||||
cls.add_method('Stop',
|
||||
'void',
|
||||
[param('ns3::Time const &', 'time')],
|
||||
is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3TimeChecker_methods(root_module, cls):
|
||||
## nstime.h: ns3::TimeChecker::TimeChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## nstime.h: 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: ns3::TimeValue::TimeValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## nstime.h: ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
|
||||
## nstime.h: ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::Time const &', 'value')])
|
||||
## nstime.h: ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## nstime.h: bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## nstime.h: ns3::Time ns3::TimeValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::Time',
|
||||
[],
|
||||
is_const=True)
|
||||
## nstime.h: std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## nstime.h: void ns3::TimeValue::Set(ns3::Time const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('ns3::Time const &', 'value')])
|
||||
return
|
||||
|
||||
def register_functions(root_module):
|
||||
@@ -1554,7 +1623,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -1577,9 +1648,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -34,12 +34,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -70,10 +82,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -447,7 +467,7 @@ def register_Ns3Ipv4StaticRouting_methods(root_module, cls):
|
||||
cls.add_method('RemoveRoute',
|
||||
'void',
|
||||
[param('uint32_t', 'i')])
|
||||
## ipv4-static-routing.h: bool ns3::Ipv4StaticRouting::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]
|
||||
## ipv4-static-routing.h: bool ns3::Ipv4StaticRouting::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<ns3::Packet const>, ns3::Ipv4Header const&, 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<ns3::Packet const>, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function]
|
||||
cls.add_method('RouteInput',
|
||||
'bool',
|
||||
[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')],
|
||||
@@ -622,7 +642,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -637,9 +659,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -48,12 +48,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -84,10 +96,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -468,7 +488,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -483,9 +505,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -26,12 +26,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -62,10 +74,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -258,7 +278,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -273,9 +295,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -22,12 +22,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -58,10 +70,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -82,7 +102,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -97,9 +119,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -26,12 +26,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -62,10 +74,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -167,7 +187,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -182,9 +204,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -24,12 +24,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -60,10 +72,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -112,7 +132,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -127,9 +149,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -24,12 +24,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -60,10 +72,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -242,7 +262,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -257,9 +279,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -83,10 +83,8 @@ def register_types(module):
|
||||
module.add_class('RandomPropagationLossModel', parent=root_module['ns3::PropagationLossModel'])
|
||||
## rraa-wifi-manager.h: ns3::RraaWifiRemoteStation [class]
|
||||
module.add_class('RraaWifiRemoteStation', parent=root_module['ns3::WifiRemoteStation'])
|
||||
## ssid.h: ns3::SsidChecker [class]
|
||||
module.add_class('SsidChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## ssid.h: ns3::SsidValue [class]
|
||||
module.add_class('SsidValue', parent=root_module['ns3::AttributeValue'])
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::InterferenceHelper::Event, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::InterferenceHelper::Event', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
## propagation-loss-model.h: ns3::ThreeLogDistancePropagationLossModel [class]
|
||||
module.add_class('ThreeLogDistancePropagationLossModel', parent=root_module['ns3::PropagationLossModel'])
|
||||
## wifi-mac.h: ns3::WifiMac [class]
|
||||
@@ -97,10 +95,6 @@ def register_types(module):
|
||||
module.add_enum('QosAckPolicy', ['NORMAL_ACK', 'NO_ACK', 'NO_EXPLICIT_ACK', 'BLOCK_ACK'], outer_class=root_module['ns3::WifiMacHeader'])
|
||||
## wifi-mac-header.h: ns3::WifiMacHeader::AddressType [enumeration]
|
||||
module.add_enum('AddressType', ['ADDR1', 'ADDR2', 'ADDR3', 'ADDR4'], outer_class=root_module['ns3::WifiMacHeader'])
|
||||
## wifi-mode.h: ns3::WifiModeChecker [class]
|
||||
module.add_class('WifiModeChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## wifi-mode.h: ns3::WifiModeValue [class]
|
||||
module.add_class('WifiModeValue', parent=root_module['ns3::AttributeValue'])
|
||||
## wifi-phy.h: ns3::WifiPhy [class]
|
||||
module.add_class('WifiPhy', parent=root_module['ns3::Object'])
|
||||
## wifi-phy.h: ns3::WifiPhy::State [enumeration]
|
||||
@@ -163,8 +157,16 @@ def register_types(module):
|
||||
module.add_class('QstaWifiMac', parent=root_module['ns3::WifiMac'])
|
||||
## rraa-wifi-manager.h: ns3::RraaWifiManager [class]
|
||||
module.add_class('RraaWifiManager', parent=root_module['ns3::WifiRemoteStationManager'])
|
||||
## ssid.h: ns3::SsidChecker [class]
|
||||
module.add_class('SsidChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## ssid.h: ns3::SsidValue [class]
|
||||
module.add_class('SsidValue', parent=root_module['ns3::AttributeValue'])
|
||||
## wifi-channel.h: ns3::WifiChannel [class]
|
||||
module.add_class('WifiChannel', parent=root_module['ns3::Channel'])
|
||||
## wifi-mode.h: ns3::WifiModeChecker [class]
|
||||
module.add_class('WifiModeChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## wifi-mode.h: ns3::WifiModeValue [class]
|
||||
module.add_class('WifiModeValue', parent=root_module['ns3::AttributeValue'])
|
||||
## wifi-net-device.h: ns3::WifiNetDevice [class]
|
||||
module.add_class('WifiNetDevice', parent=root_module['ns3::NetDevice'])
|
||||
## yans-error-rate-model.h: ns3::YansErrorRateModel [class]
|
||||
@@ -203,12 +205,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -239,10 +253,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -290,13 +312,9 @@ def register_methods(root_module):
|
||||
register_Ns3RandomPropagationDelayModel_methods(root_module, root_module['ns3::RandomPropagationDelayModel'])
|
||||
register_Ns3RandomPropagationLossModel_methods(root_module, root_module['ns3::RandomPropagationLossModel'])
|
||||
register_Ns3RraaWifiRemoteStation_methods(root_module, root_module['ns3::RraaWifiRemoteStation'])
|
||||
register_Ns3SsidChecker_methods(root_module, root_module['ns3::SsidChecker'])
|
||||
register_Ns3SsidValue_methods(root_module, root_module['ns3::SsidValue'])
|
||||
register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, root_module['ns3::ThreeLogDistancePropagationLossModel'])
|
||||
register_Ns3WifiMac_methods(root_module, root_module['ns3::WifiMac'])
|
||||
register_Ns3WifiMacHeader_methods(root_module, root_module['ns3::WifiMacHeader'])
|
||||
register_Ns3WifiModeChecker_methods(root_module, root_module['ns3::WifiModeChecker'])
|
||||
register_Ns3WifiModeValue_methods(root_module, root_module['ns3::WifiModeValue'])
|
||||
register_Ns3WifiPhy_methods(root_module, root_module['ns3::WifiPhy'])
|
||||
register_Ns3WifiRemoteStationManager_methods(root_module, root_module['ns3::WifiRemoteStationManager'])
|
||||
register_Ns3YansWifiPhy_methods(root_module, root_module['ns3::YansWifiPhy'])
|
||||
@@ -327,7 +345,11 @@ def register_methods(root_module):
|
||||
register_Ns3QapWifiMac_methods(root_module, root_module['ns3::QapWifiMac'])
|
||||
register_Ns3QstaWifiMac_methods(root_module, root_module['ns3::QstaWifiMac'])
|
||||
register_Ns3RraaWifiManager_methods(root_module, root_module['ns3::RraaWifiManager'])
|
||||
register_Ns3SsidChecker_methods(root_module, root_module['ns3::SsidChecker'])
|
||||
register_Ns3SsidValue_methods(root_module, root_module['ns3::SsidValue'])
|
||||
register_Ns3WifiChannel_methods(root_module, root_module['ns3::WifiChannel'])
|
||||
register_Ns3WifiModeChecker_methods(root_module, root_module['ns3::WifiModeChecker'])
|
||||
register_Ns3WifiModeValue_methods(root_module, root_module['ns3::WifiModeValue'])
|
||||
register_Ns3WifiNetDevice_methods(root_module, root_module['ns3::WifiNetDevice'])
|
||||
register_Ns3YansErrorRateModel_methods(root_module, root_module['ns3::YansErrorRateModel'])
|
||||
register_Ns3YansWifiChannel_methods(root_module, root_module['ns3::YansWifiChannel'])
|
||||
@@ -2112,46 +2134,6 @@ def register_Ns3RraaWifiRemoteStation_methods(root_module, cls):
|
||||
is_const=True, visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3SsidChecker_methods(root_module, cls):
|
||||
## ssid.h: ns3::SsidChecker::SsidChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## ssid.h: ns3::SsidChecker::SsidChecker(ns3::SsidChecker const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::SsidChecker const &', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3SsidValue_methods(root_module, cls):
|
||||
## ssid.h: ns3::SsidValue::SsidValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## ssid.h: ns3::SsidValue::SsidValue(ns3::SsidValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::SsidValue const &', 'arg0')])
|
||||
## ssid.h: ns3::SsidValue::SsidValue(ns3::Ssid const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::Ssid const &', 'value')])
|
||||
## ssid.h: ns3::Ptr<ns3::AttributeValue> ns3::SsidValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## ssid.h: bool ns3::SsidValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## ssid.h: ns3::Ssid ns3::SsidValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::Ssid',
|
||||
[],
|
||||
is_const=True)
|
||||
## ssid.h: std::string ns3::SsidValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## ssid.h: void ns3::SsidValue::Set(ns3::Ssid const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('ns3::Ssid const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, cls):
|
||||
## propagation-loss-model.h: static ns3::TypeId ns3::ThreeLogDistancePropagationLossModel::GetTypeId() [member function]
|
||||
cls.add_method('GetTypeId',
|
||||
@@ -2746,46 +2728,6 @@ def register_Ns3WifiMacHeader_methods(root_module, cls):
|
||||
[])
|
||||
return
|
||||
|
||||
def register_Ns3WifiModeChecker_methods(root_module, cls):
|
||||
## wifi-mode.h: ns3::WifiModeChecker::WifiModeChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## wifi-mode.h: ns3::WifiModeChecker::WifiModeChecker(ns3::WifiModeChecker const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WifiModeChecker const &', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3WifiModeValue_methods(root_module, cls):
|
||||
## wifi-mode.h: ns3::WifiModeValue::WifiModeValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## wifi-mode.h: ns3::WifiModeValue::WifiModeValue(ns3::WifiModeValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WifiModeValue const &', 'arg0')])
|
||||
## wifi-mode.h: ns3::WifiModeValue::WifiModeValue(ns3::WifiMode const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::WifiMode const &', 'value')])
|
||||
## wifi-mode.h: ns3::Ptr<ns3::AttributeValue> ns3::WifiModeValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## wifi-mode.h: bool ns3::WifiModeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## wifi-mode.h: ns3::WifiMode ns3::WifiModeValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::WifiMode',
|
||||
[],
|
||||
is_const=True)
|
||||
## wifi-mode.h: std::string ns3::WifiModeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## wifi-mode.h: void ns3::WifiModeValue::Set(ns3::WifiMode const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('ns3::WifiMode const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3WifiPhy_methods(root_module, cls):
|
||||
## wifi-phy.h: ns3::WifiPhy::WifiPhy(ns3::WifiPhy const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WifiPhy const &', 'arg0')])
|
||||
@@ -4510,6 +4452,11 @@ def register_Ns3NqapWifiMac_methods(root_module, cls):
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
## nqap-wifi-mac.h: void ns3::NqapWifiMac::DoStart() [member function]
|
||||
cls.add_method('DoStart',
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
## nqap-wifi-mac.h: void ns3::NqapWifiMac::FinishConfigureStandard(ns3::WifiPhyStandard standard) [member function]
|
||||
cls.add_method('FinishConfigureStandard',
|
||||
'void',
|
||||
@@ -4991,6 +4938,11 @@ def register_Ns3QapWifiMac_methods(root_module, cls):
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
## qap-wifi-mac.h: void ns3::QapWifiMac::DoStart() [member function]
|
||||
cls.add_method('DoStart',
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
## qap-wifi-mac.h: void ns3::QapWifiMac::FinishConfigureStandard(ns3::WifiPhyStandard standard) [member function]
|
||||
cls.add_method('FinishConfigureStandard',
|
||||
'void',
|
||||
@@ -5190,6 +5142,46 @@ def register_Ns3RraaWifiManager_methods(root_module, cls):
|
||||
visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3SsidChecker_methods(root_module, cls):
|
||||
## ssid.h: ns3::SsidChecker::SsidChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## ssid.h: ns3::SsidChecker::SsidChecker(ns3::SsidChecker const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::SsidChecker const &', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3SsidValue_methods(root_module, cls):
|
||||
## ssid.h: ns3::SsidValue::SsidValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## ssid.h: ns3::SsidValue::SsidValue(ns3::SsidValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::SsidValue const &', 'arg0')])
|
||||
## ssid.h: ns3::SsidValue::SsidValue(ns3::Ssid const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::Ssid const &', 'value')])
|
||||
## ssid.h: ns3::Ptr<ns3::AttributeValue> ns3::SsidValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## ssid.h: bool ns3::SsidValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## ssid.h: ns3::Ssid ns3::SsidValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::Ssid',
|
||||
[],
|
||||
is_const=True)
|
||||
## ssid.h: std::string ns3::SsidValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## ssid.h: void ns3::SsidValue::Set(ns3::Ssid const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('ns3::Ssid const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3WifiChannel_methods(root_module, cls):
|
||||
## wifi-channel.h: ns3::WifiChannel::WifiChannel() [constructor]
|
||||
cls.add_constructor([])
|
||||
@@ -5202,6 +5194,46 @@ def register_Ns3WifiChannel_methods(root_module, cls):
|
||||
is_static=True)
|
||||
return
|
||||
|
||||
def register_Ns3WifiModeChecker_methods(root_module, cls):
|
||||
## wifi-mode.h: ns3::WifiModeChecker::WifiModeChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## wifi-mode.h: ns3::WifiModeChecker::WifiModeChecker(ns3::WifiModeChecker const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WifiModeChecker const &', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3WifiModeValue_methods(root_module, cls):
|
||||
## wifi-mode.h: ns3::WifiModeValue::WifiModeValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## wifi-mode.h: ns3::WifiModeValue::WifiModeValue(ns3::WifiModeValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WifiModeValue const &', 'arg0')])
|
||||
## wifi-mode.h: ns3::WifiModeValue::WifiModeValue(ns3::WifiMode const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::WifiMode const &', 'value')])
|
||||
## wifi-mode.h: ns3::Ptr<ns3::AttributeValue> ns3::WifiModeValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## wifi-mode.h: bool ns3::WifiModeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## wifi-mode.h: ns3::WifiMode ns3::WifiModeValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::WifiMode',
|
||||
[],
|
||||
is_const=True)
|
||||
## wifi-mode.h: std::string ns3::WifiModeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## wifi-mode.h: void ns3::WifiModeValue::Set(ns3::WifiMode const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('ns3::WifiMode const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3WifiNetDevice_methods(root_module, cls):
|
||||
## wifi-net-device.h: ns3::WifiNetDevice::WifiNetDevice(ns3::WifiNetDevice const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WifiNetDevice const &', 'arg0')])
|
||||
@@ -5364,6 +5396,11 @@ def register_Ns3WifiNetDevice_methods(root_module, cls):
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
## wifi-net-device.h: void ns3::WifiNetDevice::DoStart() [member function]
|
||||
cls.add_method('DoStart',
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3YansErrorRateModel_methods(root_module, cls):
|
||||
@@ -5537,7 +5574,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -5552,9 +5591,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -4,18 +4,21 @@ callback_classes = [
|
||||
['void', 'ns3::Ptr<ns3::Packet>', 'ns3::Mac48Address', 'ns3::Mac48Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Mac48Address', 'ns3::Mac48Address', 'unsigned int', 'bool', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'unsigned int', 'ns3::Mac48Address', 'ns3::Mac48Address', 'ns3::dot11s::PeerLink::PeerState', 'ns3::dot11s::PeerLink::PeerState', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::WifiMacHeader const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['unsigned int', 'ns3::Mac48Address', 'ns3::Ptr<ns3::MeshWifiInterfaceMac>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Packet>', 'ns3::WifiMacHeader const*', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['std::vector<ns3::Mac48Address, std::allocator<ns3::Mac48Address> >', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'bool', 'ns3::Ptr<ns3::Packet>', 'ns3::Mac48Address', 'ns3::Mac48Address', 'unsigned short', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::WifiMacHeader const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['bool', 'std::string', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Packet const>', 'ns3::Ipv4Header const&', 'ns3::Socket::SocketErrno', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['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'],
|
||||
['void', 'ns3::Ptr<ns3::Socket>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Socket>', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::Socket>', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['bool', 'ns3::Ptr<ns3::Socket>', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['std::vector<ns3::Mac48Address, std::allocator<ns3::Mac48Address> >', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'bool', 'ns3::Ptr<ns3::Packet>', 'ns3::Mac48Address', 'ns3::Mac48Address', 'unsigned short', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['bool', 'std::string', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ipv4Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::ArpCache const>', 'ns3::Ipv4Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
]
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -26,12 +26,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -62,10 +74,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -290,7 +310,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -305,9 +327,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -21,8 +21,6 @@ def register_types(module):
|
||||
module.add_class('Item', outer_class=root_module['ns3::ByteTagList::Iterator'])
|
||||
## data-rate.h: ns3::DataRate [class]
|
||||
module.add_class('DataRate')
|
||||
## packet.h: ns3::Packet [class]
|
||||
module.add_class('Packet', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
|
||||
## packet-metadata.h: ns3::PacketMetadata [class]
|
||||
module.add_class('PacketMetadata')
|
||||
## packet-metadata.h: ns3::PacketMetadata::Item [struct]
|
||||
@@ -45,28 +43,34 @@ def register_types(module):
|
||||
module.add_class('Tag', parent=root_module['ns3::ObjectBase'])
|
||||
## tag-buffer.h: ns3::TagBuffer [class]
|
||||
module.add_class('TagBuffer')
|
||||
## ascii-writer.h: ns3::AsciiWriter [class]
|
||||
module.add_class('AsciiWriter', parent=root_module['ns3::RefCountBase'])
|
||||
## ascii-writer.h: ns3::AsciiWriter::Type [enumeration]
|
||||
module.add_enum('Type', ['ENQUEUE', 'DEQUEUE', 'DROP', 'TX', 'RX'], outer_class=root_module['ns3::AsciiWriter'])
|
||||
## chunk.h: ns3::Chunk [class]
|
||||
module.add_class('Chunk', parent=root_module['ns3::ObjectBase'])
|
||||
## data-rate.h: ns3::DataRateChecker [class]
|
||||
module.add_class('DataRateChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## data-rate.h: ns3::DataRateValue [class]
|
||||
module.add_class('DataRateValue', parent=root_module['ns3::AttributeValue'])
|
||||
## header.h: ns3::Header [class]
|
||||
module.add_class('Header', parent=root_module['ns3::Chunk'])
|
||||
## pcap-writer.h: ns3::PcapWriter [class]
|
||||
module.add_class('PcapWriter', parent=root_module['ns3::Object'])
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::AsciiWriter, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::AsciiWriter', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::Packet, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::Packet', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
## trailer.h: ns3::Trailer [class]
|
||||
module.add_class('Trailer', parent=root_module['ns3::Chunk'])
|
||||
## ascii-writer.h: ns3::AsciiWriter [class]
|
||||
module.add_class('AsciiWriter', parent=root_module['ns3::SimpleRefCount< ns3::AsciiWriter, ns3::empty >'])
|
||||
## ascii-writer.h: ns3::AsciiWriter::Type [enumeration]
|
||||
module.add_enum('Type', ['ENQUEUE', 'DEQUEUE', 'DROP', 'TX', 'RX'], outer_class=root_module['ns3::AsciiWriter'])
|
||||
## data-rate.h: ns3::DataRateChecker [class]
|
||||
module.add_class('DataRateChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## data-rate.h: ns3::DataRateValue [class]
|
||||
module.add_class('DataRateValue', parent=root_module['ns3::AttributeValue'])
|
||||
## error-model.h: ns3::ErrorModel [class]
|
||||
module.add_class('ErrorModel', parent=root_module['ns3::Object'])
|
||||
## error-model.h: ns3::ListErrorModel [class]
|
||||
module.add_class('ListErrorModel', parent=root_module['ns3::ErrorModel'])
|
||||
## nix-vector.h: ns3::NixVector [class]
|
||||
module.add_class('NixVector', parent=root_module['ns3::Object'])
|
||||
## packet.h: ns3::Packet [class]
|
||||
module.add_class('Packet', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty >'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
|
||||
## error-model.h: ns3::RateErrorModel [class]
|
||||
module.add_class('RateErrorModel', parent=root_module['ns3::ErrorModel'])
|
||||
|
||||
@@ -88,12 +92,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -124,10 +140,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -149,7 +173,6 @@ def register_methods(root_module):
|
||||
register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
|
||||
register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
|
||||
register_Ns3DataRate_methods(root_module, root_module['ns3::DataRate'])
|
||||
register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
|
||||
register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
|
||||
register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
|
||||
register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
|
||||
@@ -160,16 +183,17 @@ def register_methods(root_module):
|
||||
register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile'])
|
||||
register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
|
||||
register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
|
||||
register_Ns3AsciiWriter_methods(root_module, root_module['ns3::AsciiWriter'])
|
||||
register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
|
||||
register_Ns3DataRateChecker_methods(root_module, root_module['ns3::DataRateChecker'])
|
||||
register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue'])
|
||||
register_Ns3Header_methods(root_module, root_module['ns3::Header'])
|
||||
register_Ns3PcapWriter_methods(root_module, root_module['ns3::PcapWriter'])
|
||||
register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
|
||||
register_Ns3AsciiWriter_methods(root_module, root_module['ns3::AsciiWriter'])
|
||||
register_Ns3DataRateChecker_methods(root_module, root_module['ns3::DataRateChecker'])
|
||||
register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue'])
|
||||
register_Ns3ErrorModel_methods(root_module, root_module['ns3::ErrorModel'])
|
||||
register_Ns3ListErrorModel_methods(root_module, root_module['ns3::ListErrorModel'])
|
||||
register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
|
||||
register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
|
||||
register_Ns3RateErrorModel_methods(root_module, root_module['ns3::RateErrorModel'])
|
||||
return
|
||||
|
||||
@@ -529,184 +553,6 @@ def register_Ns3DataRate_methods(root_module, cls):
|
||||
is_const=True)
|
||||
return
|
||||
|
||||
def register_Ns3Packet_methods(root_module, cls):
|
||||
cls.add_output_stream_operator()
|
||||
## packet.h: ns3::Packet::Packet() [constructor]
|
||||
cls.add_constructor([])
|
||||
## packet.h: ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Packet const &', 'o')])
|
||||
## packet.h: ns3::Packet::Packet(uint32_t size) [constructor]
|
||||
cls.add_constructor([param('uint32_t', 'size')])
|
||||
## packet.h: ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
|
||||
cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
|
||||
## packet.h: void ns3::Packet::AddAtEnd(ns3::Ptr<ns3::Packet const> packet) [member function]
|
||||
cls.add_method('AddAtEnd',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Packet const >', 'packet')])
|
||||
## packet.h: void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
|
||||
cls.add_method('AddByteTag',
|
||||
'void',
|
||||
[param('ns3::Tag const &', 'tag')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
|
||||
cls.add_method('AddHeader',
|
||||
'void',
|
||||
[param('ns3::Header const &', 'header')])
|
||||
## packet.h: void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
|
||||
cls.add_method('AddPacketTag',
|
||||
'void',
|
||||
[param('ns3::Tag const &', 'tag')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
|
||||
cls.add_method('AddPaddingAtEnd',
|
||||
'void',
|
||||
[param('uint32_t', 'size')])
|
||||
## packet.h: void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
|
||||
cls.add_method('AddTrailer',
|
||||
'void',
|
||||
[param('ns3::Trailer const &', 'trailer')])
|
||||
## packet.h: ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
|
||||
cls.add_method('BeginItem',
|
||||
'ns3::PacketMetadata::ItemIterator',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::Packet >',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
|
||||
cls.add_method('CopyData',
|
||||
'uint32_t',
|
||||
[param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
|
||||
cls.add_method('CopyData',
|
||||
'void',
|
||||
[param('std::ostream *', 'os'), param('uint32_t', 'size')],
|
||||
is_const=True)
|
||||
## packet.h: ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
|
||||
cls.add_method('CreateFragment',
|
||||
'ns3::Ptr< ns3::Packet >',
|
||||
[param('uint32_t', 'start'), param('uint32_t', 'length')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::Deserialize(ns3::Buffer buffer) [member function]
|
||||
cls.add_method('Deserialize',
|
||||
'void',
|
||||
[param('ns3::Buffer', 'buffer')])
|
||||
## packet.h: static void ns3::Packet::EnableChecking() [member function]
|
||||
cls.add_method('EnableChecking',
|
||||
'void',
|
||||
[],
|
||||
is_static=True)
|
||||
## packet.h: static void ns3::Packet::EnablePrinting() [member function]
|
||||
cls.add_method('EnablePrinting',
|
||||
'void',
|
||||
[],
|
||||
is_static=True)
|
||||
## packet.h: bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
|
||||
cls.add_method('FindFirstMatchingByteTag',
|
||||
'bool',
|
||||
[param('ns3::Tag &', 'tag')],
|
||||
is_const=True)
|
||||
## packet.h: ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
|
||||
cls.add_method('GetByteTagIterator',
|
||||
'ns3::ByteTagIterator',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
|
||||
cls.add_method('GetNixVector',
|
||||
'ns3::Ptr< ns3::NixVector >',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
|
||||
cls.add_method('GetPacketTagIterator',
|
||||
'ns3::PacketTagIterator',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: uint32_t ns3::Packet::GetSize() const [member function]
|
||||
cls.add_method('GetSize',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: uint32_t ns3::Packet::GetUid() const [member function]
|
||||
cls.add_method('GetUid',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: uint8_t const * ns3::Packet::PeekData() const [member function]
|
||||
cls.add_method('PeekData',
|
||||
'uint8_t const *',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
|
||||
cls.add_method('PeekHeader',
|
||||
'uint32_t',
|
||||
[param('ns3::Header &', 'header')],
|
||||
is_const=True)
|
||||
## packet.h: bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
|
||||
cls.add_method('PeekPacketTag',
|
||||
'bool',
|
||||
[param('ns3::Tag &', 'tag')],
|
||||
is_const=True)
|
||||
## packet.h: uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
|
||||
cls.add_method('PeekTrailer',
|
||||
'uint32_t',
|
||||
[param('ns3::Trailer &', 'trailer')])
|
||||
## packet.h: void ns3::Packet::Print(std::ostream & os) const [member function]
|
||||
cls.add_method('Print',
|
||||
'void',
|
||||
[param('std::ostream &', 'os')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
|
||||
cls.add_method('PrintByteTags',
|
||||
'void',
|
||||
[param('std::ostream &', 'os')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
|
||||
cls.add_method('PrintPacketTags',
|
||||
'void',
|
||||
[param('std::ostream &', 'os')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::RemoveAllByteTags() [member function]
|
||||
cls.add_method('RemoveAllByteTags',
|
||||
'void',
|
||||
[])
|
||||
## packet.h: void ns3::Packet::RemoveAllPacketTags() [member function]
|
||||
cls.add_method('RemoveAllPacketTags',
|
||||
'void',
|
||||
[])
|
||||
## packet.h: void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
|
||||
cls.add_method('RemoveAtEnd',
|
||||
'void',
|
||||
[param('uint32_t', 'size')])
|
||||
## packet.h: void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
|
||||
cls.add_method('RemoveAtStart',
|
||||
'void',
|
||||
[param('uint32_t', 'size')])
|
||||
## packet.h: uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
|
||||
cls.add_method('RemoveHeader',
|
||||
'uint32_t',
|
||||
[param('ns3::Header &', 'header')])
|
||||
## packet.h: bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
|
||||
cls.add_method('RemovePacketTag',
|
||||
'bool',
|
||||
[param('ns3::Tag &', 'tag')])
|
||||
## packet.h: uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
|
||||
cls.add_method('RemoveTrailer',
|
||||
'uint32_t',
|
||||
[param('ns3::Trailer &', 'trailer')])
|
||||
## packet.h: ns3::Buffer ns3::Packet::Serialize() const [member function]
|
||||
cls.add_method('Serialize',
|
||||
'ns3::Buffer',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
|
||||
cls.add_method('SetNixVector',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::NixVector >', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3PacketMetadata_methods(root_module, cls):
|
||||
## packet-metadata.h: ns3::PacketMetadata::PacketMetadata(uint32_t uid, uint32_t size) [constructor]
|
||||
cls.add_constructor([param('uint32_t', 'uid'), param('uint32_t', 'size')])
|
||||
@@ -1057,20 +903,6 @@ def register_Ns3TagBuffer_methods(root_module, cls):
|
||||
[param('uint8_t', 'v')])
|
||||
return
|
||||
|
||||
def register_Ns3AsciiWriter_methods(root_module, cls):
|
||||
## ascii-writer.h: ns3::AsciiWriter::AsciiWriter(ns3::AsciiWriter const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::AsciiWriter const &', 'arg0')])
|
||||
## ascii-writer.h: static ns3::Ptr<ns3::AsciiWriter> ns3::AsciiWriter::Get(std::ostream & os) [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::Ptr< ns3::AsciiWriter >',
|
||||
[param('std::ostream &', 'os')],
|
||||
is_static=True)
|
||||
## ascii-writer.h: void ns3::AsciiWriter::WritePacket(ns3::AsciiWriter::Type type, std::string message, ns3::Ptr<ns3::Packet const> p) [member function]
|
||||
cls.add_method('WritePacket',
|
||||
'void',
|
||||
[param('ns3::AsciiWriter::Type', 'type'), param('std::string', 'message'), param('ns3::Ptr< ns3::Packet const >', 'p')])
|
||||
return
|
||||
|
||||
def register_Ns3Chunk_methods(root_module, cls):
|
||||
## chunk.h: ns3::Chunk::Chunk() [constructor]
|
||||
cls.add_constructor([])
|
||||
@@ -1093,46 +925,6 @@ def register_Ns3Chunk_methods(root_module, cls):
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3DataRateChecker_methods(root_module, cls):
|
||||
## data-rate.h: ns3::DataRateChecker::DataRateChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## data-rate.h: ns3::DataRateChecker::DataRateChecker(ns3::DataRateChecker const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::DataRateChecker const &', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3DataRateValue_methods(root_module, cls):
|
||||
## data-rate.h: ns3::DataRateValue::DataRateValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRateValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::DataRateValue const &', 'arg0')])
|
||||
## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRate const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::DataRate const &', 'value')])
|
||||
## data-rate.h: ns3::Ptr<ns3::AttributeValue> ns3::DataRateValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## data-rate.h: bool ns3::DataRateValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## data-rate.h: ns3::DataRate ns3::DataRateValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::DataRate',
|
||||
[],
|
||||
is_const=True)
|
||||
## data-rate.h: std::string ns3::DataRateValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## data-rate.h: void ns3::DataRateValue::Set(ns3::DataRate const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('ns3::DataRate const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3Header_methods(root_module, cls):
|
||||
cls.add_output_stream_operator()
|
||||
## header.h: ns3::Header::Header() [constructor]
|
||||
@@ -1251,6 +1043,60 @@ def register_Ns3Trailer_methods(root_module, cls):
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3AsciiWriter_methods(root_module, cls):
|
||||
## ascii-writer.h: ns3::AsciiWriter::AsciiWriter(ns3::AsciiWriter const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::AsciiWriter const &', 'arg0')])
|
||||
## ascii-writer.h: static ns3::Ptr<ns3::AsciiWriter> ns3::AsciiWriter::Get(std::ostream & os) [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::Ptr< ns3::AsciiWriter >',
|
||||
[param('std::ostream &', 'os')],
|
||||
is_static=True)
|
||||
## ascii-writer.h: void ns3::AsciiWriter::WritePacket(ns3::AsciiWriter::Type type, std::string message, ns3::Ptr<ns3::Packet const> p) [member function]
|
||||
cls.add_method('WritePacket',
|
||||
'void',
|
||||
[param('ns3::AsciiWriter::Type', 'type'), param('std::string', 'message'), param('ns3::Ptr< ns3::Packet const >', 'p')])
|
||||
return
|
||||
|
||||
def register_Ns3DataRateChecker_methods(root_module, cls):
|
||||
## data-rate.h: ns3::DataRateChecker::DataRateChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## data-rate.h: ns3::DataRateChecker::DataRateChecker(ns3::DataRateChecker const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::DataRateChecker const &', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3DataRateValue_methods(root_module, cls):
|
||||
## data-rate.h: ns3::DataRateValue::DataRateValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRateValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::DataRateValue const &', 'arg0')])
|
||||
## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRate const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::DataRate const &', 'value')])
|
||||
## data-rate.h: ns3::Ptr<ns3::AttributeValue> ns3::DataRateValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## data-rate.h: bool ns3::DataRateValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## data-rate.h: ns3::DataRate ns3::DataRateValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::DataRate',
|
||||
[],
|
||||
is_const=True)
|
||||
## data-rate.h: std::string ns3::DataRateValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## data-rate.h: void ns3::DataRateValue::Set(ns3::DataRate const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('ns3::DataRate const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3ErrorModel_methods(root_module, cls):
|
||||
## error-model.h: ns3::ErrorModel::ErrorModel(ns3::ErrorModel const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::ErrorModel const &', 'arg0')])
|
||||
@@ -1379,6 +1225,184 @@ def register_Ns3NixVector_methods(root_module, cls):
|
||||
is_const=True)
|
||||
return
|
||||
|
||||
def register_Ns3Packet_methods(root_module, cls):
|
||||
cls.add_output_stream_operator()
|
||||
## packet.h: ns3::Packet::Packet() [constructor]
|
||||
cls.add_constructor([])
|
||||
## packet.h: ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Packet const &', 'o')])
|
||||
## packet.h: ns3::Packet::Packet(uint32_t size) [constructor]
|
||||
cls.add_constructor([param('uint32_t', 'size')])
|
||||
## packet.h: ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
|
||||
cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
|
||||
## packet.h: void ns3::Packet::AddAtEnd(ns3::Ptr<ns3::Packet const> packet) [member function]
|
||||
cls.add_method('AddAtEnd',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Packet const >', 'packet')])
|
||||
## packet.h: void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
|
||||
cls.add_method('AddByteTag',
|
||||
'void',
|
||||
[param('ns3::Tag const &', 'tag')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
|
||||
cls.add_method('AddHeader',
|
||||
'void',
|
||||
[param('ns3::Header const &', 'header')])
|
||||
## packet.h: void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
|
||||
cls.add_method('AddPacketTag',
|
||||
'void',
|
||||
[param('ns3::Tag const &', 'tag')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
|
||||
cls.add_method('AddPaddingAtEnd',
|
||||
'void',
|
||||
[param('uint32_t', 'size')])
|
||||
## packet.h: void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
|
||||
cls.add_method('AddTrailer',
|
||||
'void',
|
||||
[param('ns3::Trailer const &', 'trailer')])
|
||||
## packet.h: ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
|
||||
cls.add_method('BeginItem',
|
||||
'ns3::PacketMetadata::ItemIterator',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::Packet >',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
|
||||
cls.add_method('CopyData',
|
||||
'uint32_t',
|
||||
[param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
|
||||
cls.add_method('CopyData',
|
||||
'void',
|
||||
[param('std::ostream *', 'os'), param('uint32_t', 'size')],
|
||||
is_const=True)
|
||||
## packet.h: ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
|
||||
cls.add_method('CreateFragment',
|
||||
'ns3::Ptr< ns3::Packet >',
|
||||
[param('uint32_t', 'start'), param('uint32_t', 'length')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::Deserialize(ns3::Buffer buffer) [member function]
|
||||
cls.add_method('Deserialize',
|
||||
'void',
|
||||
[param('ns3::Buffer', 'buffer')])
|
||||
## packet.h: static void ns3::Packet::EnableChecking() [member function]
|
||||
cls.add_method('EnableChecking',
|
||||
'void',
|
||||
[],
|
||||
is_static=True)
|
||||
## packet.h: static void ns3::Packet::EnablePrinting() [member function]
|
||||
cls.add_method('EnablePrinting',
|
||||
'void',
|
||||
[],
|
||||
is_static=True)
|
||||
## packet.h: bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
|
||||
cls.add_method('FindFirstMatchingByteTag',
|
||||
'bool',
|
||||
[param('ns3::Tag &', 'tag')],
|
||||
is_const=True)
|
||||
## packet.h: ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
|
||||
cls.add_method('GetByteTagIterator',
|
||||
'ns3::ByteTagIterator',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
|
||||
cls.add_method('GetNixVector',
|
||||
'ns3::Ptr< ns3::NixVector >',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
|
||||
cls.add_method('GetPacketTagIterator',
|
||||
'ns3::PacketTagIterator',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: uint32_t ns3::Packet::GetSize() const [member function]
|
||||
cls.add_method('GetSize',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: uint32_t ns3::Packet::GetUid() const [member function]
|
||||
cls.add_method('GetUid',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: uint8_t const * ns3::Packet::PeekData() const [member function]
|
||||
cls.add_method('PeekData',
|
||||
'uint8_t const *',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
|
||||
cls.add_method('PeekHeader',
|
||||
'uint32_t',
|
||||
[param('ns3::Header &', 'header')],
|
||||
is_const=True)
|
||||
## packet.h: bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
|
||||
cls.add_method('PeekPacketTag',
|
||||
'bool',
|
||||
[param('ns3::Tag &', 'tag')],
|
||||
is_const=True)
|
||||
## packet.h: uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
|
||||
cls.add_method('PeekTrailer',
|
||||
'uint32_t',
|
||||
[param('ns3::Trailer &', 'trailer')])
|
||||
## packet.h: void ns3::Packet::Print(std::ostream & os) const [member function]
|
||||
cls.add_method('Print',
|
||||
'void',
|
||||
[param('std::ostream &', 'os')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
|
||||
cls.add_method('PrintByteTags',
|
||||
'void',
|
||||
[param('std::ostream &', 'os')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
|
||||
cls.add_method('PrintPacketTags',
|
||||
'void',
|
||||
[param('std::ostream &', 'os')],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::RemoveAllByteTags() [member function]
|
||||
cls.add_method('RemoveAllByteTags',
|
||||
'void',
|
||||
[])
|
||||
## packet.h: void ns3::Packet::RemoveAllPacketTags() [member function]
|
||||
cls.add_method('RemoveAllPacketTags',
|
||||
'void',
|
||||
[])
|
||||
## packet.h: void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
|
||||
cls.add_method('RemoveAtEnd',
|
||||
'void',
|
||||
[param('uint32_t', 'size')])
|
||||
## packet.h: void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
|
||||
cls.add_method('RemoveAtStart',
|
||||
'void',
|
||||
[param('uint32_t', 'size')])
|
||||
## packet.h: uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
|
||||
cls.add_method('RemoveHeader',
|
||||
'uint32_t',
|
||||
[param('ns3::Header &', 'header')])
|
||||
## packet.h: bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
|
||||
cls.add_method('RemovePacketTag',
|
||||
'bool',
|
||||
[param('ns3::Tag &', 'tag')])
|
||||
## packet.h: uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
|
||||
cls.add_method('RemoveTrailer',
|
||||
'uint32_t',
|
||||
[param('ns3::Trailer &', 'trailer')])
|
||||
## packet.h: ns3::Buffer ns3::Packet::Serialize() const [member function]
|
||||
cls.add_method('Serialize',
|
||||
'ns3::Buffer',
|
||||
[],
|
||||
is_const=True)
|
||||
## packet.h: void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
|
||||
cls.add_method('SetNixVector',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::NixVector >', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3RateErrorModel_methods(root_module, cls):
|
||||
## error-model.h: ns3::RateErrorModel::RateErrorModel(ns3::RateErrorModel const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RateErrorModel const &', 'arg0')])
|
||||
@@ -1447,7 +1471,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -1462,9 +1488,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -58,12 +58,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -94,10 +106,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -501,7 +521,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -516,9 +538,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -34,12 +34,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -70,10 +82,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -444,7 +464,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -459,9 +481,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -3,6 +3,8 @@ from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandler
|
||||
def register_types(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::dot11s::IeBeaconTimingUnit, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::dot11s::IeBeaconTimingUnit', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
|
||||
## Register a nested module for the namespace Config
|
||||
|
||||
@@ -22,12 +24,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -58,6 +72,10 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -82,7 +100,7 @@ def register_types_ns3_dot11s(module):
|
||||
## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTiming [class]
|
||||
module.add_class('IeBeaconTiming', parent=root_module['ns3::WifiInformationElement'])
|
||||
## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTimingUnit [class]
|
||||
module.add_class('IeBeaconTimingUnit', parent=root_module['ns3::RefCountBase'])
|
||||
module.add_class('IeBeaconTimingUnit', parent=root_module['ns3::SimpleRefCount< ns3::dot11s::IeBeaconTimingUnit, ns3::empty >'])
|
||||
## ie-dot11s-configuration.h: ns3::dot11s::IeConfiguration [class]
|
||||
module.add_class('IeConfiguration', parent=root_module['ns3::WifiInformationElement'])
|
||||
## ie-dot11s-id.h: ns3::dot11s::IeMeshId [class]
|
||||
@@ -102,6 +120,10 @@ def register_types_ns3_dot11s(module):
|
||||
## peer-management-protocol.h: ns3::dot11s::PeerManagementProtocol [class]
|
||||
module.add_class('PeerManagementProtocol', parent=root_module['ns3::Object'])
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -773,7 +795,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -788,6 +812,9 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
## ie-dot11s-id.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::dot11s::MakeIeMeshIdChecker() [free function]
|
||||
module.add_function('MakeIeMeshIdChecker',
|
||||
@@ -795,6 +822,9 @@ def register_functions_ns3_dot11s(module, root_module):
|
||||
[])
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -0,0 +1,193 @@
|
||||
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
|
||||
|
||||
def register_types(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
## Register a nested module for the namespace Config
|
||||
|
||||
nested_module = module.add_cpp_namespace('Config')
|
||||
register_types_ns3_Config(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace TimeStepPrecision
|
||||
|
||||
nested_module = module.add_cpp_namespace('TimeStepPrecision')
|
||||
register_types_ns3_TimeStepPrecision(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace addressUtils
|
||||
|
||||
nested_module = module.add_cpp_namespace('addressUtils')
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
register_types_ns3_flame(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace internal
|
||||
|
||||
nested_module = module.add_cpp_namespace('internal')
|
||||
register_types_ns3_internal(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace olsr
|
||||
|
||||
nested_module = module.add_cpp_namespace('olsr')
|
||||
register_types_ns3_olsr(nested_module)
|
||||
|
||||
|
||||
def register_types_ns3_Config(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_TimeStepPrecision(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
## dpd.h: ns3::dpd::DuplicatePacketDetection [class]
|
||||
module.add_class('DuplicatePacketDetection')
|
||||
## id-cache.h: ns3::dpd::IdCache [class]
|
||||
module.add_class('IdCache')
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_internal(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_olsr(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_methods(root_module):
|
||||
register_Ns3DpdDuplicatePacketDetection_methods(root_module, root_module['ns3::dpd::DuplicatePacketDetection'])
|
||||
register_Ns3DpdIdCache_methods(root_module, root_module['ns3::dpd::IdCache'])
|
||||
return
|
||||
|
||||
def register_Ns3DpdDuplicatePacketDetection_methods(root_module, cls):
|
||||
## dpd.h: ns3::dpd::DuplicatePacketDetection::DuplicatePacketDetection(ns3::dpd::DuplicatePacketDetection const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::dpd::DuplicatePacketDetection const &', 'arg0')])
|
||||
## dpd.h: ns3::dpd::DuplicatePacketDetection::DuplicatePacketDetection(ns3::Time lifetime) [constructor]
|
||||
cls.add_constructor([param('ns3::Time', 'lifetime')])
|
||||
## dpd.h: ns3::Time ns3::dpd::DuplicatePacketDetection::GetLifetime() const [member function]
|
||||
cls.add_method('GetLifetime',
|
||||
'ns3::Time',
|
||||
[],
|
||||
is_const=True)
|
||||
## dpd.h: bool ns3::dpd::DuplicatePacketDetection::IsDuplicate(ns3::Ptr<ns3::Packet const> p, ns3::Ipv4Header const & header) [member function]
|
||||
cls.add_method('IsDuplicate',
|
||||
'bool',
|
||||
[param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header')])
|
||||
## dpd.h: void ns3::dpd::DuplicatePacketDetection::SetLifetime(ns3::Time lifetime) [member function]
|
||||
cls.add_method('SetLifetime',
|
||||
'void',
|
||||
[param('ns3::Time', 'lifetime')])
|
||||
return
|
||||
|
||||
def register_Ns3DpdIdCache_methods(root_module, cls):
|
||||
## id-cache.h: ns3::dpd::IdCache::IdCache(ns3::dpd::IdCache const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::dpd::IdCache const &', 'arg0')])
|
||||
## id-cache.h: ns3::dpd::IdCache::IdCache(ns3::Time lifetime) [constructor]
|
||||
cls.add_constructor([param('ns3::Time', 'lifetime')])
|
||||
## id-cache.h: ns3::Time ns3::dpd::IdCache::GetLifeTime() const [member function]
|
||||
cls.add_method('GetLifeTime',
|
||||
'ns3::Time',
|
||||
[],
|
||||
is_const=True)
|
||||
## id-cache.h: uint32_t ns3::dpd::IdCache::GetSize() [member function]
|
||||
cls.add_method('GetSize',
|
||||
'uint32_t',
|
||||
[])
|
||||
## id-cache.h: bool ns3::dpd::IdCache::IsDuplicate(ns3::Ipv4Address addr, uint32_t id) [member function]
|
||||
cls.add_method('IsDuplicate',
|
||||
'bool',
|
||||
[param('ns3::Ipv4Address', 'addr'), param('uint32_t', 'id')])
|
||||
## id-cache.h: void ns3::dpd::IdCache::Purge() [member function]
|
||||
cls.add_method('Purge',
|
||||
'void',
|
||||
[])
|
||||
## id-cache.h: void ns3::dpd::IdCache::SetLifetime(ns3::Time lifetime) [member function]
|
||||
cls.add_method('SetLifetime',
|
||||
'void',
|
||||
[param('ns3::Time', 'lifetime')])
|
||||
return
|
||||
|
||||
def register_functions(root_module):
|
||||
module = root_module
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
return
|
||||
|
||||
def register_functions_ns3_Config(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_internal(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_olsr(module, root_module):
|
||||
return
|
||||
|
||||
@@ -24,12 +24,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -60,10 +72,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -238,7 +258,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -253,9 +275,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -22,12 +22,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -58,10 +70,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -171,7 +191,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -186,9 +208,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -5,10 +5,18 @@ def register_types(module):
|
||||
|
||||
## histogram.h: ns3::Histogram [class]
|
||||
module.add_class('Histogram')
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::FlowClassifier, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::FlowClassifier', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::FlowProbe, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::FlowProbe', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
## flow-classifier.h: ns3::FlowClassifier [class]
|
||||
module.add_class('FlowClassifier', parent=root_module['ns3::RefCountBase'])
|
||||
module.add_class('FlowClassifier', parent=root_module['ns3::SimpleRefCount< ns3::FlowClassifier, ns3::empty >'])
|
||||
## flow-monitor.h: ns3::FlowMonitor [class]
|
||||
module.add_class('FlowMonitor', parent=root_module['ns3::Object'])
|
||||
## flow-monitor.h: ns3::FlowMonitor::FlowStats [struct]
|
||||
module.add_class('FlowStats', outer_class=root_module['ns3::FlowMonitor'])
|
||||
## flow-probe.h: ns3::FlowProbe [class]
|
||||
module.add_class('FlowProbe', parent=root_module['ns3::RefCountBase'])
|
||||
module.add_class('FlowProbe', parent=root_module['ns3::SimpleRefCount< ns3::FlowProbe, ns3::empty >'])
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats [struct]
|
||||
module.add_class('FlowStats', outer_class=root_module['ns3::FlowProbe'])
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier [class]
|
||||
@@ -19,12 +27,8 @@ def register_types(module):
|
||||
module.add_class('Ipv4FlowProbe', parent=root_module['ns3::FlowProbe'])
|
||||
## ipv4-flow-probe.h: ns3::Ipv4FlowProbe::DropReason [enumeration]
|
||||
module.add_enum('DropReason', ['DROP_NO_ROUTE', 'DROP_TTL_EXPIRE', 'DROP_BAD_CHECKSUM', 'DROP_INVALID_REASON'], outer_class=root_module['ns3::Ipv4FlowProbe'])
|
||||
## flow-monitor.h: ns3::FlowMonitor [class]
|
||||
module.add_class('FlowMonitor', parent=root_module['ns3::Object'])
|
||||
## flow-monitor.h: ns3::FlowMonitor::FlowStats [struct]
|
||||
module.add_class('FlowStats', outer_class=root_module['ns3::FlowMonitor'])
|
||||
module.add_container('std::map< unsigned int, ns3::FlowProbe::FlowStats >', ('unsigned int', 'ns3::FlowProbe::FlowStats'), container_type='map')
|
||||
module.add_container('std::map< unsigned int, ns3::FlowMonitor::FlowStats >', ('unsigned int', 'ns3::FlowMonitor::FlowStats'), container_type='map')
|
||||
module.add_container('std::map< unsigned int, ns3::FlowProbe::FlowStats >', ('unsigned int', 'ns3::FlowProbe::FlowStats'), container_type='map')
|
||||
typehandlers.add_type_alias('uint32_t', 'ns3::FlowPacketId')
|
||||
typehandlers.add_type_alias('uint32_t*', 'ns3::FlowPacketId*')
|
||||
typehandlers.add_type_alias('uint32_t&', 'ns3::FlowPacketId&')
|
||||
@@ -50,12 +54,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -86,10 +102,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -105,13 +129,13 @@ def register_types_ns3_olsr(module):
|
||||
def register_methods(root_module):
|
||||
register_Ns3Histogram_methods(root_module, root_module['ns3::Histogram'])
|
||||
register_Ns3FlowClassifier_methods(root_module, root_module['ns3::FlowClassifier'])
|
||||
register_Ns3FlowMonitor_methods(root_module, root_module['ns3::FlowMonitor'])
|
||||
register_Ns3FlowMonitorFlowStats_methods(root_module, root_module['ns3::FlowMonitor::FlowStats'])
|
||||
register_Ns3FlowProbe_methods(root_module, root_module['ns3::FlowProbe'])
|
||||
register_Ns3FlowProbeFlowStats_methods(root_module, root_module['ns3::FlowProbe::FlowStats'])
|
||||
register_Ns3Ipv4FlowClassifier_methods(root_module, root_module['ns3::Ipv4FlowClassifier'])
|
||||
register_Ns3Ipv4FlowClassifierFiveTuple_methods(root_module, root_module['ns3::Ipv4FlowClassifier::FiveTuple'])
|
||||
register_Ns3Ipv4FlowProbe_methods(root_module, root_module['ns3::Ipv4FlowProbe'])
|
||||
register_Ns3FlowMonitor_methods(root_module, root_module['ns3::FlowMonitor'])
|
||||
register_Ns3FlowMonitorFlowStats_methods(root_module, root_module['ns3::FlowMonitor::FlowStats'])
|
||||
return
|
||||
|
||||
def register_Ns3Histogram_methods(root_module, cls):
|
||||
@@ -175,96 +199,6 @@ def register_Ns3FlowClassifier_methods(root_module, cls):
|
||||
visibility='protected')
|
||||
return
|
||||
|
||||
def register_Ns3FlowProbe_methods(root_module, cls):
|
||||
## flow-probe.h: ns3::FlowProbe::FlowProbe(ns3::FlowProbe const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::FlowProbe const &', 'arg0')])
|
||||
## flow-probe.h: void ns3::FlowProbe::AddPacketDropStats(ns3::FlowId flowId, uint32_t packetSize, uint32_t reasonCode) [member function]
|
||||
cls.add_method('AddPacketDropStats',
|
||||
'void',
|
||||
[param('ns3::FlowId', 'flowId'), param('uint32_t', 'packetSize'), param('uint32_t', 'reasonCode')])
|
||||
## flow-probe.h: void ns3::FlowProbe::AddPacketStats(ns3::FlowId flowId, uint32_t packetSize, ns3::Time delayFromFirstProbe) [member function]
|
||||
cls.add_method('AddPacketStats',
|
||||
'void',
|
||||
[param('ns3::FlowId', 'flowId'), param('uint32_t', 'packetSize'), param('ns3::Time', 'delayFromFirstProbe')])
|
||||
## flow-probe.h: std::map<unsigned int, ns3::FlowProbe::FlowStats, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, ns3::FlowProbe::FlowStats> > > ns3::FlowProbe::GetStats() const [member function]
|
||||
cls.add_method('GetStats',
|
||||
'std::map< unsigned int, ns3::FlowProbe::FlowStats >',
|
||||
[],
|
||||
is_const=True)
|
||||
## flow-probe.h: void ns3::FlowProbe::SerializeToXmlStream(std::ostream & os, int indent, uint32_t index) const [member function]
|
||||
cls.add_method('SerializeToXmlStream',
|
||||
'void',
|
||||
[param('std::ostream &', 'os'), param('int', 'indent'), param('uint32_t', 'index')],
|
||||
is_const=True)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowProbe(ns3::Ptr<ns3::FlowMonitor> flowMonitor) [constructor]
|
||||
cls.add_constructor([param('ns3::Ptr< ns3::FlowMonitor >', 'flowMonitor')],
|
||||
visibility='protected')
|
||||
return
|
||||
|
||||
def register_Ns3FlowProbeFlowStats_methods(root_module, cls):
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::FlowStats(ns3::FlowProbe::FlowStats const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::FlowProbe::FlowStats const &', 'arg0')])
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::FlowStats() [constructor]
|
||||
cls.add_constructor([])
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::bytes [variable]
|
||||
cls.add_instance_attribute('bytes', 'uint64_t', is_const=False)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::bytesDropped [variable]
|
||||
cls.add_instance_attribute('bytesDropped', 'std::vector< unsigned long >', is_const=False)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::delayFromFirstProbeSum [variable]
|
||||
cls.add_instance_attribute('delayFromFirstProbeSum', 'ns3::Time', is_const=False)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::packets [variable]
|
||||
cls.add_instance_attribute('packets', 'uint32_t', is_const=False)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::packetsDropped [variable]
|
||||
cls.add_instance_attribute('packetsDropped', 'std::vector< unsigned int >', is_const=False)
|
||||
return
|
||||
|
||||
def register_Ns3Ipv4FlowClassifier_methods(root_module, cls):
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::Ipv4FlowClassifier(ns3::Ipv4FlowClassifier const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Ipv4FlowClassifier const &', 'arg0')])
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::Ipv4FlowClassifier() [constructor]
|
||||
cls.add_constructor([])
|
||||
## ipv4-flow-classifier.h: bool ns3::Ipv4FlowClassifier::Classify(ns3::Ipv4Header const & ipHeader, ns3::Ptr<ns3::Packet const> ipPayload, uint32_t * out_flowId, uint32_t * out_packetId) [member function]
|
||||
cls.add_method('Classify',
|
||||
'bool',
|
||||
[param('ns3::Ipv4Header const &', 'ipHeader'), param('ns3::Ptr< ns3::Packet const >', 'ipPayload'), param('uint32_t *', 'out_flowId'), param('uint32_t *', 'out_packetId')])
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple ns3::Ipv4FlowClassifier::FindFlow(ns3::FlowId flowId) const [member function]
|
||||
cls.add_method('FindFlow',
|
||||
'ns3::Ipv4FlowClassifier::FiveTuple',
|
||||
[param('ns3::FlowId', 'flowId')],
|
||||
is_const=True)
|
||||
## ipv4-flow-classifier.h: void ns3::Ipv4FlowClassifier::SerializeToXmlStream(std::ostream & os, int indent) const [member function]
|
||||
cls.add_method('SerializeToXmlStream',
|
||||
'void',
|
||||
[param('std::ostream &', 'os'), param('int', 'indent')],
|
||||
is_const=True, is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3Ipv4FlowClassifierFiveTuple_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('<')
|
||||
cls.add_binary_comparison_operator('==')
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::FiveTuple() [constructor]
|
||||
cls.add_constructor([])
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::FiveTuple(ns3::Ipv4FlowClassifier::FiveTuple const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Ipv4FlowClassifier::FiveTuple const &', 'arg0')])
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::destinationAddress [variable]
|
||||
cls.add_instance_attribute('destinationAddress', 'ns3::Ipv4Address', is_const=False)
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::destinationPort [variable]
|
||||
cls.add_instance_attribute('destinationPort', 'uint16_t', is_const=False)
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::protocol [variable]
|
||||
cls.add_instance_attribute('protocol', 'uint8_t', is_const=False)
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::sourceAddress [variable]
|
||||
cls.add_instance_attribute('sourceAddress', 'ns3::Ipv4Address', is_const=False)
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::sourcePort [variable]
|
||||
cls.add_instance_attribute('sourcePort', 'uint16_t', is_const=False)
|
||||
return
|
||||
|
||||
def register_Ns3Ipv4FlowProbe_methods(root_module, cls):
|
||||
## ipv4-flow-probe.h: ns3::Ipv4FlowProbe::Ipv4FlowProbe(ns3::Ipv4FlowProbe const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Ipv4FlowProbe const &', 'arg0')])
|
||||
## ipv4-flow-probe.h: ns3::Ipv4FlowProbe::Ipv4FlowProbe(ns3::Ptr<ns3::FlowMonitor> monitor, ns3::Ptr<ns3::Ipv4FlowClassifier> classifier, ns3::Ptr<ns3::Node> node) [constructor]
|
||||
cls.add_constructor([param('ns3::Ptr< ns3::FlowMonitor >', 'monitor'), param('ns3::Ptr< ns3::Ipv4FlowClassifier >', 'classifier'), param('ns3::Ptr< ns3::Node >', 'node')])
|
||||
return
|
||||
|
||||
def register_Ns3FlowMonitor_methods(root_module, cls):
|
||||
## flow-monitor.h: ns3::FlowMonitor::FlowMonitor(ns3::FlowMonitor const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::FlowMonitor const &', 'arg0')])
|
||||
@@ -400,12 +334,104 @@ def register_Ns3FlowMonitorFlowStats_methods(root_module, cls):
|
||||
cls.add_instance_attribute('txPackets', 'uint32_t', is_const=False)
|
||||
return
|
||||
|
||||
def register_Ns3FlowProbe_methods(root_module, cls):
|
||||
## flow-probe.h: ns3::FlowProbe::FlowProbe(ns3::FlowProbe const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::FlowProbe const &', 'arg0')])
|
||||
## flow-probe.h: void ns3::FlowProbe::AddPacketDropStats(ns3::FlowId flowId, uint32_t packetSize, uint32_t reasonCode) [member function]
|
||||
cls.add_method('AddPacketDropStats',
|
||||
'void',
|
||||
[param('ns3::FlowId', 'flowId'), param('uint32_t', 'packetSize'), param('uint32_t', 'reasonCode')])
|
||||
## flow-probe.h: void ns3::FlowProbe::AddPacketStats(ns3::FlowId flowId, uint32_t packetSize, ns3::Time delayFromFirstProbe) [member function]
|
||||
cls.add_method('AddPacketStats',
|
||||
'void',
|
||||
[param('ns3::FlowId', 'flowId'), param('uint32_t', 'packetSize'), param('ns3::Time', 'delayFromFirstProbe')])
|
||||
## flow-probe.h: std::map<unsigned int, ns3::FlowProbe::FlowStats, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, ns3::FlowProbe::FlowStats> > > ns3::FlowProbe::GetStats() const [member function]
|
||||
cls.add_method('GetStats',
|
||||
'std::map< unsigned int, ns3::FlowProbe::FlowStats >',
|
||||
[],
|
||||
is_const=True)
|
||||
## flow-probe.h: void ns3::FlowProbe::SerializeToXmlStream(std::ostream & os, int indent, uint32_t index) const [member function]
|
||||
cls.add_method('SerializeToXmlStream',
|
||||
'void',
|
||||
[param('std::ostream &', 'os'), param('int', 'indent'), param('uint32_t', 'index')],
|
||||
is_const=True)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowProbe(ns3::Ptr<ns3::FlowMonitor> flowMonitor) [constructor]
|
||||
cls.add_constructor([param('ns3::Ptr< ns3::FlowMonitor >', 'flowMonitor')],
|
||||
visibility='protected')
|
||||
return
|
||||
|
||||
def register_Ns3FlowProbeFlowStats_methods(root_module, cls):
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::FlowStats(ns3::FlowProbe::FlowStats const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::FlowProbe::FlowStats const &', 'arg0')])
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::FlowStats() [constructor]
|
||||
cls.add_constructor([])
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::bytes [variable]
|
||||
cls.add_instance_attribute('bytes', 'uint64_t', is_const=False)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::bytesDropped [variable]
|
||||
cls.add_instance_attribute('bytesDropped', 'std::vector< unsigned long >', is_const=False)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::delayFromFirstProbeSum [variable]
|
||||
cls.add_instance_attribute('delayFromFirstProbeSum', 'ns3::Time', is_const=False)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::packets [variable]
|
||||
cls.add_instance_attribute('packets', 'uint32_t', is_const=False)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::packetsDropped [variable]
|
||||
cls.add_instance_attribute('packetsDropped', 'std::vector< unsigned int >', is_const=False)
|
||||
return
|
||||
|
||||
def register_Ns3Ipv4FlowClassifier_methods(root_module, cls):
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::Ipv4FlowClassifier(ns3::Ipv4FlowClassifier const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Ipv4FlowClassifier const &', 'arg0')])
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::Ipv4FlowClassifier() [constructor]
|
||||
cls.add_constructor([])
|
||||
## ipv4-flow-classifier.h: bool ns3::Ipv4FlowClassifier::Classify(ns3::Ipv4Header const & ipHeader, ns3::Ptr<ns3::Packet const> ipPayload, uint32_t * out_flowId, uint32_t * out_packetId) [member function]
|
||||
cls.add_method('Classify',
|
||||
'bool',
|
||||
[param('ns3::Ipv4Header const &', 'ipHeader'), param('ns3::Ptr< ns3::Packet const >', 'ipPayload'), param('uint32_t *', 'out_flowId'), param('uint32_t *', 'out_packetId')])
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple ns3::Ipv4FlowClassifier::FindFlow(ns3::FlowId flowId) const [member function]
|
||||
cls.add_method('FindFlow',
|
||||
'ns3::Ipv4FlowClassifier::FiveTuple',
|
||||
[param('ns3::FlowId', 'flowId')],
|
||||
is_const=True)
|
||||
## ipv4-flow-classifier.h: void ns3::Ipv4FlowClassifier::SerializeToXmlStream(std::ostream & os, int indent) const [member function]
|
||||
cls.add_method('SerializeToXmlStream',
|
||||
'void',
|
||||
[param('std::ostream &', 'os'), param('int', 'indent')],
|
||||
is_const=True, is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3Ipv4FlowClassifierFiveTuple_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('<')
|
||||
cls.add_binary_comparison_operator('==')
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::FiveTuple() [constructor]
|
||||
cls.add_constructor([])
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::FiveTuple(ns3::Ipv4FlowClassifier::FiveTuple const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Ipv4FlowClassifier::FiveTuple const &', 'arg0')])
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::destinationAddress [variable]
|
||||
cls.add_instance_attribute('destinationAddress', 'ns3::Ipv4Address', is_const=False)
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::destinationPort [variable]
|
||||
cls.add_instance_attribute('destinationPort', 'uint16_t', is_const=False)
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::protocol [variable]
|
||||
cls.add_instance_attribute('protocol', 'uint8_t', is_const=False)
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::sourceAddress [variable]
|
||||
cls.add_instance_attribute('sourceAddress', 'ns3::Ipv4Address', is_const=False)
|
||||
## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::sourcePort [variable]
|
||||
cls.add_instance_attribute('sourcePort', 'uint16_t', is_const=False)
|
||||
return
|
||||
|
||||
def register_Ns3Ipv4FlowProbe_methods(root_module, cls):
|
||||
## ipv4-flow-probe.h: ns3::Ipv4FlowProbe::Ipv4FlowProbe(ns3::Ipv4FlowProbe const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Ipv4FlowProbe const &', 'arg0')])
|
||||
## ipv4-flow-probe.h: ns3::Ipv4FlowProbe::Ipv4FlowProbe(ns3::Ptr<ns3::FlowMonitor> monitor, ns3::Ptr<ns3::Ipv4FlowClassifier> classifier, ns3::Ptr<ns3::Node> node) [constructor]
|
||||
cls.add_constructor([param('ns3::Ptr< ns3::FlowMonitor >', 'monitor'), param('ns3::Ptr< ns3::Ipv4FlowClassifier >', 'classifier'), param('ns3::Ptr< ns3::Node >', 'node')])
|
||||
return
|
||||
|
||||
def register_functions(root_module):
|
||||
module = root_module
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -420,9 +446,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -38,12 +38,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -74,10 +86,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -410,7 +430,7 @@ def register_Ns3Ipv4GlobalRouting_methods(root_module, cls):
|
||||
cls.add_method('RemoveRoute',
|
||||
'void',
|
||||
[param('uint32_t', 'i')])
|
||||
## ipv4-global-routing.h: bool ns3::Ipv4GlobalRouting::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]
|
||||
## ipv4-global-routing.h: bool ns3::Ipv4GlobalRouting::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<ns3::Packet const>, ns3::Ipv4Header const&, 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<ns3::Packet const>, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function]
|
||||
cls.add_method('RouteInput',
|
||||
'bool',
|
||||
[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')],
|
||||
@@ -437,7 +457,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -452,9 +474,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -77,6 +77,8 @@ def register_types(module):
|
||||
module.add_class('YansWifiPhyHelper', allow_subclassing=False, parent=root_module['ns3::WifiPhyHelper'])
|
||||
## yans-wifi-helper.h: ns3::YansWifiPhyHelper::PcapFormat [enumeration]
|
||||
module.add_enum('PcapFormat', ['PCAP_FORMAT_80211', 'PCAP_FORMAT_80211_PRISM', 'PCAP_FORMAT_80211_RADIOTAP'], outer_class=root_module['ns3::YansWifiPhyHelper'])
|
||||
## aodv-helper.h: ns3::AodvHelper [class]
|
||||
module.add_class('AodvHelper', allow_subclassing=False, parent=root_module['ns3::Ipv4RoutingHelper'])
|
||||
## ipv4-global-routing-helper.h: ns3::Ipv4GlobalRoutingHelper [class]
|
||||
module.add_class('Ipv4GlobalRoutingHelper', allow_subclassing=False, parent=root_module['ns3::Ipv4RoutingHelper'])
|
||||
## ipv4-list-routing-helper.h: ns3::Ipv4ListRoutingHelper [class]
|
||||
@@ -116,12 +118,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -152,10 +166,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -204,6 +226,7 @@ def register_methods(root_module):
|
||||
register_Ns3WifiPhyHelper_methods(root_module, root_module['ns3::WifiPhyHelper'])
|
||||
register_Ns3YansWifiChannelHelper_methods(root_module, root_module['ns3::YansWifiChannelHelper'])
|
||||
register_Ns3YansWifiPhyHelper_methods(root_module, root_module['ns3::YansWifiPhyHelper'])
|
||||
register_Ns3AodvHelper_methods(root_module, root_module['ns3::AodvHelper'])
|
||||
register_Ns3Ipv4GlobalRoutingHelper_methods(root_module, root_module['ns3::Ipv4GlobalRoutingHelper'])
|
||||
register_Ns3Ipv4ListRoutingHelper_methods(root_module, root_module['ns3::Ipv4ListRoutingHelper'])
|
||||
register_Ns3Ipv4NixVectorHelper_methods(root_module, root_module['ns3::Ipv4NixVectorHelper'])
|
||||
@@ -1446,6 +1469,10 @@ def register_Ns3V4PingHelper_methods(root_module, cls):
|
||||
'ns3::ApplicationContainer',
|
||||
[param('std::string', 'nodeName')],
|
||||
is_const=True)
|
||||
## v4ping-helper.h: void ns3::V4PingHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
|
||||
cls.add_method('SetAttribute',
|
||||
'void',
|
||||
[param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3WifiHelper_methods(root_module, cls):
|
||||
@@ -1618,6 +1645,27 @@ def register_Ns3YansWifiPhyHelper_methods(root_module, cls):
|
||||
is_const=True, visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3AodvHelper_methods(root_module, cls):
|
||||
## aodv-helper.h: ns3::AodvHelper::AodvHelper(ns3::AodvHelper const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::AodvHelper const &', 'arg0')])
|
||||
## aodv-helper.h: ns3::AodvHelper::AodvHelper() [constructor]
|
||||
cls.add_constructor([])
|
||||
## aodv-helper.h: ns3::AodvHelper * ns3::AodvHelper::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::AodvHelper *',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## aodv-helper.h: ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::AodvHelper::Create(ns3::Ptr<ns3::Node> node) const [member function]
|
||||
cls.add_method('Create',
|
||||
'ns3::Ptr< ns3::Ipv4RoutingProtocol >',
|
||||
[param('ns3::Ptr< ns3::Node >', 'node')],
|
||||
is_const=True, is_virtual=True)
|
||||
## aodv-helper.h: void ns3::AodvHelper::Set(std::string name, ns3::AttributeValue const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3Ipv4GlobalRoutingHelper_methods(root_module, cls):
|
||||
## ipv4-global-routing-helper.h: ns3::Ipv4GlobalRoutingHelper::Ipv4GlobalRoutingHelper() [constructor]
|
||||
cls.add_constructor([])
|
||||
@@ -1897,7 +1945,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -1912,9 +1962,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -71,6 +71,8 @@ def register_types(module):
|
||||
module.add_class('Icmpv6DestinationUnreachable', parent=root_module['ns3::Icmpv6Header'])
|
||||
## icmpv6-header.h: ns3::Icmpv6Echo [class]
|
||||
module.add_class('Icmpv6Echo', parent=root_module['ns3::Icmpv6Header'])
|
||||
## ipv4-interface.h: ns3::Ipv4Interface [class]
|
||||
module.add_class('Ipv4Interface', parent=root_module['ns3::Object'])
|
||||
## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol [class]
|
||||
module.add_class('Ipv4L3Protocol', parent=root_module['ns3::Ipv4'])
|
||||
## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol::DropReason [enumeration]
|
||||
@@ -118,12 +120,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -154,10 +168,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -196,6 +218,7 @@ def register_methods(root_module):
|
||||
register_Ns3ArpL3Protocol_methods(root_module, root_module['ns3::ArpL3Protocol'])
|
||||
register_Ns3Icmpv6DestinationUnreachable_methods(root_module, root_module['ns3::Icmpv6DestinationUnreachable'])
|
||||
register_Ns3Icmpv6Echo_methods(root_module, root_module['ns3::Icmpv6Echo'])
|
||||
register_Ns3Ipv4Interface_methods(root_module, root_module['ns3::Ipv4Interface'])
|
||||
register_Ns3Ipv4L3Protocol_methods(root_module, root_module['ns3::Ipv4L3Protocol'])
|
||||
register_Ns3Ipv4L4Protocol_methods(root_module, root_module['ns3::Ipv4L4Protocol'])
|
||||
register_Ns3Ipv6L3Protocol_methods(root_module, root_module['ns3::Ipv6L3Protocol'])
|
||||
@@ -1816,6 +1839,103 @@ def register_Ns3Icmpv6Echo_methods(root_module, cls):
|
||||
[param('uint16_t', 'seq')])
|
||||
return
|
||||
|
||||
def register_Ns3Ipv4Interface_methods(root_module, cls):
|
||||
## ipv4-interface.h: ns3::Ipv4Interface::Ipv4Interface(ns3::Ipv4Interface const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Ipv4Interface const &', 'arg0')])
|
||||
## ipv4-interface.h: ns3::Ipv4Interface::Ipv4Interface() [constructor]
|
||||
cls.add_constructor([])
|
||||
## ipv4-interface.h: bool ns3::Ipv4Interface::AddAddress(ns3::Ipv4InterfaceAddress address) [member function]
|
||||
cls.add_method('AddAddress',
|
||||
'bool',
|
||||
[param('ns3::Ipv4InterfaceAddress', 'address')])
|
||||
## ipv4-interface.h: ns3::Ipv4InterfaceAddress ns3::Ipv4Interface::GetAddress(uint32_t index) const [member function]
|
||||
cls.add_method('GetAddress',
|
||||
'ns3::Ipv4InterfaceAddress',
|
||||
[param('uint32_t', 'index')],
|
||||
is_const=True)
|
||||
## ipv4-interface.h: ns3::Ptr<ns3::ArpCache> ns3::Ipv4Interface::GetArpCache() const [member function]
|
||||
cls.add_method('GetArpCache',
|
||||
'ns3::Ptr< ns3::ArpCache >',
|
||||
[],
|
||||
is_const=True)
|
||||
## ipv4-interface.h: ns3::Ptr<ns3::NetDevice> ns3::Ipv4Interface::GetDevice() const [member function]
|
||||
cls.add_method('GetDevice',
|
||||
'ns3::Ptr< ns3::NetDevice >',
|
||||
[],
|
||||
is_const=True)
|
||||
## ipv4-interface.h: uint16_t ns3::Ipv4Interface::GetMetric() const [member function]
|
||||
cls.add_method('GetMetric',
|
||||
'uint16_t',
|
||||
[],
|
||||
is_const=True)
|
||||
## ipv4-interface.h: uint32_t ns3::Ipv4Interface::GetNAddresses() const [member function]
|
||||
cls.add_method('GetNAddresses',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True)
|
||||
## ipv4-interface.h: static ns3::TypeId ns3::Ipv4Interface::GetTypeId() [member function]
|
||||
cls.add_method('GetTypeId',
|
||||
'ns3::TypeId',
|
||||
[],
|
||||
is_static=True)
|
||||
## ipv4-interface.h: bool ns3::Ipv4Interface::IsDown() const [member function]
|
||||
cls.add_method('IsDown',
|
||||
'bool',
|
||||
[],
|
||||
is_const=True)
|
||||
## ipv4-interface.h: bool ns3::Ipv4Interface::IsForwarding() const [member function]
|
||||
cls.add_method('IsForwarding',
|
||||
'bool',
|
||||
[],
|
||||
is_const=True)
|
||||
## ipv4-interface.h: bool ns3::Ipv4Interface::IsUp() const [member function]
|
||||
cls.add_method('IsUp',
|
||||
'bool',
|
||||
[],
|
||||
is_const=True)
|
||||
## ipv4-interface.h: ns3::Ipv4InterfaceAddress ns3::Ipv4Interface::RemoveAddress(uint32_t index) [member function]
|
||||
cls.add_method('RemoveAddress',
|
||||
'ns3::Ipv4InterfaceAddress',
|
||||
[param('uint32_t', 'index')])
|
||||
## ipv4-interface.h: void ns3::Ipv4Interface::Send(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Address dest) [member function]
|
||||
cls.add_method('Send',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Address', 'dest')])
|
||||
## ipv4-interface.h: void ns3::Ipv4Interface::SetArpCache(ns3::Ptr<ns3::ArpCache> arg0) [member function]
|
||||
cls.add_method('SetArpCache',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::ArpCache >', 'arg0')])
|
||||
## ipv4-interface.h: void ns3::Ipv4Interface::SetDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
|
||||
cls.add_method('SetDevice',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::NetDevice >', 'device')])
|
||||
## ipv4-interface.h: void ns3::Ipv4Interface::SetDown() [member function]
|
||||
cls.add_method('SetDown',
|
||||
'void',
|
||||
[])
|
||||
## ipv4-interface.h: void ns3::Ipv4Interface::SetForwarding(bool val) [member function]
|
||||
cls.add_method('SetForwarding',
|
||||
'void',
|
||||
[param('bool', 'val')])
|
||||
## ipv4-interface.h: void ns3::Ipv4Interface::SetMetric(uint16_t metric) [member function]
|
||||
cls.add_method('SetMetric',
|
||||
'void',
|
||||
[param('uint16_t', 'metric')])
|
||||
## ipv4-interface.h: void ns3::Ipv4Interface::SetNode(ns3::Ptr<ns3::Node> node) [member function]
|
||||
cls.add_method('SetNode',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Node >', 'node')])
|
||||
## ipv4-interface.h: void ns3::Ipv4Interface::SetUp() [member function]
|
||||
cls.add_method('SetUp',
|
||||
'void',
|
||||
[])
|
||||
## ipv4-interface.h: void ns3::Ipv4Interface::DoDispose() [member function]
|
||||
cls.add_method('DoDispose',
|
||||
'void',
|
||||
[],
|
||||
visibility='protected', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3Ipv4L3Protocol_methods(root_module, cls):
|
||||
## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol::PROT_NUMBER [variable]
|
||||
cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
|
||||
@@ -2825,7 +2945,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -2840,9 +2962,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -26,12 +26,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -62,10 +74,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -128,7 +148,7 @@ def register_Ns3Ipv4ListRouting_methods(root_module, cls):
|
||||
'void',
|
||||
[param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')],
|
||||
is_virtual=True)
|
||||
## ipv4-list-routing.h: bool ns3::Ipv4ListRouting::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]
|
||||
## ipv4-list-routing.h: bool ns3::Ipv4ListRouting::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<ns3::Packet const>, ns3::Ipv4Header const&, 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<ns3::Packet const>, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function]
|
||||
cls.add_method('RouteInput',
|
||||
'bool',
|
||||
[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')],
|
||||
@@ -148,6 +168,11 @@ def register_Ns3Ipv4ListRouting_methods(root_module, cls):
|
||||
'void',
|
||||
[],
|
||||
visibility='protected', is_virtual=True)
|
||||
## ipv4-list-routing.h: void ns3::Ipv4ListRouting::DoStart() [member function]
|
||||
cls.add_method('DoStart',
|
||||
'void',
|
||||
[],
|
||||
visibility='protected', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3Ipv6ListRouting_methods(root_module, cls):
|
||||
@@ -232,7 +257,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -247,9 +274,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -7,16 +7,20 @@ def register_types(module):
|
||||
module.add_enum('WifiElementId', ['IE11S_MESH_CONFIGURATION', 'IE11S_MESH_ID', 'IE11S_LINK_METRIC_REPORT', 'IE11S_CONGESTION_NOTIFICATION', 'IE11S_PEERING_MANAGEMENT', 'IE11S_SUPP_MBSS_REG_CLASSES_CHANNELS', 'IE11S_MESH_CHANNEL_SWITCH_ANNOUNCEMENT', 'IE11S_MESH_TIM', 'IE11S_AWAKE_WINDOW', 'IE11S_BEACON_TIMING', 'IE11S_MCCAOP_SETUP_REQUEST', 'IE11S_MCCAOP_SETUP_REPLY', 'IE11S_MCCAOP_ADVERTISEMENT', 'IE11S_MCCAOP_RESERVATION_TEARDOWN', 'IE11S_PORTAL_ANNOUNCEMENT', 'IE11S_RANN', 'IE11S_PREQ', 'IE11S_PREP', 'IE11S_PERR', 'IE11S_PROXY_UPDATE', 'IE11S_PROXY_UPDATE_CONFIRMATION', 'IE11S_ABBREVIATED_HANDSHAKE', 'IE11S_MESH_PEERING_PROTOCOL_VERSION'])
|
||||
## mesh-wifi-beacon.h: ns3::MeshWifiBeacon [class]
|
||||
module.add_class('MeshWifiBeacon')
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::MeshWifiInterfaceMacPlugin, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::MeshWifiInterfaceMacPlugin', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::WifiInformationElement, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::WifiInformationElement', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
## wifi-information-element-vector.h: ns3::WifiInformationElement [class]
|
||||
module.add_class('WifiInformationElement', parent=root_module['ns3::RefCountBase'])
|
||||
## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin [class]
|
||||
module.add_class('MeshWifiInterfaceMacPlugin', parent=root_module['ns3::RefCountBase'])
|
||||
module.add_class('WifiInformationElement', parent=root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty >'])
|
||||
## wifi-information-element-vector.h: ns3::WifiInformationElementVector [class]
|
||||
module.add_class('WifiInformationElementVector', parent=root_module['ns3::Header'])
|
||||
## mesh-l2-routing-protocol.h: ns3::MeshL2RoutingProtocol [class]
|
||||
module.add_class('MeshL2RoutingProtocol', parent=root_module['ns3::Object'])
|
||||
## mesh-wifi-interface-mac.h: ns3::MeshWifiInterfaceMac [class]
|
||||
module.add_class('MeshWifiInterfaceMac', parent=root_module['ns3::WifiMac'])
|
||||
## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin [class]
|
||||
module.add_class('MeshWifiInterfaceMacPlugin', parent=root_module['ns3::SimpleRefCount< ns3::MeshWifiInterfaceMacPlugin, ns3::empty >'])
|
||||
## mesh-point-device.h: ns3::MeshPointDevice [class]
|
||||
module.add_class('MeshPointDevice', parent=root_module['ns3::NetDevice'])
|
||||
|
||||
@@ -38,12 +42,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -74,10 +90,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -93,10 +117,10 @@ def register_types_ns3_olsr(module):
|
||||
def register_methods(root_module):
|
||||
register_Ns3MeshWifiBeacon_methods(root_module, root_module['ns3::MeshWifiBeacon'])
|
||||
register_Ns3WifiInformationElement_methods(root_module, root_module['ns3::WifiInformationElement'])
|
||||
register_Ns3MeshWifiInterfaceMacPlugin_methods(root_module, root_module['ns3::MeshWifiInterfaceMacPlugin'])
|
||||
register_Ns3WifiInformationElementVector_methods(root_module, root_module['ns3::WifiInformationElementVector'])
|
||||
register_Ns3MeshL2RoutingProtocol_methods(root_module, root_module['ns3::MeshL2RoutingProtocol'])
|
||||
register_Ns3MeshWifiInterfaceMac_methods(root_module, root_module['ns3::MeshWifiInterfaceMac'])
|
||||
register_Ns3MeshWifiInterfaceMacPlugin_methods(root_module, root_module['ns3::MeshWifiInterfaceMacPlugin'])
|
||||
register_Ns3MeshPointDevice_methods(root_module, root_module['ns3::MeshPointDevice'])
|
||||
return
|
||||
|
||||
@@ -163,33 +187,6 @@ def register_Ns3WifiInformationElement_methods(root_module, cls):
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3MeshWifiInterfaceMacPlugin_methods(root_module, cls):
|
||||
## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin::MeshWifiInterfaceMacPlugin() [constructor]
|
||||
cls.add_constructor([])
|
||||
## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin::MeshWifiInterfaceMacPlugin(ns3::MeshWifiInterfaceMacPlugin const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::MeshWifiInterfaceMacPlugin const &', 'arg0')])
|
||||
## mesh-wifi-interface-mac-plugin.h: bool ns3::MeshWifiInterfaceMacPlugin::Receive(ns3::Ptr<ns3::Packet> packet, ns3::WifiMacHeader const & header) [member function]
|
||||
cls.add_method('Receive',
|
||||
'bool',
|
||||
[param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const &', 'header')],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
## mesh-wifi-interface-mac-plugin.h: void ns3::MeshWifiInterfaceMacPlugin::SetParent(ns3::Ptr<ns3::MeshWifiInterfaceMac> parent) [member function]
|
||||
cls.add_method('SetParent',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::MeshWifiInterfaceMac >', 'parent')],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
## mesh-wifi-interface-mac-plugin.h: void ns3::MeshWifiInterfaceMacPlugin::UpdateBeacon(ns3::MeshWifiBeacon & beacon) const [member function]
|
||||
cls.add_method('UpdateBeacon',
|
||||
'void',
|
||||
[param('ns3::MeshWifiBeacon &', 'beacon')],
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
## mesh-wifi-interface-mac-plugin.h: bool ns3::MeshWifiInterfaceMacPlugin::UpdateOutcomingFrame(ns3::Ptr<ns3::Packet> packet, ns3::WifiMacHeader & header, ns3::Mac48Address from, ns3::Mac48Address to) [member function]
|
||||
cls.add_method('UpdateOutcomingFrame',
|
||||
'bool',
|
||||
[param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader &', 'header'), param('ns3::Mac48Address', 'from'), param('ns3::Mac48Address', 'to')],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3WifiInformationElementVector_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('==')
|
||||
## wifi-information-element-vector.h: ns3::WifiInformationElementVector::WifiInformationElementVector(ns3::WifiInformationElementVector const & arg0) [copy constructor]
|
||||
@@ -524,6 +521,33 @@ def register_Ns3MeshWifiInterfaceMac_methods(root_module, cls):
|
||||
visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3MeshWifiInterfaceMacPlugin_methods(root_module, cls):
|
||||
## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin::MeshWifiInterfaceMacPlugin() [constructor]
|
||||
cls.add_constructor([])
|
||||
## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin::MeshWifiInterfaceMacPlugin(ns3::MeshWifiInterfaceMacPlugin const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::MeshWifiInterfaceMacPlugin const &', 'arg0')])
|
||||
## mesh-wifi-interface-mac-plugin.h: bool ns3::MeshWifiInterfaceMacPlugin::Receive(ns3::Ptr<ns3::Packet> packet, ns3::WifiMacHeader const & header) [member function]
|
||||
cls.add_method('Receive',
|
||||
'bool',
|
||||
[param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const &', 'header')],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
## mesh-wifi-interface-mac-plugin.h: void ns3::MeshWifiInterfaceMacPlugin::SetParent(ns3::Ptr<ns3::MeshWifiInterfaceMac> parent) [member function]
|
||||
cls.add_method('SetParent',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::MeshWifiInterfaceMac >', 'parent')],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
## mesh-wifi-interface-mac-plugin.h: void ns3::MeshWifiInterfaceMacPlugin::UpdateBeacon(ns3::MeshWifiBeacon & beacon) const [member function]
|
||||
cls.add_method('UpdateBeacon',
|
||||
'void',
|
||||
[param('ns3::MeshWifiBeacon &', 'beacon')],
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
## mesh-wifi-interface-mac-plugin.h: bool ns3::MeshWifiInterfaceMacPlugin::UpdateOutcomingFrame(ns3::Ptr<ns3::Packet> packet, ns3::WifiMacHeader & header, ns3::Mac48Address from, ns3::Mac48Address to) [member function]
|
||||
cls.add_method('UpdateOutcomingFrame',
|
||||
'bool',
|
||||
[param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader &', 'header'), param('ns3::Mac48Address', 'from'), param('ns3::Mac48Address', 'to')],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3MeshPointDevice_methods(root_module, cls):
|
||||
## mesh-point-device.h: ns3::MeshPointDevice::MeshPointDevice(ns3::MeshPointDevice const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::MeshPointDevice const &', 'arg0')])
|
||||
@@ -703,7 +727,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -718,9 +744,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -17,14 +17,8 @@ def register_types(module):
|
||||
module.add_class('RandomDiscPositionAllocator', parent=root_module['ns3::PositionAllocator'])
|
||||
## position-allocator.h: ns3::RandomRectanglePositionAllocator [class]
|
||||
module.add_class('RandomRectanglePositionAllocator', parent=root_module['ns3::PositionAllocator'])
|
||||
## rectangle.h: ns3::RectangleChecker [class]
|
||||
module.add_class('RectangleChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## rectangle.h: ns3::RectangleValue [class]
|
||||
module.add_class('RectangleValue', parent=root_module['ns3::AttributeValue'])
|
||||
## waypoint.h: ns3::WaypointChecker [class]
|
||||
module.add_class('WaypointChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## waypoint.h: ns3::WaypointValue [class]
|
||||
module.add_class('WaypointValue', parent=root_module['ns3::AttributeValue'])
|
||||
## position-allocator.h: ns3::UniformDiscPositionAllocator [class]
|
||||
module.add_class('UniformDiscPositionAllocator', parent=root_module['ns3::PositionAllocator'])
|
||||
## position-allocator.h: ns3::GridPositionAllocator [class]
|
||||
module.add_class('GridPositionAllocator', parent=root_module['ns3::PositionAllocator'])
|
||||
## position-allocator.h: ns3::GridPositionAllocator::LayoutType [enumeration]
|
||||
@@ -41,8 +35,16 @@ def register_types(module):
|
||||
module.add_enum('Mode', ['MODE_DISTANCE', 'MODE_TIME'], outer_class=root_module['ns3::RandomWalk2dMobilityModel'])
|
||||
## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel [class]
|
||||
module.add_class('RandomWaypointMobilityModel', parent=root_module['ns3::MobilityModel'])
|
||||
## rectangle.h: ns3::RectangleChecker [class]
|
||||
module.add_class('RectangleChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## rectangle.h: ns3::RectangleValue [class]
|
||||
module.add_class('RectangleValue', parent=root_module['ns3::AttributeValue'])
|
||||
## waypoint.h: ns3::WaypointChecker [class]
|
||||
module.add_class('WaypointChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## waypoint-mobility-model.h: ns3::WaypointMobilityModel [class]
|
||||
module.add_class('WaypointMobilityModel', parent=root_module['ns3::MobilityModel'])
|
||||
## waypoint.h: ns3::WaypointValue [class]
|
||||
module.add_class('WaypointValue', parent=root_module['ns3::AttributeValue'])
|
||||
## constant-acceleration-mobility-model.h: ns3::ConstantAccelerationMobilityModel [class]
|
||||
module.add_class('ConstantAccelerationMobilityModel', parent=root_module['ns3::MobilityModel'])
|
||||
## constant-position-mobility-model.h: ns3::ConstantPositionMobilityModel [class]
|
||||
@@ -70,12 +72,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -106,10 +120,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -129,17 +151,18 @@ def register_methods(root_module):
|
||||
register_Ns3PositionAllocator_methods(root_module, root_module['ns3::PositionAllocator'])
|
||||
register_Ns3RandomDiscPositionAllocator_methods(root_module, root_module['ns3::RandomDiscPositionAllocator'])
|
||||
register_Ns3RandomRectanglePositionAllocator_methods(root_module, root_module['ns3::RandomRectanglePositionAllocator'])
|
||||
register_Ns3RectangleChecker_methods(root_module, root_module['ns3::RectangleChecker'])
|
||||
register_Ns3RectangleValue_methods(root_module, root_module['ns3::RectangleValue'])
|
||||
register_Ns3WaypointChecker_methods(root_module, root_module['ns3::WaypointChecker'])
|
||||
register_Ns3WaypointValue_methods(root_module, root_module['ns3::WaypointValue'])
|
||||
register_Ns3UniformDiscPositionAllocator_methods(root_module, root_module['ns3::UniformDiscPositionAllocator'])
|
||||
register_Ns3GridPositionAllocator_methods(root_module, root_module['ns3::GridPositionAllocator'])
|
||||
register_Ns3ListPositionAllocator_methods(root_module, root_module['ns3::ListPositionAllocator'])
|
||||
register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel'])
|
||||
register_Ns3RandomDirection2dMobilityModel_methods(root_module, root_module['ns3::RandomDirection2dMobilityModel'])
|
||||
register_Ns3RandomWalk2dMobilityModel_methods(root_module, root_module['ns3::RandomWalk2dMobilityModel'])
|
||||
register_Ns3RandomWaypointMobilityModel_methods(root_module, root_module['ns3::RandomWaypointMobilityModel'])
|
||||
register_Ns3RectangleChecker_methods(root_module, root_module['ns3::RectangleChecker'])
|
||||
register_Ns3RectangleValue_methods(root_module, root_module['ns3::RectangleValue'])
|
||||
register_Ns3WaypointChecker_methods(root_module, root_module['ns3::WaypointChecker'])
|
||||
register_Ns3WaypointMobilityModel_methods(root_module, root_module['ns3::WaypointMobilityModel'])
|
||||
register_Ns3WaypointValue_methods(root_module, root_module['ns3::WaypointValue'])
|
||||
register_Ns3ConstantAccelerationMobilityModel_methods(root_module, root_module['ns3::ConstantAccelerationMobilityModel'])
|
||||
register_Ns3ConstantPositionMobilityModel_methods(root_module, root_module['ns3::ConstantPositionMobilityModel'])
|
||||
register_Ns3ConstantVelocityMobilityModel_methods(root_module, root_module['ns3::ConstantVelocityMobilityModel'])
|
||||
@@ -315,84 +338,33 @@ def register_Ns3RandomRectanglePositionAllocator_methods(root_module, cls):
|
||||
[param('ns3::RandomVariable', 'y')])
|
||||
return
|
||||
|
||||
def register_Ns3RectangleChecker_methods(root_module, cls):
|
||||
## rectangle.h: ns3::RectangleChecker::RectangleChecker() [constructor]
|
||||
def register_Ns3UniformDiscPositionAllocator_methods(root_module, cls):
|
||||
## position-allocator.h: ns3::UniformDiscPositionAllocator::UniformDiscPositionAllocator(ns3::UniformDiscPositionAllocator const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::UniformDiscPositionAllocator const &', 'arg0')])
|
||||
## position-allocator.h: ns3::UniformDiscPositionAllocator::UniformDiscPositionAllocator() [constructor]
|
||||
cls.add_constructor([])
|
||||
## rectangle.h: ns3::RectangleChecker::RectangleChecker(ns3::RectangleChecker const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RectangleChecker const &', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3RectangleValue_methods(root_module, cls):
|
||||
## rectangle.h: ns3::RectangleValue::RectangleValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## rectangle.h: ns3::RectangleValue::RectangleValue(ns3::RectangleValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RectangleValue const &', 'arg0')])
|
||||
## rectangle.h: ns3::RectangleValue::RectangleValue(ns3::Rectangle const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::Rectangle const &', 'value')])
|
||||
## rectangle.h: ns3::Ptr<ns3::AttributeValue> ns3::RectangleValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
## position-allocator.h: ns3::Vector ns3::UniformDiscPositionAllocator::GetNext() const [member function]
|
||||
cls.add_method('GetNext',
|
||||
'ns3::Vector',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## rectangle.h: bool ns3::RectangleValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## rectangle.h: ns3::Rectangle ns3::RectangleValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::Rectangle',
|
||||
## position-allocator.h: static ns3::TypeId ns3::UniformDiscPositionAllocator::GetTypeId() [member function]
|
||||
cls.add_method('GetTypeId',
|
||||
'ns3::TypeId',
|
||||
[],
|
||||
is_const=True)
|
||||
## rectangle.h: std::string ns3::RectangleValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## rectangle.h: void ns3::RectangleValue::Set(ns3::Rectangle const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
is_static=True)
|
||||
## position-allocator.h: void ns3::UniformDiscPositionAllocator::SetRho(double rho) [member function]
|
||||
cls.add_method('SetRho',
|
||||
'void',
|
||||
[param('ns3::Rectangle const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3WaypointChecker_methods(root_module, cls):
|
||||
## waypoint.h: ns3::WaypointChecker::WaypointChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## waypoint.h: ns3::WaypointChecker::WaypointChecker(ns3::WaypointChecker const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WaypointChecker const &', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3WaypointValue_methods(root_module, cls):
|
||||
## waypoint.h: ns3::WaypointValue::WaypointValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## waypoint.h: ns3::WaypointValue::WaypointValue(ns3::WaypointValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WaypointValue const &', 'arg0')])
|
||||
## waypoint.h: ns3::WaypointValue::WaypointValue(ns3::Waypoint const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::Waypoint const &', 'value')])
|
||||
## waypoint.h: ns3::Ptr<ns3::AttributeValue> ns3::WaypointValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## waypoint.h: bool ns3::WaypointValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## waypoint.h: ns3::Waypoint ns3::WaypointValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::Waypoint',
|
||||
[],
|
||||
is_const=True)
|
||||
## waypoint.h: std::string ns3::WaypointValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## waypoint.h: void ns3::WaypointValue::Set(ns3::Waypoint const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
[param('double', 'rho')])
|
||||
## position-allocator.h: void ns3::UniformDiscPositionAllocator::SetX(double x) [member function]
|
||||
cls.add_method('SetX',
|
||||
'void',
|
||||
[param('ns3::Waypoint const &', 'value')])
|
||||
[param('double', 'x')])
|
||||
## position-allocator.h: void ns3::UniformDiscPositionAllocator::SetY(double y) [member function]
|
||||
cls.add_method('SetY',
|
||||
'void',
|
||||
[param('double', 'y')])
|
||||
return
|
||||
|
||||
def register_Ns3GridPositionAllocator_methods(root_module, cls):
|
||||
@@ -539,10 +511,10 @@ def register_Ns3MobilityModel_methods(root_module, cls):
|
||||
return
|
||||
|
||||
def register_Ns3RandomDirection2dMobilityModel_methods(root_module, cls):
|
||||
## random-direction-2d-mobility-model.h: ns3::RandomDirection2dMobilityModel::RandomDirection2dMobilityModel(ns3::RandomDirection2dMobilityModel const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RandomDirection2dMobilityModel const &', 'arg0')])
|
||||
## random-direction-2d-mobility-model.h: ns3::RandomDirection2dMobilityModel::RandomDirection2dMobilityModel() [constructor]
|
||||
cls.add_constructor([])
|
||||
## random-direction-2d-mobility-model.h: ns3::RandomDirection2dMobilityModel::RandomDirection2dMobilityModel(ns3::RandomDirection2dMobilityModel const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RandomDirection2dMobilityModel const &', 'arg0')])
|
||||
## random-direction-2d-mobility-model.h: static ns3::TypeId ns3::RandomDirection2dMobilityModel::GetTypeId() [member function]
|
||||
cls.add_method('GetTypeId',
|
||||
'ns3::TypeId',
|
||||
@@ -568,13 +540,18 @@ def register_Ns3RandomDirection2dMobilityModel_methods(root_module, cls):
|
||||
'void',
|
||||
[param('ns3::Vector const &', 'position')],
|
||||
visibility='private', is_virtual=True)
|
||||
## random-direction-2d-mobility-model.h: void ns3::RandomDirection2dMobilityModel::DoStart() [member function]
|
||||
cls.add_method('DoStart',
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3RandomWalk2dMobilityModel_methods(root_module, cls):
|
||||
## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::RandomWalk2dMobilityModel(ns3::RandomWalk2dMobilityModel const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RandomWalk2dMobilityModel const &', 'arg0')])
|
||||
## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::RandomWalk2dMobilityModel() [constructor]
|
||||
cls.add_constructor([])
|
||||
## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::RandomWalk2dMobilityModel(ns3::RandomWalk2dMobilityModel const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RandomWalk2dMobilityModel const &', 'arg0')])
|
||||
## random-walk-2d-mobility-model.h: static ns3::TypeId ns3::RandomWalk2dMobilityModel::GetTypeId() [member function]
|
||||
cls.add_method('GetTypeId',
|
||||
'ns3::TypeId',
|
||||
@@ -600,18 +577,28 @@ def register_Ns3RandomWalk2dMobilityModel_methods(root_module, cls):
|
||||
'void',
|
||||
[param('ns3::Vector const &', 'position')],
|
||||
visibility='private', is_virtual=True)
|
||||
## random-walk-2d-mobility-model.h: void ns3::RandomWalk2dMobilityModel::DoStart() [member function]
|
||||
cls.add_method('DoStart',
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3RandomWaypointMobilityModel_methods(root_module, cls):
|
||||
## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel::RandomWaypointMobilityModel(ns3::RandomWaypointMobilityModel const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RandomWaypointMobilityModel const &', 'arg0')])
|
||||
## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel::RandomWaypointMobilityModel() [constructor]
|
||||
cls.add_constructor([])
|
||||
## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel::RandomWaypointMobilityModel(ns3::RandomWaypointMobilityModel const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RandomWaypointMobilityModel const &', 'arg0')])
|
||||
## random-waypoint-mobility-model.h: static ns3::TypeId ns3::RandomWaypointMobilityModel::GetTypeId() [member function]
|
||||
cls.add_method('GetTypeId',
|
||||
'ns3::TypeId',
|
||||
[],
|
||||
is_static=True)
|
||||
## random-waypoint-mobility-model.h: void ns3::RandomWaypointMobilityModel::DoStart() [member function]
|
||||
cls.add_method('DoStart',
|
||||
'void',
|
||||
[],
|
||||
visibility='protected', is_virtual=True)
|
||||
## random-waypoint-mobility-model.h: ns3::Vector ns3::RandomWaypointMobilityModel::DoGetPosition() const [member function]
|
||||
cls.add_method('DoGetPosition',
|
||||
'ns3::Vector',
|
||||
@@ -629,6 +616,53 @@ def register_Ns3RandomWaypointMobilityModel_methods(root_module, cls):
|
||||
visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3RectangleChecker_methods(root_module, cls):
|
||||
## rectangle.h: ns3::RectangleChecker::RectangleChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## rectangle.h: ns3::RectangleChecker::RectangleChecker(ns3::RectangleChecker const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RectangleChecker const &', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3RectangleValue_methods(root_module, cls):
|
||||
## rectangle.h: ns3::RectangleValue::RectangleValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## rectangle.h: ns3::RectangleValue::RectangleValue(ns3::RectangleValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::RectangleValue const &', 'arg0')])
|
||||
## rectangle.h: ns3::RectangleValue::RectangleValue(ns3::Rectangle const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::Rectangle const &', 'value')])
|
||||
## rectangle.h: ns3::Ptr<ns3::AttributeValue> ns3::RectangleValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## rectangle.h: bool ns3::RectangleValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## rectangle.h: ns3::Rectangle ns3::RectangleValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::Rectangle',
|
||||
[],
|
||||
is_const=True)
|
||||
## rectangle.h: std::string ns3::RectangleValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## rectangle.h: void ns3::RectangleValue::Set(ns3::Rectangle const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('ns3::Rectangle const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3WaypointChecker_methods(root_module, cls):
|
||||
## waypoint.h: ns3::WaypointChecker::WaypointChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## waypoint.h: ns3::WaypointChecker::WaypointChecker(ns3::WaypointChecker const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WaypointChecker const &', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3WaypointMobilityModel_methods(root_module, cls):
|
||||
## waypoint-mobility-model.h: ns3::WaypointMobilityModel::WaypointMobilityModel(ns3::WaypointMobilityModel const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WaypointMobilityModel const &', 'arg0')])
|
||||
@@ -679,6 +713,39 @@ def register_Ns3WaypointMobilityModel_methods(root_module, cls):
|
||||
visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3WaypointValue_methods(root_module, cls):
|
||||
## waypoint.h: ns3::WaypointValue::WaypointValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## waypoint.h: ns3::WaypointValue::WaypointValue(ns3::WaypointValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WaypointValue const &', 'arg0')])
|
||||
## waypoint.h: ns3::WaypointValue::WaypointValue(ns3::Waypoint const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::Waypoint const &', 'value')])
|
||||
## waypoint.h: ns3::Ptr<ns3::AttributeValue> ns3::WaypointValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## waypoint.h: bool ns3::WaypointValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## waypoint.h: ns3::Waypoint ns3::WaypointValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::Waypoint',
|
||||
[],
|
||||
is_const=True)
|
||||
## waypoint.h: std::string ns3::WaypointValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## waypoint.h: void ns3::WaypointValue::Set(ns3::Waypoint const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('ns3::Waypoint const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3ConstantAccelerationMobilityModel_methods(root_module, cls):
|
||||
## constant-acceleration-mobility-model.h: ns3::ConstantAccelerationMobilityModel::ConstantAccelerationMobilityModel(ns3::ConstantAccelerationMobilityModel const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::ConstantAccelerationMobilityModel const &', 'arg0')])
|
||||
@@ -826,7 +893,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -841,9 +910,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -30,12 +30,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -66,10 +78,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -129,7 +149,7 @@ def register_Ns3Ipv4NixVectorRouting_methods(root_module, cls):
|
||||
'void',
|
||||
[param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')],
|
||||
visibility='private', is_virtual=True)
|
||||
## ipv4-nix-vector-routing.h: bool ns3::Ipv4NixVectorRouting::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]
|
||||
## ipv4-nix-vector-routing.h: bool ns3::Ipv4NixVectorRouting::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<ns3::Packet const>, ns3::Ipv4Header const&, 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<ns3::Packet const>, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function]
|
||||
cls.add_method('RouteInput',
|
||||
'bool',
|
||||
[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')],
|
||||
@@ -151,7 +171,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -166,9 +188,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -30,12 +30,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -66,10 +78,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -109,6 +129,8 @@ def register_types_ns3_olsr(module):
|
||||
module.add_class('NeighborTuple')
|
||||
## olsr-repositories.h: ns3::olsr::NeighborTuple::Status [enumeration]
|
||||
module.add_enum('Status', ['STATUS_NOT_SYM', 'STATUS_SYM'], outer_class=root_module['ns3::olsr::NeighborTuple'])
|
||||
## olsr-routing-protocol.h: ns3::olsr::OlsrMprTestCase [class]
|
||||
module.add_class('OlsrMprTestCase', parent=root_module['ns3::TestCase'])
|
||||
## olsr-header.h: ns3::olsr::PacketHeader [class]
|
||||
module.add_class('PacketHeader', parent=root_module['ns3::Header'])
|
||||
## olsr-routing-protocol.h: ns3::olsr::RoutingProtocol [class]
|
||||
@@ -127,6 +149,9 @@ def register_types_ns3_olsr(module):
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >', 'ns3::olsr::NeighborSet')
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >*', 'ns3::olsr::NeighborSet*')
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >&', 'ns3::olsr::NeighborSet&')
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >', 'ns3::olsr::LinkSet')
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >*', 'ns3::olsr::LinkSet*')
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >&', 'ns3::olsr::LinkSet&')
|
||||
typehandlers.add_type_alias('std::set< ns3::Ipv4Address, std::less< ns3::Ipv4Address >, std::allocator< ns3::Ipv4Address > >', 'ns3::olsr::MprSet')
|
||||
typehandlers.add_type_alias('std::set< ns3::Ipv4Address, std::less< ns3::Ipv4Address >, std::allocator< ns3::Ipv4Address > >*', 'ns3::olsr::MprSet*')
|
||||
typehandlers.add_type_alias('std::set< ns3::Ipv4Address, std::less< ns3::Ipv4Address >, std::allocator< ns3::Ipv4Address > >&', 'ns3::olsr::MprSet&')
|
||||
@@ -145,9 +170,6 @@ def register_types_ns3_olsr(module):
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::TwoHopNeighborTuple, std::allocator< ns3::olsr::TwoHopNeighborTuple > >', 'ns3::olsr::TwoHopNeighborSet')
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::TwoHopNeighborTuple, std::allocator< ns3::olsr::TwoHopNeighborTuple > >*', 'ns3::olsr::TwoHopNeighborSet*')
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::TwoHopNeighborTuple, std::allocator< ns3::olsr::TwoHopNeighborTuple > >&', 'ns3::olsr::TwoHopNeighborSet&')
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >', 'ns3::olsr::LinkSet')
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >*', 'ns3::olsr::LinkSet*')
|
||||
typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >&', 'ns3::olsr::LinkSet&')
|
||||
|
||||
def register_methods(root_module):
|
||||
register_Ns3OlsrState_methods(root_module, root_module['ns3::OlsrState'])
|
||||
@@ -163,6 +185,7 @@ def register_methods(root_module):
|
||||
register_Ns3OlsrMessageHeaderTc_methods(root_module, root_module['ns3::olsr::MessageHeader::Tc'])
|
||||
register_Ns3OlsrMprSelectorTuple_methods(root_module, root_module['ns3::olsr::MprSelectorTuple'])
|
||||
register_Ns3OlsrNeighborTuple_methods(root_module, root_module['ns3::olsr::NeighborTuple'])
|
||||
register_Ns3OlsrOlsrMprTestCase_methods(root_module, root_module['ns3::olsr::OlsrMprTestCase'])
|
||||
register_Ns3OlsrPacketHeader_methods(root_module, root_module['ns3::olsr::PacketHeader'])
|
||||
register_Ns3OlsrRoutingProtocol_methods(root_module, root_module['ns3::olsr::RoutingProtocol'])
|
||||
register_Ns3OlsrRoutingTableEntry_methods(root_module, root_module['ns3::olsr::RoutingTableEntry'])
|
||||
@@ -301,6 +324,11 @@ def register_Ns3OlsrState_methods(root_module, cls):
|
||||
'ns3::olsr::MprSelectorSet const &',
|
||||
[],
|
||||
is_const=True)
|
||||
## olsr-state.h: ns3::olsr::MprSet ns3::OlsrState::GetMprSet() const [member function]
|
||||
cls.add_method('GetMprSet',
|
||||
'ns3::olsr::MprSet',
|
||||
[],
|
||||
is_const=True)
|
||||
## olsr-state.h: ns3::olsr::NeighborSet const & ns3::OlsrState::GetNeighbors() const [member function]
|
||||
cls.add_method('GetNeighbors',
|
||||
'ns3::olsr::NeighborSet const &',
|
||||
@@ -719,6 +747,16 @@ def register_Ns3OlsrNeighborTuple_methods(root_module, cls):
|
||||
cls.add_instance_attribute('willingness', 'uint8_t', is_const=False)
|
||||
return
|
||||
|
||||
def register_Ns3OlsrOlsrMprTestCase_methods(root_module, cls):
|
||||
## olsr-routing-protocol.h: ns3::olsr::OlsrMprTestCase::OlsrMprTestCase() [constructor]
|
||||
cls.add_constructor([])
|
||||
## olsr-routing-protocol.h: bool ns3::olsr::OlsrMprTestCase::DoRun() [member function]
|
||||
cls.add_method('DoRun',
|
||||
'bool',
|
||||
[],
|
||||
is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3OlsrPacketHeader_methods(root_module, cls):
|
||||
cls.add_output_stream_operator()
|
||||
## olsr-header.h: ns3::olsr::PacketHeader::PacketHeader(ns3::olsr::PacketHeader const & arg0) [copy constructor]
|
||||
@@ -789,6 +827,11 @@ def register_Ns3OlsrRoutingProtocol_methods(root_module, cls):
|
||||
cls.add_method('SetMainInterface',
|
||||
'void',
|
||||
[param('uint32_t', 'interface')])
|
||||
## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::DoStart() [member function]
|
||||
cls.add_method('DoStart',
|
||||
'void',
|
||||
[],
|
||||
visibility='protected', is_virtual=True)
|
||||
## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::DoDispose() [member function]
|
||||
cls.add_method('DoDispose',
|
||||
'void',
|
||||
@@ -814,7 +857,7 @@ def register_Ns3OlsrRoutingProtocol_methods(root_module, cls):
|
||||
'void',
|
||||
[param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')],
|
||||
visibility='private', is_virtual=True)
|
||||
## 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]
|
||||
## 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<ns3::Packet const>, ns3::Ipv4Header const&, 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<ns3::Packet const>, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function]
|
||||
cls.add_method('RouteInput',
|
||||
'bool',
|
||||
[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')],
|
||||
@@ -883,7 +926,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -898,9 +943,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -24,12 +24,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -60,10 +72,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -116,7 +136,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -131,9 +153,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -24,12 +24,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -60,10 +72,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -117,7 +137,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -132,9 +154,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -24,12 +24,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -60,10 +72,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -124,7 +144,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -139,9 +161,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -28,12 +28,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -64,10 +76,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -341,7 +361,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -356,9 +378,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -3,12 +3,16 @@ from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandler
|
||||
def register_types(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
## radvd-interface.h: ns3::RadvdInterface [class]
|
||||
module.add_class('RadvdInterface', parent=root_module['ns3::RefCountBase'])
|
||||
## radvd-prefix.h: ns3::RadvdPrefix [class]
|
||||
module.add_class('RadvdPrefix', parent=root_module['ns3::RefCountBase'])
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::RadvdInterface, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::RadvdInterface', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::RadvdPrefix, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::RadvdPrefix', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
## radvd.h: ns3::Radvd [class]
|
||||
module.add_class('Radvd', parent=root_module['ns3::Application'])
|
||||
## radvd-interface.h: ns3::RadvdInterface [class]
|
||||
module.add_class('RadvdInterface', parent=root_module['ns3::SimpleRefCount< ns3::RadvdInterface, ns3::empty >'])
|
||||
## radvd-prefix.h: ns3::RadvdPrefix [class]
|
||||
module.add_class('RadvdPrefix', parent=root_module['ns3::SimpleRefCount< ns3::RadvdPrefix, ns3::empty >'])
|
||||
|
||||
## Register a nested module for the namespace Config
|
||||
|
||||
@@ -28,12 +32,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -64,10 +80,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -81,9 +105,42 @@ def register_types_ns3_olsr(module):
|
||||
|
||||
|
||||
def register_methods(root_module):
|
||||
register_Ns3Radvd_methods(root_module, root_module['ns3::Radvd'])
|
||||
register_Ns3RadvdInterface_methods(root_module, root_module['ns3::RadvdInterface'])
|
||||
register_Ns3RadvdPrefix_methods(root_module, root_module['ns3::RadvdPrefix'])
|
||||
register_Ns3Radvd_methods(root_module, root_module['ns3::Radvd'])
|
||||
return
|
||||
|
||||
def register_Ns3Radvd_methods(root_module, cls):
|
||||
## radvd.h: ns3::Radvd::Radvd(ns3::Radvd const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Radvd const &', 'arg0')])
|
||||
## radvd.h: ns3::Radvd::Radvd() [constructor]
|
||||
cls.add_constructor([])
|
||||
## radvd.h: void ns3::Radvd::AddConfiguration(ns3::Ptr<ns3::RadvdInterface> routerInterface) [member function]
|
||||
cls.add_method('AddConfiguration',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::RadvdInterface >', 'routerInterface')])
|
||||
## radvd.h: static ns3::TypeId ns3::Radvd::GetTypeId() [member function]
|
||||
cls.add_method('GetTypeId',
|
||||
'ns3::TypeId',
|
||||
[],
|
||||
is_static=True)
|
||||
## radvd.h: ns3::Radvd::MAX_RA_DELAY_TIME [variable]
|
||||
cls.add_static_attribute('MAX_RA_DELAY_TIME', 'uint32_t const', is_const=True)
|
||||
## radvd.h: void ns3::Radvd::DoDispose() [member function]
|
||||
cls.add_method('DoDispose',
|
||||
'void',
|
||||
[],
|
||||
visibility='protected', is_virtual=True)
|
||||
## radvd.h: void ns3::Radvd::StartApplication() [member function]
|
||||
cls.add_method('StartApplication',
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
## radvd.h: void ns3::Radvd::StopApplication() [member function]
|
||||
cls.add_method('StopApplication',
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3RadvdInterface_methods(root_module, cls):
|
||||
@@ -350,45 +407,14 @@ def register_Ns3RadvdPrefix_methods(root_module, cls):
|
||||
[param('uint32_t', 'validLifeTime')])
|
||||
return
|
||||
|
||||
def register_Ns3Radvd_methods(root_module, cls):
|
||||
## radvd.h: ns3::Radvd::Radvd(ns3::Radvd const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Radvd const &', 'arg0')])
|
||||
## radvd.h: ns3::Radvd::Radvd() [constructor]
|
||||
cls.add_constructor([])
|
||||
## radvd.h: void ns3::Radvd::AddConfiguration(ns3::Ptr<ns3::RadvdInterface> routerInterface) [member function]
|
||||
cls.add_method('AddConfiguration',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::RadvdInterface >', 'routerInterface')])
|
||||
## radvd.h: static ns3::TypeId ns3::Radvd::GetTypeId() [member function]
|
||||
cls.add_method('GetTypeId',
|
||||
'ns3::TypeId',
|
||||
[],
|
||||
is_static=True)
|
||||
## radvd.h: ns3::Radvd::MAX_RA_DELAY_TIME [variable]
|
||||
cls.add_static_attribute('MAX_RA_DELAY_TIME', 'uint32_t const', is_const=True)
|
||||
## radvd.h: void ns3::Radvd::DoDispose() [member function]
|
||||
cls.add_method('DoDispose',
|
||||
'void',
|
||||
[],
|
||||
visibility='protected', is_virtual=True)
|
||||
## radvd.h: void ns3::Radvd::StartApplication() [member function]
|
||||
cls.add_method('StartApplication',
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
## radvd.h: void ns3::Radvd::StopApplication() [member function]
|
||||
cls.add_method('StopApplication',
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_functions(root_module):
|
||||
module = root_module
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -403,9 +429,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -5,8 +5,6 @@ def register_types(module):
|
||||
|
||||
## event-id.h: ns3::EventId [class]
|
||||
module.add_class('EventId')
|
||||
## event-impl.h: ns3::EventImpl [class]
|
||||
module.add_class('EventImpl', allow_subclassing=True)
|
||||
## high-precision-128.h: ns3::HighPrecision [class]
|
||||
module.add_class('HighPrecision')
|
||||
## simulator.h: ns3::Simulator [class]
|
||||
@@ -35,20 +33,20 @@ def register_types(module):
|
||||
module.add_class('Event', outer_class=root_module['ns3::Scheduler'])
|
||||
## scheduler.h: ns3::Scheduler::EventKey [struct]
|
||||
module.add_class('EventKey', outer_class=root_module['ns3::Scheduler'])
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::EventImpl, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::EventImpl', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
## simulator-impl.h: ns3::SimulatorImpl [class]
|
||||
module.add_class('SimulatorImpl', parent=root_module['ns3::Object'])
|
||||
## synchronizer.h: ns3::Synchronizer [class]
|
||||
module.add_class('Synchronizer', parent=root_module['ns3::Object'])
|
||||
## nstime.h: ns3::TimeChecker [class]
|
||||
module.add_class('TimeChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## nstime.h: ns3::TimeValue [class]
|
||||
module.add_class('TimeValue', parent=root_module['ns3::AttributeValue'])
|
||||
## wall-clock-synchronizer.h: ns3::WallClockSynchronizer [class]
|
||||
module.add_class('WallClockSynchronizer', parent=root_module['ns3::Synchronizer'])
|
||||
## calendar-scheduler.h: ns3::CalendarScheduler [class]
|
||||
module.add_class('CalendarScheduler', parent=root_module['ns3::Scheduler'])
|
||||
## default-simulator-impl.h: ns3::DefaultSimulatorImpl [class]
|
||||
module.add_class('DefaultSimulatorImpl', parent=root_module['ns3::SimulatorImpl'])
|
||||
## event-impl.h: ns3::EventImpl [class]
|
||||
module.add_class('EventImpl', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty >'])
|
||||
## heap-scheduler.h: ns3::HeapScheduler [class]
|
||||
module.add_class('HeapScheduler', parent=root_module['ns3::Scheduler'])
|
||||
## list-scheduler.h: ns3::ListScheduler [class]
|
||||
@@ -61,6 +59,10 @@ def register_types(module):
|
||||
module.add_class('RealtimeSimulatorImpl', parent=root_module['ns3::SimulatorImpl'])
|
||||
## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode [enumeration]
|
||||
module.add_enum('SynchronizationMode', ['SYNC_BEST_EFFORT', 'SYNC_HARD_LIMIT'], outer_class=root_module['ns3::RealtimeSimulatorImpl'])
|
||||
## nstime.h: ns3::TimeChecker [class]
|
||||
module.add_class('TimeChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## nstime.h: ns3::TimeValue [class]
|
||||
module.add_class('TimeValue', parent=root_module['ns3::AttributeValue'])
|
||||
typehandlers.add_type_alias('ns3::TimeUnit< 2 >', 'ns3::TimeSquare')
|
||||
typehandlers.add_type_alias('ns3::TimeUnit< 2 >*', 'ns3::TimeSquare*')
|
||||
typehandlers.add_type_alias('ns3::TimeUnit< 2 >&', 'ns3::TimeSquare&')
|
||||
@@ -92,12 +94,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -130,10 +144,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -148,7 +170,6 @@ def register_types_ns3_olsr(module):
|
||||
|
||||
def register_methods(root_module):
|
||||
register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
|
||||
register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
|
||||
register_Ns3HighPrecision_methods(root_module, root_module['ns3::HighPrecision'])
|
||||
register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator'])
|
||||
register_Ns3TimeInvert_methods(root_module, root_module['ns3::TimeInvert'])
|
||||
@@ -163,16 +184,17 @@ def register_methods(root_module):
|
||||
register_Ns3SchedulerEventKey_methods(root_module, root_module['ns3::Scheduler::EventKey'])
|
||||
register_Ns3SimulatorImpl_methods(root_module, root_module['ns3::SimulatorImpl'])
|
||||
register_Ns3Synchronizer_methods(root_module, root_module['ns3::Synchronizer'])
|
||||
register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
|
||||
register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
|
||||
register_Ns3WallClockSynchronizer_methods(root_module, root_module['ns3::WallClockSynchronizer'])
|
||||
register_Ns3CalendarScheduler_methods(root_module, root_module['ns3::CalendarScheduler'])
|
||||
register_Ns3DefaultSimulatorImpl_methods(root_module, root_module['ns3::DefaultSimulatorImpl'])
|
||||
register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
|
||||
register_Ns3HeapScheduler_methods(root_module, root_module['ns3::HeapScheduler'])
|
||||
register_Ns3ListScheduler_methods(root_module, root_module['ns3::ListScheduler'])
|
||||
register_Ns3MapScheduler_methods(root_module, root_module['ns3::MapScheduler'])
|
||||
register_Ns3Ns2CalendarScheduler_methods(root_module, root_module['ns3::Ns2CalendarScheduler'])
|
||||
register_Ns3RealtimeSimulatorImpl_methods(root_module, root_module['ns3::RealtimeSimulatorImpl'])
|
||||
register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
|
||||
register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
|
||||
return
|
||||
|
||||
def register_Ns3EventId_methods(root_module, cls):
|
||||
@@ -182,12 +204,17 @@ def register_Ns3EventId_methods(root_module, cls):
|
||||
cls.add_constructor([param('ns3::EventId const &', 'arg0')])
|
||||
## event-id.h: ns3::EventId::EventId() [constructor]
|
||||
cls.add_constructor([])
|
||||
## event-id.h: ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t uid) [constructor]
|
||||
cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'uid')])
|
||||
## event-id.h: ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]
|
||||
cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])
|
||||
## event-id.h: void ns3::EventId::Cancel() [member function]
|
||||
cls.add_method('Cancel',
|
||||
'void',
|
||||
[])
|
||||
## event-id.h: uint32_t ns3::EventId::GetContext() const [member function]
|
||||
cls.add_method('GetContext',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True)
|
||||
## event-id.h: uint64_t ns3::EventId::GetTs() const [member function]
|
||||
cls.add_method('GetTs',
|
||||
'uint64_t',
|
||||
@@ -215,40 +242,6 @@ def register_Ns3EventId_methods(root_module, cls):
|
||||
is_const=True)
|
||||
return
|
||||
|
||||
def register_Ns3EventImpl_methods(root_module, cls):
|
||||
## event-impl.h: ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
|
||||
## event-impl.h: ns3::EventImpl::EventImpl() [constructor]
|
||||
cls.add_constructor([])
|
||||
## event-impl.h: void ns3::EventImpl::Cancel() [member function]
|
||||
cls.add_method('Cancel',
|
||||
'void',
|
||||
[])
|
||||
## event-impl.h: void ns3::EventImpl::Invoke() [member function]
|
||||
cls.add_method('Invoke',
|
||||
'void',
|
||||
[])
|
||||
## event-impl.h: bool ns3::EventImpl::IsCancelled() [member function]
|
||||
cls.add_method('IsCancelled',
|
||||
'bool',
|
||||
[])
|
||||
## event-impl.h: void ns3::EventImpl::Ref() const [member function]
|
||||
cls.add_method('Ref',
|
||||
'void',
|
||||
[],
|
||||
is_const=True)
|
||||
## event-impl.h: void ns3::EventImpl::Unref() const [member function]
|
||||
cls.add_method('Unref',
|
||||
'void',
|
||||
[],
|
||||
is_const=True)
|
||||
## event-impl.h: void ns3::EventImpl::Notify() [member function]
|
||||
cls.add_method('Notify',
|
||||
'void',
|
||||
[],
|
||||
is_pure_virtual=True, visibility='protected', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3HighPrecision_methods(root_module, cls):
|
||||
## high-precision-128.h: ns3::HighPrecision::HighPrecision(ns3::HighPrecision const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::HighPrecision const &', 'arg0')])
|
||||
@@ -314,6 +307,11 @@ def register_Ns3Simulator_methods(root_module, cls):
|
||||
'void',
|
||||
[],
|
||||
is_static=True)
|
||||
## simulator.h: static uint32_t ns3::Simulator::GetContext() [member function]
|
||||
cls.add_method('GetContext',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_static=True)
|
||||
## simulator.h: static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function]
|
||||
cls.add_method('GetDelayLeft',
|
||||
'ns3::Time',
|
||||
@@ -364,10 +362,10 @@ def register_Ns3Simulator_methods(root_module, cls):
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')],
|
||||
is_static=True)
|
||||
## simulator.h: static void ns3::Simulator::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function]
|
||||
## simulator.h: static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function]
|
||||
cls.add_method('SetScheduler',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Scheduler >', 'scheduler')],
|
||||
[param('ns3::ObjectFactory', 'schedulerFactory')],
|
||||
is_static=True)
|
||||
## simulator.h: static void ns3::Simulator::Stop() [member function]
|
||||
cls.add_method('Stop',
|
||||
@@ -769,6 +767,8 @@ def register_Ns3SchedulerEventKey_methods(root_module, cls):
|
||||
cls.add_constructor([])
|
||||
## scheduler.h: ns3::Scheduler::EventKey::EventKey(ns3::Scheduler::EventKey const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Scheduler::EventKey const &', 'arg0')])
|
||||
## scheduler.h: ns3::Scheduler::EventKey::m_context [variable]
|
||||
cls.add_instance_attribute('m_context', 'uint32_t', is_const=False)
|
||||
## scheduler.h: ns3::Scheduler::EventKey::m_ts [variable]
|
||||
cls.add_instance_attribute('m_ts', 'uint64_t', is_const=False)
|
||||
## scheduler.h: ns3::Scheduler::EventKey::m_uid [variable]
|
||||
@@ -790,6 +790,11 @@ def register_Ns3SimulatorImpl_methods(root_module, cls):
|
||||
'void',
|
||||
[],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
## simulator-impl.h: uint32_t ns3::SimulatorImpl::GetContext() const [member function]
|
||||
cls.add_method('GetContext',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
## simulator-impl.h: ns3::Time ns3::SimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function]
|
||||
cls.add_method('GetDelayLeft',
|
||||
'ns3::Time',
|
||||
@@ -850,16 +855,26 @@ def register_Ns3SimulatorImpl_methods(root_module, cls):
|
||||
'ns3::EventId',
|
||||
[param('ns3::EventImpl *', 'event')],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
## simulator-impl.h: void ns3::SimulatorImpl::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function]
|
||||
## simulator-impl.h: void ns3::SimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function]
|
||||
cls.add_method('ScheduleWithContext',
|
||||
'void',
|
||||
[param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
## simulator-impl.h: void ns3::SimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function]
|
||||
cls.add_method('SetScheduler',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Scheduler >', 'scheduler')],
|
||||
[param('ns3::ObjectFactory', 'schedulerFactory')],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
## simulator-impl.h: void ns3::SimulatorImpl::Stop() [member function]
|
||||
cls.add_method('Stop',
|
||||
'void',
|
||||
[],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
## simulator-impl.h: void ns3::SimulatorImpl::Stop(ns3::Time const & time) [member function]
|
||||
cls.add_method('Stop',
|
||||
'void',
|
||||
[param('ns3::Time const &', 'time')],
|
||||
is_pure_virtual=True, is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3Synchronizer_methods(root_module, cls):
|
||||
@@ -959,46 +974,6 @@ def register_Ns3Synchronizer_methods(root_module, cls):
|
||||
is_pure_virtual=True, visibility='protected', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3TimeChecker_methods(root_module, cls):
|
||||
## nstime.h: ns3::TimeChecker::TimeChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## nstime.h: 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: ns3::TimeValue::TimeValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## nstime.h: ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
|
||||
## nstime.h: ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::Time const &', 'value')])
|
||||
## nstime.h: ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## nstime.h: bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## nstime.h: ns3::Time ns3::TimeValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::Time',
|
||||
[],
|
||||
is_const=True)
|
||||
## nstime.h: std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## nstime.h: void ns3::TimeValue::Set(ns3::Time const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('ns3::Time const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3WallClockSynchronizer_methods(root_module, cls):
|
||||
## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::WallClockSynchronizer(ns3::WallClockSynchronizer const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WallClockSynchronizer const &', 'arg0')])
|
||||
@@ -1149,6 +1124,11 @@ def register_Ns3DefaultSimulatorImpl_methods(root_module, cls):
|
||||
'void',
|
||||
[],
|
||||
is_virtual=True)
|
||||
## default-simulator-impl.h: uint32_t ns3::DefaultSimulatorImpl::GetContext() const [member function]
|
||||
cls.add_method('GetContext',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function]
|
||||
cls.add_method('GetDelayLeft',
|
||||
'ns3::Time',
|
||||
@@ -1214,16 +1194,50 @@ def register_Ns3DefaultSimulatorImpl_methods(root_module, cls):
|
||||
'ns3::EventId',
|
||||
[param('ns3::EventImpl *', 'event')],
|
||||
is_virtual=True)
|
||||
## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function]
|
||||
## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function]
|
||||
cls.add_method('ScheduleWithContext',
|
||||
'void',
|
||||
[param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')],
|
||||
is_virtual=True)
|
||||
## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function]
|
||||
cls.add_method('SetScheduler',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Scheduler >', 'scheduler')],
|
||||
[param('ns3::ObjectFactory', 'schedulerFactory')],
|
||||
is_virtual=True)
|
||||
## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop() [member function]
|
||||
cls.add_method('Stop',
|
||||
'void',
|
||||
[],
|
||||
is_virtual=True)
|
||||
## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop(ns3::Time const & time) [member function]
|
||||
cls.add_method('Stop',
|
||||
'void',
|
||||
[param('ns3::Time const &', 'time')],
|
||||
is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3EventImpl_methods(root_module, cls):
|
||||
## event-impl.h: ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
|
||||
## event-impl.h: ns3::EventImpl::EventImpl() [constructor]
|
||||
cls.add_constructor([])
|
||||
## event-impl.h: void ns3::EventImpl::Cancel() [member function]
|
||||
cls.add_method('Cancel',
|
||||
'void',
|
||||
[])
|
||||
## event-impl.h: void ns3::EventImpl::Invoke() [member function]
|
||||
cls.add_method('Invoke',
|
||||
'void',
|
||||
[])
|
||||
## event-impl.h: bool ns3::EventImpl::IsCancelled() [member function]
|
||||
cls.add_method('IsCancelled',
|
||||
'bool',
|
||||
[])
|
||||
## event-impl.h: void ns3::EventImpl::Notify() [member function]
|
||||
cls.add_method('Notify',
|
||||
'void',
|
||||
[],
|
||||
is_pure_virtual=True, visibility='protected', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3HeapScheduler_methods(root_module, cls):
|
||||
@@ -1389,6 +1403,11 @@ def register_Ns3RealtimeSimulatorImpl_methods(root_module, cls):
|
||||
'void',
|
||||
[],
|
||||
is_virtual=True)
|
||||
## realtime-simulator-impl.h: uint32_t ns3::RealtimeSimulatorImpl::GetContext() const [member function]
|
||||
cls.add_method('GetContext',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function]
|
||||
cls.add_method('GetDelayLeft',
|
||||
'ns3::Time',
|
||||
@@ -1477,14 +1496,19 @@ def register_Ns3RealtimeSimulatorImpl_methods(root_module, cls):
|
||||
cls.add_method('ScheduleRealtimeNow',
|
||||
'void',
|
||||
[param('ns3::EventImpl *', 'event')])
|
||||
## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function]
|
||||
cls.add_method('ScheduleWithContext',
|
||||
'void',
|
||||
[param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')],
|
||||
is_virtual=True)
|
||||
## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetHardLimit(ns3::Time limit) [member function]
|
||||
cls.add_method('SetHardLimit',
|
||||
'void',
|
||||
[param('ns3::Time', 'limit')])
|
||||
## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function]
|
||||
## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function]
|
||||
cls.add_method('SetScheduler',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Scheduler >', 'scheduler')],
|
||||
[param('ns3::ObjectFactory', 'schedulerFactory')],
|
||||
is_virtual=True)
|
||||
## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetSynchronizationMode(ns3::RealtimeSimulatorImpl::SynchronizationMode mode) [member function]
|
||||
cls.add_method('SetSynchronizationMode',
|
||||
@@ -1495,6 +1519,51 @@ def register_Ns3RealtimeSimulatorImpl_methods(root_module, cls):
|
||||
'void',
|
||||
[],
|
||||
is_virtual=True)
|
||||
## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Stop(ns3::Time const & time) [member function]
|
||||
cls.add_method('Stop',
|
||||
'void',
|
||||
[param('ns3::Time const &', 'time')],
|
||||
is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3TimeChecker_methods(root_module, cls):
|
||||
## nstime.h: ns3::TimeChecker::TimeChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## nstime.h: 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: ns3::TimeValue::TimeValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## nstime.h: ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
|
||||
## nstime.h: ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::Time const &', 'value')])
|
||||
## nstime.h: ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## nstime.h: bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## nstime.h: ns3::Time ns3::TimeValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::Time',
|
||||
[],
|
||||
is_const=True)
|
||||
## nstime.h: std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## nstime.h: void ns3::TimeValue::Set(ns3::Time const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('ns3::Time const &', 'value')])
|
||||
return
|
||||
|
||||
def register_functions(root_module):
|
||||
@@ -1554,7 +1623,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -1577,9 +1648,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -34,12 +34,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -70,10 +82,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -447,7 +467,7 @@ def register_Ns3Ipv4StaticRouting_methods(root_module, cls):
|
||||
cls.add_method('RemoveRoute',
|
||||
'void',
|
||||
[param('uint32_t', 'i')])
|
||||
## ipv4-static-routing.h: bool ns3::Ipv4StaticRouting::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]
|
||||
## ipv4-static-routing.h: bool ns3::Ipv4StaticRouting::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<ns3::Packet const>, ns3::Ipv4Header const&, 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<ns3::Packet const>, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function]
|
||||
cls.add_method('RouteInput',
|
||||
'bool',
|
||||
[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')],
|
||||
@@ -622,7 +642,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -637,9 +659,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -48,12 +48,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -84,10 +96,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -468,7 +488,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -483,9 +505,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -26,12 +26,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -62,10 +74,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -258,7 +278,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -273,9 +295,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -22,12 +22,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -58,10 +70,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -82,7 +102,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -97,9 +119,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -26,12 +26,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -62,10 +74,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -167,7 +187,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -182,9 +204,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -24,12 +24,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -60,10 +72,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -112,7 +132,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -127,9 +149,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -24,12 +24,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -60,10 +72,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -242,7 +262,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -257,9 +279,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
@@ -83,10 +83,8 @@ def register_types(module):
|
||||
module.add_class('RandomPropagationLossModel', parent=root_module['ns3::PropagationLossModel'])
|
||||
## rraa-wifi-manager.h: ns3::RraaWifiRemoteStation [class]
|
||||
module.add_class('RraaWifiRemoteStation', parent=root_module['ns3::WifiRemoteStation'])
|
||||
## ssid.h: ns3::SsidChecker [class]
|
||||
module.add_class('SsidChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## ssid.h: ns3::SsidValue [class]
|
||||
module.add_class('SsidValue', parent=root_module['ns3::AttributeValue'])
|
||||
## simple-ref-count.h: ns3::SimpleRefCount<ns3::InterferenceHelper::Event, ns3::empty> [class]
|
||||
module.add_class('SimpleRefCount', template_parameters=['ns3::InterferenceHelper::Event', 'ns3::empty'], parent=root_module['ns3::empty'])
|
||||
## propagation-loss-model.h: ns3::ThreeLogDistancePropagationLossModel [class]
|
||||
module.add_class('ThreeLogDistancePropagationLossModel', parent=root_module['ns3::PropagationLossModel'])
|
||||
## wifi-mac.h: ns3::WifiMac [class]
|
||||
@@ -97,10 +95,6 @@ def register_types(module):
|
||||
module.add_enum('QosAckPolicy', ['NORMAL_ACK', 'NO_ACK', 'NO_EXPLICIT_ACK', 'BLOCK_ACK'], outer_class=root_module['ns3::WifiMacHeader'])
|
||||
## wifi-mac-header.h: ns3::WifiMacHeader::AddressType [enumeration]
|
||||
module.add_enum('AddressType', ['ADDR1', 'ADDR2', 'ADDR3', 'ADDR4'], outer_class=root_module['ns3::WifiMacHeader'])
|
||||
## wifi-mode.h: ns3::WifiModeChecker [class]
|
||||
module.add_class('WifiModeChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## wifi-mode.h: ns3::WifiModeValue [class]
|
||||
module.add_class('WifiModeValue', parent=root_module['ns3::AttributeValue'])
|
||||
## wifi-phy.h: ns3::WifiPhy [class]
|
||||
module.add_class('WifiPhy', parent=root_module['ns3::Object'])
|
||||
## wifi-phy.h: ns3::WifiPhy::State [enumeration]
|
||||
@@ -163,8 +157,16 @@ def register_types(module):
|
||||
module.add_class('QstaWifiMac', parent=root_module['ns3::WifiMac'])
|
||||
## rraa-wifi-manager.h: ns3::RraaWifiManager [class]
|
||||
module.add_class('RraaWifiManager', parent=root_module['ns3::WifiRemoteStationManager'])
|
||||
## ssid.h: ns3::SsidChecker [class]
|
||||
module.add_class('SsidChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## ssid.h: ns3::SsidValue [class]
|
||||
module.add_class('SsidValue', parent=root_module['ns3::AttributeValue'])
|
||||
## wifi-channel.h: ns3::WifiChannel [class]
|
||||
module.add_class('WifiChannel', parent=root_module['ns3::Channel'])
|
||||
## wifi-mode.h: ns3::WifiModeChecker [class]
|
||||
module.add_class('WifiModeChecker', parent=root_module['ns3::AttributeChecker'])
|
||||
## wifi-mode.h: ns3::WifiModeValue [class]
|
||||
module.add_class('WifiModeValue', parent=root_module['ns3::AttributeValue'])
|
||||
## wifi-net-device.h: ns3::WifiNetDevice [class]
|
||||
module.add_class('WifiNetDevice', parent=root_module['ns3::NetDevice'])
|
||||
## yans-error-rate-model.h: ns3::YansErrorRateModel [class]
|
||||
@@ -203,12 +205,24 @@ def register_types(module):
|
||||
register_types_ns3_addressUtils(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace aodv
|
||||
|
||||
nested_module = module.add_cpp_namespace('aodv')
|
||||
register_types_ns3_aodv(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dot11s
|
||||
|
||||
nested_module = module.add_cpp_namespace('dot11s')
|
||||
register_types_ns3_dot11s(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace dpd
|
||||
|
||||
nested_module = module.add_cpp_namespace('dpd')
|
||||
register_types_ns3_dpd(nested_module)
|
||||
|
||||
|
||||
## Register a nested module for the namespace flame
|
||||
|
||||
nested_module = module.add_cpp_namespace('flame')
|
||||
@@ -239,10 +253,18 @@ def register_types_ns3_addressUtils(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_aodv(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_dpd(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
|
||||
def register_types_ns3_flame(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
@@ -290,13 +312,9 @@ def register_methods(root_module):
|
||||
register_Ns3RandomPropagationDelayModel_methods(root_module, root_module['ns3::RandomPropagationDelayModel'])
|
||||
register_Ns3RandomPropagationLossModel_methods(root_module, root_module['ns3::RandomPropagationLossModel'])
|
||||
register_Ns3RraaWifiRemoteStation_methods(root_module, root_module['ns3::RraaWifiRemoteStation'])
|
||||
register_Ns3SsidChecker_methods(root_module, root_module['ns3::SsidChecker'])
|
||||
register_Ns3SsidValue_methods(root_module, root_module['ns3::SsidValue'])
|
||||
register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, root_module['ns3::ThreeLogDistancePropagationLossModel'])
|
||||
register_Ns3WifiMac_methods(root_module, root_module['ns3::WifiMac'])
|
||||
register_Ns3WifiMacHeader_methods(root_module, root_module['ns3::WifiMacHeader'])
|
||||
register_Ns3WifiModeChecker_methods(root_module, root_module['ns3::WifiModeChecker'])
|
||||
register_Ns3WifiModeValue_methods(root_module, root_module['ns3::WifiModeValue'])
|
||||
register_Ns3WifiPhy_methods(root_module, root_module['ns3::WifiPhy'])
|
||||
register_Ns3WifiRemoteStationManager_methods(root_module, root_module['ns3::WifiRemoteStationManager'])
|
||||
register_Ns3YansWifiPhy_methods(root_module, root_module['ns3::YansWifiPhy'])
|
||||
@@ -327,7 +345,11 @@ def register_methods(root_module):
|
||||
register_Ns3QapWifiMac_methods(root_module, root_module['ns3::QapWifiMac'])
|
||||
register_Ns3QstaWifiMac_methods(root_module, root_module['ns3::QstaWifiMac'])
|
||||
register_Ns3RraaWifiManager_methods(root_module, root_module['ns3::RraaWifiManager'])
|
||||
register_Ns3SsidChecker_methods(root_module, root_module['ns3::SsidChecker'])
|
||||
register_Ns3SsidValue_methods(root_module, root_module['ns3::SsidValue'])
|
||||
register_Ns3WifiChannel_methods(root_module, root_module['ns3::WifiChannel'])
|
||||
register_Ns3WifiModeChecker_methods(root_module, root_module['ns3::WifiModeChecker'])
|
||||
register_Ns3WifiModeValue_methods(root_module, root_module['ns3::WifiModeValue'])
|
||||
register_Ns3WifiNetDevice_methods(root_module, root_module['ns3::WifiNetDevice'])
|
||||
register_Ns3YansErrorRateModel_methods(root_module, root_module['ns3::YansErrorRateModel'])
|
||||
register_Ns3YansWifiChannel_methods(root_module, root_module['ns3::YansWifiChannel'])
|
||||
@@ -2112,46 +2134,6 @@ def register_Ns3RraaWifiRemoteStation_methods(root_module, cls):
|
||||
is_const=True, visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3SsidChecker_methods(root_module, cls):
|
||||
## ssid.h: ns3::SsidChecker::SsidChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## ssid.h: ns3::SsidChecker::SsidChecker(ns3::SsidChecker const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::SsidChecker const &', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3SsidValue_methods(root_module, cls):
|
||||
## ssid.h: ns3::SsidValue::SsidValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## ssid.h: ns3::SsidValue::SsidValue(ns3::SsidValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::SsidValue const &', 'arg0')])
|
||||
## ssid.h: ns3::SsidValue::SsidValue(ns3::Ssid const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::Ssid const &', 'value')])
|
||||
## ssid.h: ns3::Ptr<ns3::AttributeValue> ns3::SsidValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## ssid.h: bool ns3::SsidValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## ssid.h: ns3::Ssid ns3::SsidValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::Ssid',
|
||||
[],
|
||||
is_const=True)
|
||||
## ssid.h: std::string ns3::SsidValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## ssid.h: void ns3::SsidValue::Set(ns3::Ssid const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('ns3::Ssid const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, cls):
|
||||
## propagation-loss-model.h: static ns3::TypeId ns3::ThreeLogDistancePropagationLossModel::GetTypeId() [member function]
|
||||
cls.add_method('GetTypeId',
|
||||
@@ -2746,46 +2728,6 @@ def register_Ns3WifiMacHeader_methods(root_module, cls):
|
||||
[])
|
||||
return
|
||||
|
||||
def register_Ns3WifiModeChecker_methods(root_module, cls):
|
||||
## wifi-mode.h: ns3::WifiModeChecker::WifiModeChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## wifi-mode.h: ns3::WifiModeChecker::WifiModeChecker(ns3::WifiModeChecker const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WifiModeChecker const &', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3WifiModeValue_methods(root_module, cls):
|
||||
## wifi-mode.h: ns3::WifiModeValue::WifiModeValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## wifi-mode.h: ns3::WifiModeValue::WifiModeValue(ns3::WifiModeValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WifiModeValue const &', 'arg0')])
|
||||
## wifi-mode.h: ns3::WifiModeValue::WifiModeValue(ns3::WifiMode const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::WifiMode const &', 'value')])
|
||||
## wifi-mode.h: ns3::Ptr<ns3::AttributeValue> ns3::WifiModeValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## wifi-mode.h: bool ns3::WifiModeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## wifi-mode.h: ns3::WifiMode ns3::WifiModeValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::WifiMode',
|
||||
[],
|
||||
is_const=True)
|
||||
## wifi-mode.h: std::string ns3::WifiModeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## wifi-mode.h: void ns3::WifiModeValue::Set(ns3::WifiMode const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('ns3::WifiMode const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3WifiPhy_methods(root_module, cls):
|
||||
## wifi-phy.h: ns3::WifiPhy::WifiPhy(ns3::WifiPhy const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WifiPhy const &', 'arg0')])
|
||||
@@ -4510,6 +4452,11 @@ def register_Ns3NqapWifiMac_methods(root_module, cls):
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
## nqap-wifi-mac.h: void ns3::NqapWifiMac::DoStart() [member function]
|
||||
cls.add_method('DoStart',
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
## nqap-wifi-mac.h: void ns3::NqapWifiMac::FinishConfigureStandard(ns3::WifiPhyStandard standard) [member function]
|
||||
cls.add_method('FinishConfigureStandard',
|
||||
'void',
|
||||
@@ -4991,6 +4938,11 @@ def register_Ns3QapWifiMac_methods(root_module, cls):
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
## qap-wifi-mac.h: void ns3::QapWifiMac::DoStart() [member function]
|
||||
cls.add_method('DoStart',
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
## qap-wifi-mac.h: void ns3::QapWifiMac::FinishConfigureStandard(ns3::WifiPhyStandard standard) [member function]
|
||||
cls.add_method('FinishConfigureStandard',
|
||||
'void',
|
||||
@@ -5190,6 +5142,46 @@ def register_Ns3RraaWifiManager_methods(root_module, cls):
|
||||
visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3SsidChecker_methods(root_module, cls):
|
||||
## ssid.h: ns3::SsidChecker::SsidChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## ssid.h: ns3::SsidChecker::SsidChecker(ns3::SsidChecker const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::SsidChecker const &', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3SsidValue_methods(root_module, cls):
|
||||
## ssid.h: ns3::SsidValue::SsidValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## ssid.h: ns3::SsidValue::SsidValue(ns3::SsidValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::SsidValue const &', 'arg0')])
|
||||
## ssid.h: ns3::SsidValue::SsidValue(ns3::Ssid const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::Ssid const &', 'value')])
|
||||
## ssid.h: ns3::Ptr<ns3::AttributeValue> ns3::SsidValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## ssid.h: bool ns3::SsidValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## ssid.h: ns3::Ssid ns3::SsidValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::Ssid',
|
||||
[],
|
||||
is_const=True)
|
||||
## ssid.h: std::string ns3::SsidValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## ssid.h: void ns3::SsidValue::Set(ns3::Ssid const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('ns3::Ssid const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3WifiChannel_methods(root_module, cls):
|
||||
## wifi-channel.h: ns3::WifiChannel::WifiChannel() [constructor]
|
||||
cls.add_constructor([])
|
||||
@@ -5202,6 +5194,46 @@ def register_Ns3WifiChannel_methods(root_module, cls):
|
||||
is_static=True)
|
||||
return
|
||||
|
||||
def register_Ns3WifiModeChecker_methods(root_module, cls):
|
||||
## wifi-mode.h: ns3::WifiModeChecker::WifiModeChecker() [constructor]
|
||||
cls.add_constructor([])
|
||||
## wifi-mode.h: ns3::WifiModeChecker::WifiModeChecker(ns3::WifiModeChecker const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WifiModeChecker const &', 'arg0')])
|
||||
return
|
||||
|
||||
def register_Ns3WifiModeValue_methods(root_module, cls):
|
||||
## wifi-mode.h: ns3::WifiModeValue::WifiModeValue() [constructor]
|
||||
cls.add_constructor([])
|
||||
## wifi-mode.h: ns3::WifiModeValue::WifiModeValue(ns3::WifiModeValue const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WifiModeValue const &', 'arg0')])
|
||||
## wifi-mode.h: ns3::WifiModeValue::WifiModeValue(ns3::WifiMode const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::WifiMode const &', 'value')])
|
||||
## wifi-mode.h: ns3::Ptr<ns3::AttributeValue> ns3::WifiModeValue::Copy() const [member function]
|
||||
cls.add_method('Copy',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## wifi-mode.h: bool ns3::WifiModeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_virtual=True)
|
||||
## wifi-mode.h: ns3::WifiMode ns3::WifiModeValue::Get() const [member function]
|
||||
cls.add_method('Get',
|
||||
'ns3::WifiMode',
|
||||
[],
|
||||
is_const=True)
|
||||
## wifi-mode.h: std::string ns3::WifiModeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True, is_virtual=True)
|
||||
## wifi-mode.h: void ns3::WifiModeValue::Set(ns3::WifiMode const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('ns3::WifiMode const &', 'value')])
|
||||
return
|
||||
|
||||
def register_Ns3WifiNetDevice_methods(root_module, cls):
|
||||
## wifi-net-device.h: ns3::WifiNetDevice::WifiNetDevice(ns3::WifiNetDevice const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::WifiNetDevice const &', 'arg0')])
|
||||
@@ -5364,6 +5396,11 @@ def register_Ns3WifiNetDevice_methods(root_module, cls):
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
## wifi-net-device.h: void ns3::WifiNetDevice::DoStart() [member function]
|
||||
cls.add_method('DoStart',
|
||||
'void',
|
||||
[],
|
||||
visibility='private', is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3YansErrorRateModel_methods(root_module, cls):
|
||||
@@ -5537,7 +5574,9 @@ def register_functions(root_module):
|
||||
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
||||
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
||||
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
||||
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
|
||||
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
|
||||
register_functions_ns3_dpd(module.get_submodule('dpd'), root_module)
|
||||
register_functions_ns3_flame(module.get_submodule('flame'), root_module)
|
||||
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
||||
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
||||
@@ -5552,9 +5591,15 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
|
||||
def register_functions_ns3_addressUtils(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_aodv(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dot11s(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_dpd(module, root_module):
|
||||
return
|
||||
|
||||
def register_functions_ns3_flame(module, root_module):
|
||||
return
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -231,8 +231,9 @@ def scan_callback_classes(module_parser, callback_classes_file):
|
||||
|
||||
|
||||
class MyPygenClassifier(PygenClassifier):
|
||||
def __init__(self, headers_map):
|
||||
def __init__(self, headers_map, section_precendences):
|
||||
self.headers_map = headers_map
|
||||
self.section_precendences = section_precendences
|
||||
|
||||
def classify(self, pygccxml_definition):
|
||||
name = os.path.basename(pygccxml_definition.location.file_name)
|
||||
@@ -241,6 +242,11 @@ class MyPygenClassifier(PygenClassifier):
|
||||
except KeyError:
|
||||
return '__main__'
|
||||
|
||||
def get_section_precedence(self, section_name):
|
||||
if section_name == '__main__':
|
||||
return -1
|
||||
return self.section_precendences[section_name]
|
||||
|
||||
|
||||
def ns3_module_scan(top_builddir, pygen_file_name, everything_h, cflags):
|
||||
|
||||
@@ -257,13 +263,15 @@ def ns3_module_scan(top_builddir, pygen_file_name, everything_h, cflags):
|
||||
|
||||
sections = [PygenSection('__main__', FileCodeSink(open(pygen_file_name, "wt")))]
|
||||
headers_map = {} # header_name -> section_name
|
||||
for ns3_module in sorted_ns3_modules:
|
||||
section_precendences = {} # section_name -> precedence
|
||||
for prec, ns3_module in enumerate(sorted_ns3_modules):
|
||||
section_name = "ns3_module_%s" % ns3_module.replace('-', '_')
|
||||
file_name = os.path.join(os.path.dirname(pygen_file_name), "%s.py" % section_name)
|
||||
sections.append(PygenSection(section_name, FileCodeSink(open(file_name, "wt")),
|
||||
section_name + "__local"))
|
||||
for header in ns3_modules[ns3_module][1]:
|
||||
headers_map[header] = section_name
|
||||
section_precendences[section_name] = prec
|
||||
|
||||
module_parser = ModuleParser('ns3', 'ns3')
|
||||
|
||||
@@ -283,7 +291,7 @@ def ns3_module_scan(top_builddir, pygen_file_name, everything_h, cflags):
|
||||
None, whitelist_paths=[top_builddir, os.path.dirname(everything_h)],
|
||||
#includes=['"ns3/everything.h"'],
|
||||
pygen_sink=sections,
|
||||
pygen_classifier=MyPygenClassifier(headers_map),
|
||||
pygen_classifier=MyPygenClassifier(headers_map, section_precendences),
|
||||
gccxml_options=gccxml_options)
|
||||
module_parser.scan_types()
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ import Build
|
||||
import Utils
|
||||
|
||||
## https://launchpad.net/pybindgen/
|
||||
REQUIRED_PYBINDGEN_VERSION = (0, 12, 0, 703)
|
||||
REQUIRED_PYBINDGEN_VERSION = (0, 12, 0, 710)
|
||||
REQUIRED_PYGCCXML_VERSION = (0, 9, 5)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user