merge with HEAD
This commit is contained in:
commit
51d62156f5
22 files changed
+106
-243
No files matched your search
@@ -343,8 +343,6 @@ def register_Ns3TcpHeader_methods(root_module, cls):
|
||||
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)
|
||||
## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol::Ipv4L3Protocol(ns3::Ipv4L3Protocol const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Ipv4L3Protocol const &', 'arg0')])
|
||||
## ipv4-l3-protocol.h: static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function]
|
||||
cls.add_method('GetTypeId',
|
||||
'ns3::TypeId',
|
||||
@@ -356,6 +354,18 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls):
|
||||
cls.add_method('SetNode',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Node >', 'node')])
|
||||
## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::Insert(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
|
||||
cls.add_method('Insert',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')])
|
||||
## ipv4-l3-protocol.h: ns3::Ptr<ns3::Ipv4L4Protocol> ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) [member function]
|
||||
cls.add_method('GetProtocol',
|
||||
'ns3::Ptr< ns3::Ipv4L4Protocol >',
|
||||
[param('int', 'protocolNumber')])
|
||||
## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::Remove(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
|
||||
cls.add_method('Remove',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')])
|
||||
## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function]
|
||||
cls.add_method('SetDefaultTtl',
|
||||
'void',
|
||||
|
||||
@@ -675,8 +675,8 @@ def register_Ns3Ssid_methods(root_module, cls):
|
||||
cls.add_constructor([param('ns3::Ssid const &', 'arg0')])
|
||||
## ssid.h: ns3::Ssid::Ssid() [constructor]
|
||||
cls.add_constructor([])
|
||||
## ssid.h: ns3::Ssid::Ssid(char const * ssid) [constructor]
|
||||
cls.add_constructor([param('char const *', 'ssid')])
|
||||
## ssid.h: ns3::Ssid::Ssid(std::string s) [constructor]
|
||||
cls.add_constructor([param('std::string', 's')])
|
||||
## ssid.h: ns3::Ssid::Ssid(char const * ssid, uint8_t length) [constructor]
|
||||
cls.add_constructor([param('char const *', 'ssid'), param('uint8_t', 'length')])
|
||||
## ssid.h: ns3::Buffer::Iterator ns3::Ssid::Deserialize(ns3::Buffer::Iterator i) [member function]
|
||||
|
||||
+10
-2
@@ -326,6 +326,8 @@ def build(bld):
|
||||
return
|
||||
|
||||
env = bld.env_of_name('default')
|
||||
curdir = bld.m_curdirnode.abspath()
|
||||
|
||||
#Object.register('all-ns3-headers', AllNs3Headers)
|
||||
Action.Action('gen-ns3-metaheader', func=gen_ns3_metaheader, color='BLUE')
|
||||
|
||||
@@ -341,11 +343,14 @@ def build(bld):
|
||||
## may be smaller than the set of all modules, in case a new
|
||||
## ns3 module is being developed which wasn't scanned yet.
|
||||
scanned_modules = []
|
||||
for filename in os.listdir(bld.m_curdirnode.abspath()):
|
||||
for filename in os.listdir(curdir):
|
||||
m = re.match(r"^ns3_module_(.+)\.py$", filename)
|
||||
if m is None:
|
||||
continue
|
||||
scanned_modules.append(m.group(1))
|
||||
name = m.group(1)
|
||||
if name.endswith("__local"):
|
||||
continue
|
||||
scanned_modules.append(name)
|
||||
|
||||
if env['ENABLE_PYTHON_BINDINGS']:
|
||||
bindgen = bld.create_obj('command-output')
|
||||
@@ -364,6 +369,9 @@ def build(bld):
|
||||
|
||||
for module in scanned_modules:
|
||||
bindgen.hidden_inputs.append("ns3_module_%s.py" % module)
|
||||
local = "ns3_module_%s__local.py" % module
|
||||
if os.path.exists(os.path.join(curdir, local)):
|
||||
bindgen.hidden_inputs.append(local)
|
||||
|
||||
bindgen.hidden_outputs = ['ns3module.h']
|
||||
for module in scanned_modules:
|
||||
|
||||
Reference in new issue
Block a user