diff --git a/bindings/python/apidefs/gcc-ILP32/callbacks_list.py b/bindings/python/apidefs/gcc-ILP32/callbacks_list.py index da45e917c..3ef430b30 100644 --- a/bindings/python/apidefs/gcc-ILP32/callbacks_list.py +++ b/bindings/python/apidefs/gcc-ILP32/callbacks_list.py @@ -4,18 +4,21 @@ callback_classes = [ ['void', 'ns3::Ptr', '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::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr', 'ns3::WifiMacHeader const*', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], + ['std::vector >', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], + ['void', 'bool', 'ns3::Ptr', '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::Ptr', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'], + ['bool', 'ns3::Ptr', 'ns3::Ptr', 'unsigned short', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], + ['void', 'ns3::Ptr', 'ns3::Ipv4Header const&', 'ns3::Socket::SocketErrno', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], + ['void', 'ns3::Ptr', 'ns3::Ptr', 'ns3::Ipv4Header const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['bool', 'ns3::Ptr', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['std::vector >', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'bool', 'ns3::Ptr', '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::Ptr', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['bool', 'ns3::Ptr', 'ns3::Ptr', '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::Ipv4Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr', 'ns3::Ptr', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ] diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_aodv.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_aodv.py new file mode 100644 index 000000000..15e515139 --- /dev/null +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_aodv.py @@ -0,0 +1,1014 @@ +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() + + ## aodv-packet.h: ns3::aodv::MessageType [enumeration] + module.add_enum('MessageType', ['AODVTYPE_RREQ', 'AODVTYPE_RREP', 'AODVTYPE_RERR', 'AODVTYPE_RREP_ACK']) + ## aodv-rtable.h: ns3::aodv::RouteFlags [enumeration] + module.add_enum('RouteFlags', ['VALID', 'INVALID', 'IN_SEARCH']) + ## aodv-neighbor.h: ns3::aodv::Neighbors [class] + module.add_class('Neighbors') + ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor [struct] + module.add_class('Neighbor', outer_class=root_module['ns3::aodv::Neighbors']) + ## aodv-rqueue.h: ns3::aodv::QueueEntry [class] + module.add_class('QueueEntry') + ## aodv-rqueue.h: ns3::aodv::RequestQueue [class] + module.add_class('RequestQueue') + ## aodv-packet.h: ns3::aodv::RerrHeader [class] + module.add_class('RerrHeader', parent=root_module['ns3::Header']) + ## aodv-routing-protocol.h: ns3::aodv::RoutingProtocol [class] + module.add_class('RoutingProtocol', parent=root_module['ns3::Ipv4RoutingProtocol']) + ## aodv-rtable.h: ns3::aodv::RoutingTable [class] + module.add_class('RoutingTable') + ## aodv-rtable.h: ns3::aodv::RoutingTableEntry [class] + module.add_class('RoutingTableEntry') + ## aodv-packet.h: ns3::aodv::RrepAckHeader [class] + module.add_class('RrepAckHeader', parent=root_module['ns3::Header']) + ## aodv-packet.h: ns3::aodv::RrepHeader [class] + module.add_class('RrepHeader', parent=root_module['ns3::Header']) + ## aodv-packet.h: ns3::aodv::RreqHeader [class] + module.add_class('RreqHeader', parent=root_module['ns3::Header']) + ## aodv-packet.h: ns3::aodv::TypeHeader [class] + module.add_class('TypeHeader', parent=root_module['ns3::Header']) + +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() + + +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_Ns3AodvNeighbors_methods(root_module, root_module['ns3::aodv::Neighbors']) + register_Ns3AodvNeighborsNeighbor_methods(root_module, root_module['ns3::aodv::Neighbors::Neighbor']) + register_Ns3AodvQueueEntry_methods(root_module, root_module['ns3::aodv::QueueEntry']) + register_Ns3AodvRequestQueue_methods(root_module, root_module['ns3::aodv::RequestQueue']) + register_Ns3AodvRerrHeader_methods(root_module, root_module['ns3::aodv::RerrHeader']) + register_Ns3AodvRoutingProtocol_methods(root_module, root_module['ns3::aodv::RoutingProtocol']) + register_Ns3AodvRoutingTable_methods(root_module, root_module['ns3::aodv::RoutingTable']) + register_Ns3AodvRoutingTableEntry_methods(root_module, root_module['ns3::aodv::RoutingTableEntry']) + register_Ns3AodvRrepAckHeader_methods(root_module, root_module['ns3::aodv::RrepAckHeader']) + register_Ns3AodvRrepHeader_methods(root_module, root_module['ns3::aodv::RrepHeader']) + register_Ns3AodvRreqHeader_methods(root_module, root_module['ns3::aodv::RreqHeader']) + register_Ns3AodvTypeHeader_methods(root_module, root_module['ns3::aodv::TypeHeader']) + return + +def register_Ns3AodvNeighbors_methods(root_module, cls): + ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbors(ns3::aodv::Neighbors const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::Neighbors const &', 'arg0')]) + ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbors(ns3::Time delay) [constructor] + cls.add_constructor([param('ns3::Time', 'delay')]) + ## aodv-neighbor.h: void ns3::aodv::Neighbors::AddArpCache(ns3::Ptr arg0) [member function] + cls.add_method('AddArpCache', + 'void', + [param('ns3::Ptr< ns3::ArpCache >', 'arg0')]) + ## aodv-neighbor.h: void ns3::aodv::Neighbors::Clear() [member function] + cls.add_method('Clear', + 'void', + []) + ## aodv-neighbor.h: void ns3::aodv::Neighbors::DelArpCache(ns3::Ptr arg0) [member function] + cls.add_method('DelArpCache', + 'void', + [param('ns3::Ptr< ns3::ArpCache >', 'arg0')]) + ## aodv-neighbor.h: ns3::Callback ns3::aodv::Neighbors::GetCallback() const [member function] + cls.add_method('GetCallback', + 'ns3::Callback< void, ns3::Ipv4Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', + [], + is_const=True) + ## aodv-neighbor.h: ns3::Time ns3::aodv::Neighbors::GetExpireTime(ns3::Ipv4Address addr) [member function] + cls.add_method('GetExpireTime', + 'ns3::Time', + [param('ns3::Ipv4Address', 'addr')]) + ## aodv-neighbor.h: ns3::Callback ns3::aodv::Neighbors::GetTxErrorCallback() const [member function] + cls.add_method('GetTxErrorCallback', + 'ns3::Callback< void, ns3::WifiMacHeader const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', + [], + is_const=True) + ## aodv-neighbor.h: bool ns3::aodv::Neighbors::IsNeighbor(ns3::Ipv4Address addr) [member function] + cls.add_method('IsNeighbor', + 'bool', + [param('ns3::Ipv4Address', 'addr')]) + ## aodv-neighbor.h: void ns3::aodv::Neighbors::Purge() [member function] + cls.add_method('Purge', + 'void', + []) + ## aodv-neighbor.h: void ns3::aodv::Neighbors::ScheduleTimer() [member function] + cls.add_method('ScheduleTimer', + 'void', + []) + ## aodv-neighbor.h: void ns3::aodv::Neighbors::SetCallback(ns3::Callback cb) [member function] + cls.add_method('SetCallback', + 'void', + [param('ns3::Callback< void, ns3::Ipv4Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')]) + ## aodv-neighbor.h: void ns3::aodv::Neighbors::Update(ns3::Ipv4Address addr, ns3::Time expire) [member function] + cls.add_method('Update', + 'void', + [param('ns3::Ipv4Address', 'addr'), param('ns3::Time', 'expire')]) + return + +def register_Ns3AodvNeighborsNeighbor_methods(root_module, cls): + ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::Neighbor(ns3::aodv::Neighbors::Neighbor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::Neighbors::Neighbor const &', 'arg0')]) + ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::Neighbor(ns3::Ipv4Address ip, ns3::Mac48Address mac, ns3::Time t) [constructor] + cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('ns3::Mac48Address', 'mac'), param('ns3::Time', 't')]) + ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::close [variable] + cls.add_instance_attribute('close', 'bool', is_const=False) + ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::m_expireTime [variable] + cls.add_instance_attribute('m_expireTime', 'ns3::Time', is_const=False) + ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::m_hardwareAddress [variable] + cls.add_instance_attribute('m_hardwareAddress', 'ns3::Mac48Address', is_const=False) + ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::m_neighborAddress [variable] + cls.add_instance_attribute('m_neighborAddress', 'ns3::Ipv4Address', is_const=False) + return + +def register_Ns3AodvQueueEntry_methods(root_module, cls): + cls.add_binary_comparison_operator('==') + ## aodv-rqueue.h: ns3::aodv::QueueEntry::QueueEntry(ns3::aodv::QueueEntry const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::QueueEntry const &', 'arg0')]) + ## aodv-rqueue.h: ns3::aodv::QueueEntry::QueueEntry(ns3::Ptr pa=0, ns3::Ipv4Header const & h=ns3::Ipv4Header(), ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb=ns3::Callback, ns3::Ptr, const ns3::Ipv4Header&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>(), ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb=ns3::Callback, const ns3::Ipv4Header&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>(), ns3::Time exp=ns3::Simulator::Now( )) [constructor] + cls.add_constructor([param('ns3::Ptr< ns3::Packet const >', 'pa', default_value='0'), param('ns3::Ipv4Header const &', 'h', default_value='ns3::Ipv4Header()'), 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', default_value='ns3::Callback, ns3::Ptr, const ns3::Ipv4Header&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>()'), 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', default_value='ns3::Callback, const ns3::Ipv4Header&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>()'), param('ns3::Time', 'exp', default_value='ns3::Simulator::Now( )')]) + ## aodv-rqueue.h: ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::aodv::QueueEntry::GetErrorCallback() const [member function] + cls.add_method('GetErrorCallback', + '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 >', + [], + is_const=True) + ## aodv-rqueue.h: ns3::Time ns3::aodv::QueueEntry::GetExpireTime() const [member function] + cls.add_method('GetExpireTime', + 'ns3::Time', + [], + is_const=True) + ## aodv-rqueue.h: ns3::Ipv4Header ns3::aodv::QueueEntry::GetIpv4Header() const [member function] + cls.add_method('GetIpv4Header', + 'ns3::Ipv4Header', + [], + is_const=True) + ## aodv-rqueue.h: ns3::Ptr ns3::aodv::QueueEntry::GetPacket() const [member function] + cls.add_method('GetPacket', + 'ns3::Ptr< ns3::Packet const >', + [], + is_const=True) + ## aodv-rqueue.h: ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::aodv::QueueEntry::GetUnicastForwardCallback() const [member function] + cls.add_method('GetUnicastForwardCallback', + '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 >', + [], + is_const=True) + ## aodv-rqueue.h: void ns3::aodv::QueueEntry::SetErrorCallback(ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] + cls.add_method('SetErrorCallback', + 'void', + [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')]) + ## aodv-rqueue.h: void ns3::aodv::QueueEntry::SetExpireTime(ns3::Time exp) [member function] + cls.add_method('SetExpireTime', + 'void', + [param('ns3::Time', 'exp')]) + ## aodv-rqueue.h: void ns3::aodv::QueueEntry::SetIpv4Header(ns3::Ipv4Header h) [member function] + cls.add_method('SetIpv4Header', + 'void', + [param('ns3::Ipv4Header', 'h')]) + ## aodv-rqueue.h: void ns3::aodv::QueueEntry::SetPacket(ns3::Ptr p) [member function] + cls.add_method('SetPacket', + 'void', + [param('ns3::Ptr< ns3::Packet const >', 'p')]) + ## aodv-rqueue.h: void ns3::aodv::QueueEntry::SetUnicastForwardCallback(ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb) [member function] + cls.add_method('SetUnicastForwardCallback', + 'void', + [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')]) + return + +def register_Ns3AodvRequestQueue_methods(root_module, cls): + ## aodv-rqueue.h: ns3::aodv::RequestQueue::RequestQueue(ns3::aodv::RequestQueue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::RequestQueue const &', 'arg0')]) + ## aodv-rqueue.h: ns3::aodv::RequestQueue::RequestQueue(uint32_t maxLen, ns3::Time routeToQueueTimeout) [constructor] + cls.add_constructor([param('uint32_t', 'maxLen'), param('ns3::Time', 'routeToQueueTimeout')]) + ## aodv-rqueue.h: bool ns3::aodv::RequestQueue::Dequeue(ns3::Ipv4Address dst, ns3::aodv::QueueEntry & entry) [member function] + cls.add_method('Dequeue', + 'bool', + [param('ns3::Ipv4Address', 'dst'), param('ns3::aodv::QueueEntry &', 'entry')]) + ## aodv-rqueue.h: void ns3::aodv::RequestQueue::DropPacketWithDst(ns3::Ipv4Address dst) [member function] + cls.add_method('DropPacketWithDst', + 'void', + [param('ns3::Ipv4Address', 'dst')]) + ## aodv-rqueue.h: bool ns3::aodv::RequestQueue::Enqueue(ns3::aodv::QueueEntry & entry) [member function] + cls.add_method('Enqueue', + 'bool', + [param('ns3::aodv::QueueEntry &', 'entry')]) + ## aodv-rqueue.h: bool ns3::aodv::RequestQueue::Find(ns3::Ipv4Address dst) [member function] + cls.add_method('Find', + 'bool', + [param('ns3::Ipv4Address', 'dst')]) + ## aodv-rqueue.h: uint32_t ns3::aodv::RequestQueue::GetMaxQueueLen() const [member function] + cls.add_method('GetMaxQueueLen', + 'uint32_t', + [], + is_const=True) + ## aodv-rqueue.h: ns3::Time ns3::aodv::RequestQueue::GetQueueTimeout() const [member function] + cls.add_method('GetQueueTimeout', + 'ns3::Time', + [], + is_const=True) + ## aodv-rqueue.h: uint32_t ns3::aodv::RequestQueue::GetSize() [member function] + cls.add_method('GetSize', + 'uint32_t', + []) + ## aodv-rqueue.h: void ns3::aodv::RequestQueue::SetMaxQueueLen(uint32_t len) [member function] + cls.add_method('SetMaxQueueLen', + 'void', + [param('uint32_t', 'len')]) + ## aodv-rqueue.h: void ns3::aodv::RequestQueue::SetQueueTimeout(ns3::Time t) [member function] + cls.add_method('SetQueueTimeout', + 'void', + [param('ns3::Time', 't')]) + return + +def register_Ns3AodvRerrHeader_methods(root_module, cls): + cls.add_output_stream_operator() + cls.add_binary_comparison_operator('==') + ## aodv-packet.h: ns3::aodv::RerrHeader::RerrHeader(ns3::aodv::RerrHeader const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::RerrHeader const &', 'arg0')]) + ## aodv-packet.h: ns3::aodv::RerrHeader::RerrHeader() [constructor] + cls.add_constructor([]) + ## aodv-packet.h: bool ns3::aodv::RerrHeader::AddUnDestination(ns3::Ipv4Address dst, uint32_t seqNo) [member function] + cls.add_method('AddUnDestination', + 'bool', + [param('ns3::Ipv4Address', 'dst'), param('uint32_t', 'seqNo')]) + ## aodv-packet.h: void ns3::aodv::RerrHeader::Clear() [member function] + cls.add_method('Clear', + 'void', + []) + ## aodv-packet.h: uint32_t ns3::aodv::RerrHeader::Deserialize(ns3::Buffer::Iterator start) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'start')], + is_virtual=True) + ## aodv-packet.h: uint8_t ns3::aodv::RerrHeader::GetDestCount() const [member function] + cls.add_method('GetDestCount', + 'uint8_t', + [], + is_const=True) + ## aodv-packet.h: ns3::TypeId ns3::aodv::RerrHeader::GetInstanceTypeId() const [member function] + cls.add_method('GetInstanceTypeId', + 'ns3::TypeId', + [], + is_const=True, is_virtual=True) + ## aodv-packet.h: bool ns3::aodv::RerrHeader::GetNoDelete() const [member function] + cls.add_method('GetNoDelete', + 'bool', + [], + is_const=True) + ## aodv-packet.h: uint32_t ns3::aodv::RerrHeader::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## aodv-packet.h: void ns3::aodv::RerrHeader::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, is_virtual=True) + ## aodv-packet.h: bool ns3::aodv::RerrHeader::RemoveUnDestination(std::pair & un) [member function] + cls.add_method('RemoveUnDestination', + 'bool', + [param('std::pair< ns3::Ipv4Address, unsigned int > &', 'un')]) + ## aodv-packet.h: void ns3::aodv::RerrHeader::Serialize(ns3::Buffer::Iterator i) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator', 'i')], + is_const=True, is_virtual=True) + ## aodv-packet.h: void ns3::aodv::RerrHeader::SetNoDelete(bool f) [member function] + cls.add_method('SetNoDelete', + 'void', + [param('bool', 'f')]) + return + +def register_Ns3AodvRoutingProtocol_methods(root_module, cls): + ## aodv-routing-protocol.h: ns3::aodv::RoutingProtocol::RoutingProtocol(ns3::aodv::RoutingProtocol const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::RoutingProtocol const &', 'arg0')]) + ## aodv-routing-protocol.h: ns3::aodv::RoutingProtocol::RoutingProtocol() [constructor] + cls.add_constructor([]) + ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + is_virtual=True) + ## aodv-routing-protocol.h: bool ns3::aodv::RoutingProtocol::GetBroadcastEnable() const [member function] + cls.add_method('GetBroadcastEnable', + 'bool', + [], + is_const=True) + ## aodv-routing-protocol.h: bool ns3::aodv::RoutingProtocol::GetDesinationOnlyFlag() const [member function] + cls.add_method('GetDesinationOnlyFlag', + 'bool', + [], + is_const=True) + ## aodv-routing-protocol.h: bool ns3::aodv::RoutingProtocol::GetGratuitousReplyFlag() const [member function] + cls.add_method('GetGratuitousReplyFlag', + 'bool', + [], + is_const=True) + ## aodv-routing-protocol.h: bool ns3::aodv::RoutingProtocol::GetHelloEnable() const [member function] + cls.add_method('GetHelloEnable', + 'bool', + [], + is_const=True) + ## aodv-routing-protocol.h: static ns3::TypeId ns3::aodv::RoutingProtocol::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] + cls.add_method('NotifyAddAddress', + 'void', + [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], + is_virtual=True) + ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::NotifyInterfaceDown(uint32_t interface) [member function] + cls.add_method('NotifyInterfaceDown', + 'void', + [param('uint32_t', 'interface')], + is_virtual=True) + ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::NotifyInterfaceUp(uint32_t interface) [member function] + cls.add_method('NotifyInterfaceUp', + 'void', + [param('uint32_t', 'interface')], + is_virtual=True) + ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] + cls.add_method('NotifyRemoveAddress', + 'void', + [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], + is_virtual=True) + ## aodv-routing-protocol.h: bool ns3::aodv::RoutingProtocol::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, 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')], + is_virtual=True) + ## aodv-routing-protocol.h: ns3::Ptr ns3::aodv::RoutingProtocol::RouteOutput(ns3::Ptr p, ns3::Ipv4Header const & header, uint32_t oif, ns3::Socket::SocketErrno & sockerr) [member function] + cls.add_method('RouteOutput', + 'ns3::Ptr< ns3::Ipv4Route >', + [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('uint32_t', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], + is_virtual=True) + ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetBroadcastEnable(bool f) [member function] + cls.add_method('SetBroadcastEnable', + 'void', + [param('bool', 'f')]) + ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetDesinationOnlyFlag(bool f) [member function] + cls.add_method('SetDesinationOnlyFlag', + 'void', + [param('bool', 'f')]) + ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetGratuitousReplyFlag(bool f) [member function] + cls.add_method('SetGratuitousReplyFlag', + 'void', + [param('bool', 'f')]) + ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetHelloEnable(bool f) [member function] + cls.add_method('SetHelloEnable', + 'void', + [param('bool', 'f')]) + ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetIpv4(ns3::Ptr ipv4) [member function] + cls.add_method('SetIpv4', + 'void', + [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], + is_virtual=True) + ## aodv-routing-protocol.h: ns3::aodv::RoutingProtocol::AODV_PORT [variable] + cls.add_static_attribute('AODV_PORT', 'uint32_t const', is_const=True) + return + +def register_Ns3AodvRoutingTable_methods(root_module, cls): + ## aodv-rtable.h: ns3::aodv::RoutingTable::RoutingTable(ns3::aodv::RoutingTable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::RoutingTable const &', 'arg0')]) + ## aodv-rtable.h: ns3::aodv::RoutingTable::RoutingTable(ns3::Time t) [constructor] + cls.add_constructor([param('ns3::Time', 't')]) + ## aodv-rtable.h: bool ns3::aodv::RoutingTable::AddRoute(ns3::aodv::RoutingTableEntry & r) [member function] + cls.add_method('AddRoute', + 'bool', + [param('ns3::aodv::RoutingTableEntry &', 'r')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTable::Clear() [member function] + cls.add_method('Clear', + 'void', + []) + ## aodv-rtable.h: void ns3::aodv::RoutingTable::DeleteAllRoutesFromInterface(ns3::Ipv4InterfaceAddress iface) [member function] + cls.add_method('DeleteAllRoutesFromInterface', + 'void', + [param('ns3::Ipv4InterfaceAddress', 'iface')]) + ## aodv-rtable.h: bool ns3::aodv::RoutingTable::DeleteRoute(ns3::Ipv4Address dst) [member function] + cls.add_method('DeleteRoute', + 'bool', + [param('ns3::Ipv4Address', 'dst')]) + ## aodv-rtable.h: ns3::Time ns3::aodv::RoutingTable::GetBadLinkLifetime() const [member function] + cls.add_method('GetBadLinkLifetime', + 'ns3::Time', + [], + is_const=True) + ## aodv-rtable.h: void ns3::aodv::RoutingTable::GetListOfDestinationWithNextHop(ns3::Ipv4Address nextHop, std::map, std::allocator > > & unreachable) [member function] + cls.add_method('GetListOfDestinationWithNextHop', + 'void', + [param('ns3::Ipv4Address', 'nextHop'), param('std::map< ns3::Ipv4Address, unsigned int > &', 'unreachable')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTable::InvalidateRoutesWithDst(std::map, std::allocator > > const & unreachable) [member function] + cls.add_method('InvalidateRoutesWithDst', + 'void', + [param('std::map< ns3::Ipv4Address, unsigned int > const &', 'unreachable')]) + ## aodv-rtable.h: bool ns3::aodv::RoutingTable::LookupRoute(ns3::Ipv4Address dst, ns3::aodv::RoutingTableEntry & rt) [member function] + cls.add_method('LookupRoute', + 'bool', + [param('ns3::Ipv4Address', 'dst'), param('ns3::aodv::RoutingTableEntry &', 'rt')]) + ## aodv-rtable.h: bool ns3::aodv::RoutingTable::MarkLinkAsUnidirectional(ns3::Ipv4Address neighbor, ns3::Time blacklistTimeout) [member function] + cls.add_method('MarkLinkAsUnidirectional', + 'bool', + [param('ns3::Ipv4Address', 'neighbor'), param('ns3::Time', 'blacklistTimeout')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTable::Print(std::ostream & os) [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTable::Purge() [member function] + cls.add_method('Purge', + 'void', + []) + ## aodv-rtable.h: void ns3::aodv::RoutingTable::SetBadLinkLifetime(ns3::Time t) [member function] + cls.add_method('SetBadLinkLifetime', + 'void', + [param('ns3::Time', 't')]) + ## aodv-rtable.h: bool ns3::aodv::RoutingTable::SetEntryState(ns3::Ipv4Address dst, ns3::aodv::RouteFlags state) [member function] + cls.add_method('SetEntryState', + 'bool', + [param('ns3::Ipv4Address', 'dst'), param('ns3::aodv::RouteFlags', 'state')]) + ## aodv-rtable.h: bool ns3::aodv::RoutingTable::Update(ns3::aodv::RoutingTableEntry & rt) [member function] + cls.add_method('Update', + 'bool', + [param('ns3::aodv::RoutingTableEntry &', 'rt')]) + return + +def register_Ns3AodvRoutingTableEntry_methods(root_module, cls): + ## aodv-rtable.h: ns3::aodv::RoutingTableEntry::RoutingTableEntry(ns3::aodv::RoutingTableEntry const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::RoutingTableEntry const &', 'arg0')]) + ## aodv-rtable.h: ns3::aodv::RoutingTableEntry::RoutingTableEntry(ns3::Ptr dev=0, ns3::Ipv4Address dst=ns3::Ipv4Address(), bool vSeqNo=false, u_int32_t m_seqNo=0, ns3::Ipv4InterfaceAddress iface=ns3::Ipv4InterfaceAddress(), u_int16_t hops=0, ns3::Ipv4Address nextHop=ns3::Ipv4Address(), ns3::Time lifetime=ns3::Simulator::Now( )) [constructor] + cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev', default_value='0'), param('ns3::Ipv4Address', 'dst', default_value='ns3::Ipv4Address()'), param('bool', 'vSeqNo', default_value='false'), param('u_int32_t', 'm_seqNo', default_value='0'), param('ns3::Ipv4InterfaceAddress', 'iface', default_value='ns3::Ipv4InterfaceAddress()'), param('u_int16_t', 'hops', default_value='0'), param('ns3::Ipv4Address', 'nextHop', default_value='ns3::Ipv4Address()'), param('ns3::Time', 'lifetime', default_value='ns3::Simulator::Now( )')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::DeleteAllPrecursors() [member function] + cls.add_method('DeleteAllPrecursors', + 'void', + []) + ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::DeletePrecursor(ns3::Ipv4Address id) [member function] + cls.add_method('DeletePrecursor', + 'bool', + [param('ns3::Ipv4Address', 'id')]) + ## aodv-rtable.h: ns3::Time ns3::aodv::RoutingTableEntry::GetBlacklistTimeout() const [member function] + cls.add_method('GetBlacklistTimeout', + 'ns3::Time', + [], + is_const=True) + ## aodv-rtable.h: ns3::Ipv4Address ns3::aodv::RoutingTableEntry::GetDestination() const [member function] + cls.add_method('GetDestination', + 'ns3::Ipv4Address', + [], + is_const=True) + ## aodv-rtable.h: ns3::aodv::RouteFlags ns3::aodv::RoutingTableEntry::GetFlag() const [member function] + cls.add_method('GetFlag', + 'ns3::aodv::RouteFlags', + [], + is_const=True) + ## aodv-rtable.h: uint16_t ns3::aodv::RoutingTableEntry::GetHop() const [member function] + cls.add_method('GetHop', + 'uint16_t', + [], + is_const=True) + ## aodv-rtable.h: ns3::Ipv4InterfaceAddress ns3::aodv::RoutingTableEntry::GetInterface() const [member function] + cls.add_method('GetInterface', + 'ns3::Ipv4InterfaceAddress', + [], + is_const=True) + ## aodv-rtable.h: ns3::Time ns3::aodv::RoutingTableEntry::GetLifeTime() const [member function] + cls.add_method('GetLifeTime', + 'ns3::Time', + [], + is_const=True) + ## aodv-rtable.h: ns3::Ipv4Address ns3::aodv::RoutingTableEntry::GetNextHop() const [member function] + cls.add_method('GetNextHop', + 'ns3::Ipv4Address', + [], + is_const=True) + ## aodv-rtable.h: ns3::Ptr ns3::aodv::RoutingTableEntry::GetOutputDevice() const [member function] + cls.add_method('GetOutputDevice', + 'ns3::Ptr< ns3::NetDevice >', + [], + is_const=True) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::GetPrecursors(std::vector > & prec) const [member function] + cls.add_method('GetPrecursors', + 'void', + [param('std::vector< ns3::Ipv4Address > &', 'prec')], + is_const=True) + ## aodv-rtable.h: ns3::Ptr ns3::aodv::RoutingTableEntry::GetRoute() const [member function] + cls.add_method('GetRoute', + 'ns3::Ptr< ns3::Ipv4Route >', + [], + is_const=True) + ## aodv-rtable.h: uint8_t ns3::aodv::RoutingTableEntry::GetRreqCnt() const [member function] + cls.add_method('GetRreqCnt', + 'uint8_t', + [], + is_const=True) + ## aodv-rtable.h: uint32_t ns3::aodv::RoutingTableEntry::GetSeqNo() const [member function] + cls.add_method('GetSeqNo', + 'uint32_t', + [], + is_const=True) + ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::GetValidSeqNo() const [member function] + cls.add_method('GetValidSeqNo', + 'bool', + [], + is_const=True) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::IncrementRreqCnt() [member function] + cls.add_method('IncrementRreqCnt', + 'void', + []) + ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::InsertPrecursor(ns3::Ipv4Address id) [member function] + cls.add_method('InsertPrecursor', + 'bool', + [param('ns3::Ipv4Address', 'id')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::Invalidate(ns3::Time badLinkLifetime) [member function] + cls.add_method('Invalidate', + 'void', + [param('ns3::Time', 'badLinkLifetime')]) + ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::IsPrecursorListEmpty() const [member function] + cls.add_method('IsPrecursorListEmpty', + 'bool', + [], + is_const=True) + ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::IsUnidirectional() const [member function] + cls.add_method('IsUnidirectional', + 'bool', + [], + is_const=True) + ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::LookupPrecursor(ns3::Ipv4Address id) [member function] + cls.add_method('LookupPrecursor', + 'bool', + [param('ns3::Ipv4Address', 'id')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetBalcklistTimeout(ns3::Time t) [member function] + cls.add_method('SetBalcklistTimeout', + 'void', + [param('ns3::Time', 't')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetFlag(ns3::aodv::RouteFlags flag) [member function] + cls.add_method('SetFlag', + 'void', + [param('ns3::aodv::RouteFlags', 'flag')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetHop(uint16_t hop) [member function] + cls.add_method('SetHop', + 'void', + [param('uint16_t', 'hop')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetInterface(ns3::Ipv4InterfaceAddress iface) [member function] + cls.add_method('SetInterface', + 'void', + [param('ns3::Ipv4InterfaceAddress', 'iface')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetLifeTime(ns3::Time lt) [member function] + cls.add_method('SetLifeTime', + 'void', + [param('ns3::Time', 'lt')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetNextHop(ns3::Ipv4Address nextHop) [member function] + cls.add_method('SetNextHop', + 'void', + [param('ns3::Ipv4Address', 'nextHop')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetOutputDevice(ns3::Ptr dev) [member function] + cls.add_method('SetOutputDevice', + 'void', + [param('ns3::Ptr< ns3::NetDevice >', 'dev')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetRoute(ns3::Ptr r) [member function] + cls.add_method('SetRoute', + 'void', + [param('ns3::Ptr< ns3::Ipv4Route >', 'r')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetRreqCnt(uint8_t n) [member function] + cls.add_method('SetRreqCnt', + 'void', + [param('uint8_t', 'n')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetSeqNo(uint32_t sn) [member function] + cls.add_method('SetSeqNo', + 'void', + [param('uint32_t', 'sn')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetUnidirectional(bool u) [member function] + cls.add_method('SetUnidirectional', + 'void', + [param('bool', 'u')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetValidSeqNo(bool s) [member function] + cls.add_method('SetValidSeqNo', + 'void', + [param('bool', 's')]) + ## aodv-rtable.h: ns3::aodv::RoutingTableEntry::m_ackTimer [variable] + cls.add_instance_attribute('m_ackTimer', 'ns3::Timer', is_const=False) + return + +def register_Ns3AodvRrepAckHeader_methods(root_module, cls): + cls.add_output_stream_operator() + cls.add_binary_comparison_operator('==') + ## aodv-packet.h: ns3::aodv::RrepAckHeader::RrepAckHeader(ns3::aodv::RrepAckHeader const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::RrepAckHeader const &', 'arg0')]) + ## aodv-packet.h: ns3::aodv::RrepAckHeader::RrepAckHeader() [constructor] + cls.add_constructor([]) + ## aodv-packet.h: uint32_t ns3::aodv::RrepAckHeader::Deserialize(ns3::Buffer::Iterator start) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'start')], + is_virtual=True) + ## aodv-packet.h: ns3::TypeId ns3::aodv::RrepAckHeader::GetInstanceTypeId() const [member function] + cls.add_method('GetInstanceTypeId', + 'ns3::TypeId', + [], + is_const=True, is_virtual=True) + ## aodv-packet.h: uint32_t ns3::aodv::RrepAckHeader::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## aodv-packet.h: void ns3::aodv::RrepAckHeader::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, is_virtual=True) + ## aodv-packet.h: void ns3::aodv::RrepAckHeader::Serialize(ns3::Buffer::Iterator start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator', 'start')], + is_const=True, is_virtual=True) + return + +def register_Ns3AodvRrepHeader_methods(root_module, cls): + cls.add_output_stream_operator() + cls.add_binary_comparison_operator('==') + ## aodv-packet.h: ns3::aodv::RrepHeader::RrepHeader(ns3::aodv::RrepHeader const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::RrepHeader const &', 'arg0')]) + ## aodv-packet.h: ns3::aodv::RrepHeader::RrepHeader(uint8_t prefixSize=0, uint8_t hopCount=0, ns3::Ipv4Address dst=ns3::Ipv4Address(), uint32_t dstSeqNo=0, ns3::Ipv4Address origin=ns3::Ipv4Address(), ns3::Time lifetime=ns3::MilliSeconds( )) [constructor] + cls.add_constructor([param('uint8_t', 'prefixSize', default_value='0'), param('uint8_t', 'hopCount', default_value='0'), param('ns3::Ipv4Address', 'dst', default_value='ns3::Ipv4Address()'), param('uint32_t', 'dstSeqNo', default_value='0'), param('ns3::Ipv4Address', 'origin', default_value='ns3::Ipv4Address()'), param('ns3::Time', 'lifetime', default_value='ns3::MilliSeconds(0)')]) + ## aodv-packet.h: uint32_t ns3::aodv::RrepHeader::Deserialize(ns3::Buffer::Iterator start) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'start')], + is_virtual=True) + ## aodv-packet.h: bool ns3::aodv::RrepHeader::GetAckRequired() const [member function] + cls.add_method('GetAckRequired', + 'bool', + [], + is_const=True) + ## aodv-packet.h: ns3::Ipv4Address ns3::aodv::RrepHeader::GetDst() const [member function] + cls.add_method('GetDst', + 'ns3::Ipv4Address', + [], + is_const=True) + ## aodv-packet.h: uint32_t ns3::aodv::RrepHeader::GetDstSeqno() const [member function] + cls.add_method('GetDstSeqno', + 'uint32_t', + [], + is_const=True) + ## aodv-packet.h: uint8_t ns3::aodv::RrepHeader::GetHopCount() const [member function] + cls.add_method('GetHopCount', + 'uint8_t', + [], + is_const=True) + ## aodv-packet.h: ns3::TypeId ns3::aodv::RrepHeader::GetInstanceTypeId() const [member function] + cls.add_method('GetInstanceTypeId', + 'ns3::TypeId', + [], + is_const=True, is_virtual=True) + ## aodv-packet.h: ns3::Time ns3::aodv::RrepHeader::GetLifeTime() const [member function] + cls.add_method('GetLifeTime', + 'ns3::Time', + [], + is_const=True) + ## aodv-packet.h: ns3::Ipv4Address ns3::aodv::RrepHeader::GetOrigin() const [member function] + cls.add_method('GetOrigin', + 'ns3::Ipv4Address', + [], + is_const=True) + ## aodv-packet.h: uint8_t ns3::aodv::RrepHeader::GetPrefixSize() const [member function] + cls.add_method('GetPrefixSize', + 'uint8_t', + [], + is_const=True) + ## aodv-packet.h: uint32_t ns3::aodv::RrepHeader::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## aodv-packet.h: void ns3::aodv::RrepHeader::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, is_virtual=True) + ## aodv-packet.h: void ns3::aodv::RrepHeader::Serialize(ns3::Buffer::Iterator start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator', 'start')], + is_const=True, is_virtual=True) + ## aodv-packet.h: void ns3::aodv::RrepHeader::SetAckRequired(bool f) [member function] + cls.add_method('SetAckRequired', + 'void', + [param('bool', 'f')]) + ## aodv-packet.h: void ns3::aodv::RrepHeader::SetDst(ns3::Ipv4Address a) [member function] + cls.add_method('SetDst', + 'void', + [param('ns3::Ipv4Address', 'a')]) + ## aodv-packet.h: void ns3::aodv::RrepHeader::SetDstSeqno(uint32_t s) [member function] + cls.add_method('SetDstSeqno', + 'void', + [param('uint32_t', 's')]) + ## aodv-packet.h: void ns3::aodv::RrepHeader::SetHello(ns3::Ipv4Address src, uint32_t srcSeqNo, ns3::Time lifetime) [member function] + cls.add_method('SetHello', + 'void', + [param('ns3::Ipv4Address', 'src'), param('uint32_t', 'srcSeqNo'), param('ns3::Time', 'lifetime')]) + ## aodv-packet.h: void ns3::aodv::RrepHeader::SetHopCount(uint8_t count) [member function] + cls.add_method('SetHopCount', + 'void', + [param('uint8_t', 'count')]) + ## aodv-packet.h: void ns3::aodv::RrepHeader::SetLifeTime(ns3::Time t) [member function] + cls.add_method('SetLifeTime', + 'void', + [param('ns3::Time', 't')]) + ## aodv-packet.h: void ns3::aodv::RrepHeader::SetOrigin(ns3::Ipv4Address a) [member function] + cls.add_method('SetOrigin', + 'void', + [param('ns3::Ipv4Address', 'a')]) + ## aodv-packet.h: void ns3::aodv::RrepHeader::SetPrefixSize(uint8_t sz) [member function] + cls.add_method('SetPrefixSize', + 'void', + [param('uint8_t', 'sz')]) + return + +def register_Ns3AodvRreqHeader_methods(root_module, cls): + cls.add_output_stream_operator() + cls.add_binary_comparison_operator('==') + ## aodv-packet.h: ns3::aodv::RreqHeader::RreqHeader(ns3::aodv::RreqHeader const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::RreqHeader const &', 'arg0')]) + ## aodv-packet.h: ns3::aodv::RreqHeader::RreqHeader(uint8_t flags=0, uint8_t reserved=0, uint8_t hopCount=0, uint32_t requestID=0, ns3::Ipv4Address dst=ns3::Ipv4Address(), uint32_t dstSeqNo=0, ns3::Ipv4Address origin=ns3::Ipv4Address(), uint32_t originSeqNo=0) [constructor] + cls.add_constructor([param('uint8_t', 'flags', default_value='0'), param('uint8_t', 'reserved', default_value='0'), param('uint8_t', 'hopCount', default_value='0'), param('uint32_t', 'requestID', default_value='0'), param('ns3::Ipv4Address', 'dst', default_value='ns3::Ipv4Address()'), param('uint32_t', 'dstSeqNo', default_value='0'), param('ns3::Ipv4Address', 'origin', default_value='ns3::Ipv4Address()'), param('uint32_t', 'originSeqNo', default_value='0')]) + ## aodv-packet.h: uint32_t ns3::aodv::RreqHeader::Deserialize(ns3::Buffer::Iterator start) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'start')], + is_virtual=True) + ## aodv-packet.h: bool ns3::aodv::RreqHeader::GetDestinationOnly() const [member function] + cls.add_method('GetDestinationOnly', + 'bool', + [], + is_const=True) + ## aodv-packet.h: ns3::Ipv4Address ns3::aodv::RreqHeader::GetDst() const [member function] + cls.add_method('GetDst', + 'ns3::Ipv4Address', + [], + is_const=True) + ## aodv-packet.h: uint32_t ns3::aodv::RreqHeader::GetDstSeqno() const [member function] + cls.add_method('GetDstSeqno', + 'uint32_t', + [], + is_const=True) + ## aodv-packet.h: bool ns3::aodv::RreqHeader::GetGratiousRrep() const [member function] + cls.add_method('GetGratiousRrep', + 'bool', + [], + is_const=True) + ## aodv-packet.h: uint8_t ns3::aodv::RreqHeader::GetHopCount() const [member function] + cls.add_method('GetHopCount', + 'uint8_t', + [], + is_const=True) + ## aodv-packet.h: uint8_t ns3::aodv::RreqHeader::GetId() const [member function] + cls.add_method('GetId', + 'uint8_t', + [], + is_const=True) + ## aodv-packet.h: ns3::TypeId ns3::aodv::RreqHeader::GetInstanceTypeId() const [member function] + cls.add_method('GetInstanceTypeId', + 'ns3::TypeId', + [], + is_const=True, is_virtual=True) + ## aodv-packet.h: ns3::Ipv4Address ns3::aodv::RreqHeader::GetOrigin() const [member function] + cls.add_method('GetOrigin', + 'ns3::Ipv4Address', + [], + is_const=True) + ## aodv-packet.h: uint32_t ns3::aodv::RreqHeader::GetOriginSeqno() const [member function] + cls.add_method('GetOriginSeqno', + 'uint32_t', + [], + is_const=True) + ## aodv-packet.h: uint32_t ns3::aodv::RreqHeader::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## aodv-packet.h: bool ns3::aodv::RreqHeader::GetUnknownSeqno() const [member function] + cls.add_method('GetUnknownSeqno', + 'bool', + [], + is_const=True) + ## aodv-packet.h: void ns3::aodv::RreqHeader::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, is_virtual=True) + ## aodv-packet.h: void ns3::aodv::RreqHeader::Serialize(ns3::Buffer::Iterator start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator', 'start')], + is_const=True, is_virtual=True) + ## aodv-packet.h: void ns3::aodv::RreqHeader::SetDestinationOnly(bool f) [member function] + cls.add_method('SetDestinationOnly', + 'void', + [param('bool', 'f')]) + ## aodv-packet.h: void ns3::aodv::RreqHeader::SetDst(ns3::Ipv4Address a) [member function] + cls.add_method('SetDst', + 'void', + [param('ns3::Ipv4Address', 'a')]) + ## aodv-packet.h: void ns3::aodv::RreqHeader::SetDstSeqno(uint32_t s) [member function] + cls.add_method('SetDstSeqno', + 'void', + [param('uint32_t', 's')]) + ## aodv-packet.h: void ns3::aodv::RreqHeader::SetGratiousRrep(bool f) [member function] + cls.add_method('SetGratiousRrep', + 'void', + [param('bool', 'f')]) + ## aodv-packet.h: void ns3::aodv::RreqHeader::SetHopCount(uint8_t count) [member function] + cls.add_method('SetHopCount', + 'void', + [param('uint8_t', 'count')]) + ## aodv-packet.h: void ns3::aodv::RreqHeader::SetId(uint32_t id) [member function] + cls.add_method('SetId', + 'void', + [param('uint32_t', 'id')]) + ## aodv-packet.h: void ns3::aodv::RreqHeader::SetOrigin(ns3::Ipv4Address a) [member function] + cls.add_method('SetOrigin', + 'void', + [param('ns3::Ipv4Address', 'a')]) + ## aodv-packet.h: void ns3::aodv::RreqHeader::SetOriginSeqno(uint32_t s) [member function] + cls.add_method('SetOriginSeqno', + 'void', + [param('uint32_t', 's')]) + ## aodv-packet.h: void ns3::aodv::RreqHeader::SetUnknownSeqno(bool f) [member function] + cls.add_method('SetUnknownSeqno', + 'void', + [param('bool', 'f')]) + return + +def register_Ns3AodvTypeHeader_methods(root_module, cls): + cls.add_output_stream_operator() + cls.add_binary_comparison_operator('==') + ## aodv-packet.h: ns3::aodv::TypeHeader::TypeHeader(ns3::aodv::TypeHeader const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::TypeHeader const &', 'arg0')]) + ## aodv-packet.h: ns3::aodv::TypeHeader::TypeHeader(ns3::aodv::MessageType t) [constructor] + cls.add_constructor([param('ns3::aodv::MessageType', 't')]) + ## aodv-packet.h: uint32_t ns3::aodv::TypeHeader::Deserialize(ns3::Buffer::Iterator start) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'start')], + is_virtual=True) + ## aodv-packet.h: ns3::aodv::MessageType ns3::aodv::TypeHeader::Get() const [member function] + cls.add_method('Get', + 'ns3::aodv::MessageType', + [], + is_const=True) + ## aodv-packet.h: ns3::TypeId ns3::aodv::TypeHeader::GetInstanceTypeId() const [member function] + cls.add_method('GetInstanceTypeId', + 'ns3::TypeId', + [], + is_const=True, is_virtual=True) + ## aodv-packet.h: uint32_t ns3::aodv::TypeHeader::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## aodv-packet.h: bool ns3::aodv::TypeHeader::IsValid() const [member function] + cls.add_method('IsValid', + 'bool', + [], + is_const=True) + ## aodv-packet.h: void ns3::aodv::TypeHeader::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, is_virtual=True) + ## aodv-packet.h: void ns3::aodv::TypeHeader::Serialize(ns3::Buffer::Iterator start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator', 'start')], + is_const=True, 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) + 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 + diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_bridge.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_bridge.py index 76c1401b9..62f000c37 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_bridge.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_bridge.py @@ -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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_common.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_common.py index 2d1c570f5..3d7437323 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_common.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_common.py @@ -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 [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::AsciiWriter', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [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 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::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::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::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 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::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 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::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 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 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::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 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::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 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 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 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::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::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::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 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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_contrib.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_contrib.py index e953c1869..bc0acf934 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_contrib.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_contrib.py @@ -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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py index ce5c5d700..4a0f13205 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py @@ -4,13 +4,11 @@ def register_types(module): root_module = module.get_root() ## log.h: ns3::LogLevel [enumeration] - module.add_enum('LogLevel', ['LOG_NONE', 'LOG_ERROR', 'LOG_LEVEL_ERROR', 'LOG_WARN', 'LOG_LEVEL_WARN', 'LOG_DEBUG', 'LOG_LEVEL_DEBUG', 'LOG_INFO', 'LOG_LEVEL_INFO', 'LOG_FUNCTION', 'LOG_LEVEL_FUNCTION', 'LOG_LOGIC', 'LOG_LEVEL_LOGIC', 'LOG_ALL', 'LOG_LEVEL_ALL', 'LOG_PREFIX_FUNC', 'LOG_PREFIX_TIME']) + module.add_enum('LogLevel', ['LOG_NONE', 'LOG_ERROR', 'LOG_LEVEL_ERROR', 'LOG_WARN', 'LOG_LEVEL_WARN', 'LOG_DEBUG', 'LOG_LEVEL_DEBUG', 'LOG_INFO', 'LOG_LEVEL_INFO', 'LOG_FUNCTION', 'LOG_LEVEL_FUNCTION', 'LOG_LOGIC', 'LOG_LEVEL_LOGIC', 'LOG_ALL', 'LOG_LEVEL_ALL', 'LOG_PREFIX_FUNC', 'LOG_PREFIX_TIME', 'LOG_PREFIX_NODE']) ## attribute-list.h: ns3::AttributeList [class] module.add_class('AttributeList') ## callback.h: ns3::CallbackBase [class] module.add_class('CallbackBase') - ## callback.h: ns3::CallbackImplBase [class] - module.add_class('CallbackImplBase', allow_subclassing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## command-line.h: ns3::CommandLine [class] module.add_class('CommandLine', allow_subclassing=True) ## system-mutex.h: ns3::CriticalSection [class] @@ -55,8 +53,6 @@ def register_types(module): module.add_class('ObjectRefCount', template_parameters=['ns3::Object', 'ns3::ObjectBase'], parent=root_module['ns3::ObjectBase']) ## random-variable.h: ns3::RandomVariable [class] module.add_class('RandomVariable') - ## ref-count-base.h: ns3::RefCountBase [class] - module.add_class('RefCountBase', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## rng-stream.h: ns3::RngStream [class] module.add_class('RngStream') ## random-variable.h: ns3::SeedManager [class] @@ -67,8 +63,6 @@ def register_types(module): module.add_class('SystemCondition') ## system-mutex.h: ns3::SystemMutex [class] module.add_class('SystemMutex') - ## system-thread.h: ns3::SystemThread [class] - module.add_class('SystemThread') ## system-wall-clock-ms.h: ns3::SystemWallClockMs [class] module.add_class('SystemWallClockMs') ## test.h: ns3::TestCase [class] @@ -79,8 +73,6 @@ def register_types(module): module.add_class('TestSuite', allow_subclassing=True) ## test.h: ns3::TestSuite::TestType [enumeration] module.add_enum('TestType', ['BVT', 'UNIT', 'SYSTEM', 'EXAMPLE', 'PERFORMANCE'], outer_class=root_module['ns3::TestSuite']) - ## trace-source-accessor.h: ns3::TraceSourceAccessor [class] - module.add_class('TraceSourceAccessor', allow_subclassing=True) ## random-variable.h: ns3::TriangularVariable [class] module.add_class('TriangularVariable', parent=root_module['ns3::RandomVariable']) ## type-id.h: ns3::TypeId [class] @@ -103,34 +95,12 @@ def register_types(module): module.add_class('ZipfVariable', parent=root_module['ns3::RandomVariable']) ## empty.h: ns3::empty [class] module.add_class('empty') - ## attribute.h: ns3::AttributeAccessor [class] - module.add_class('AttributeAccessor', parent=root_module['ns3::RefCountBase']) - ## attribute.h: ns3::AttributeChecker [class] - module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, parent=root_module['ns3::RefCountBase']) - ## attribute.h: ns3::AttributeValue [class] - module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, parent=root_module['ns3::RefCountBase']) - ## boolean.h: ns3::BooleanChecker [class] - module.add_class('BooleanChecker', parent=root_module['ns3::AttributeChecker']) - ## boolean.h: ns3::BooleanValue [class] - module.add_class('BooleanValue', parent=root_module['ns3::AttributeValue']) - ## callback.h: ns3::CallbackChecker [class] - module.add_class('CallbackChecker', parent=root_module['ns3::AttributeChecker']) - ## callback.h: ns3::CallbackValue [class] - module.add_class('CallbackValue', parent=root_module['ns3::AttributeValue']) ## random-variable.h: ns3::ConstantVariable [class] module.add_class('ConstantVariable', parent=root_module['ns3::RandomVariable']) ## random-variable.h: ns3::DeterministicVariable [class] module.add_class('DeterministicVariable', parent=root_module['ns3::RandomVariable']) - ## double.h: ns3::DoubleValue [class] - module.add_class('DoubleValue', parent=root_module['ns3::AttributeValue']) ## random-variable.h: ns3::EmpiricalVariable [class] module.add_class('EmpiricalVariable', parent=root_module['ns3::RandomVariable']) - ## attribute.h: ns3::EmptyAttributeValue [class] - module.add_class('EmptyAttributeValue', parent=root_module['ns3::AttributeValue']) - ## enum.h: ns3::EnumChecker [class] - module.add_class('EnumChecker', parent=root_module['ns3::AttributeChecker']) - ## enum.h: ns3::EnumValue [class] - module.add_class('EnumValue', parent=root_module['ns3::AttributeValue']) ## random-variable.h: ns3::ErlangVariable [class] module.add_class('ErlangVariable', parent=root_module['ns3::RandomVariable']) ## random-variable.h: ns3::ExponentialVariable [class] @@ -139,8 +109,6 @@ def register_types(module): module.add_class('GammaVariable', parent=root_module['ns3::RandomVariable']) ## random-variable.h: ns3::IntEmpiricalVariable [class] module.add_class('IntEmpiricalVariable', parent=root_module['ns3::EmpiricalVariable']) - ## integer.h: ns3::IntegerValue [class] - module.add_class('IntegerValue', parent=root_module['ns3::AttributeValue']) ## random-variable.h: ns3::LogNormalVariable [class] module.add_class('LogNormalVariable', parent=root_module['ns3::RandomVariable']) ## random-variable.h: ns3::NormalVariable [class] @@ -149,6 +117,52 @@ def register_types(module): module.add_class('Object', automatic_type_narrowing=True, parent=root_module['ns3::ObjectRefCount< ns3::Object, ns3::ObjectBase >'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## object.h: ns3::Object::AggregateIterator [class] module.add_class('AggregateIterator', outer_class=root_module['ns3::Object']) + ## random-variable.h: ns3::ParetoVariable [class] + module.add_class('ParetoVariable', parent=root_module['ns3::RandomVariable']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::AttributeAccessor', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::AttributeChecker', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::AttributeValue', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::CallbackImplBase', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::RefCountBase', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::SystemThread', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty'], parent=root_module['ns3::empty']) + ## system-thread.h: ns3::SystemThread [class] + module.add_class('SystemThread', parent=root_module['ns3::SimpleRefCount< ns3::SystemThread, ns3::empty >']) + ## trace-source-accessor.h: ns3::TraceSourceAccessor [class] + module.add_class('TraceSourceAccessor', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty >']) + ## attribute.h: ns3::AttributeAccessor [class] + module.add_class('AttributeAccessor', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty >']) + ## attribute.h: ns3::AttributeChecker [class] + module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty >']) + ## attribute.h: ns3::AttributeValue [class] + module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty >']) + ## boolean.h: ns3::BooleanChecker [class] + module.add_class('BooleanChecker', parent=root_module['ns3::AttributeChecker']) + ## boolean.h: ns3::BooleanValue [class] + module.add_class('BooleanValue', parent=root_module['ns3::AttributeValue']) + ## callback.h: ns3::CallbackChecker [class] + module.add_class('CallbackChecker', parent=root_module['ns3::AttributeChecker']) + ## callback.h: ns3::CallbackImplBase [class] + module.add_class('CallbackImplBase', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty >'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) + ## callback.h: ns3::CallbackValue [class] + module.add_class('CallbackValue', parent=root_module['ns3::AttributeValue']) + ## double.h: ns3::DoubleValue [class] + module.add_class('DoubleValue', parent=root_module['ns3::AttributeValue']) + ## attribute.h: ns3::EmptyAttributeValue [class] + module.add_class('EmptyAttributeValue', parent=root_module['ns3::AttributeValue']) + ## enum.h: ns3::EnumChecker [class] + module.add_class('EnumChecker', parent=root_module['ns3::AttributeChecker']) + ## enum.h: ns3::EnumValue [class] + module.add_class('EnumValue', parent=root_module['ns3::AttributeValue']) + ## integer.h: ns3::IntegerValue [class] + module.add_class('IntegerValue', parent=root_module['ns3::AttributeValue']) ## object-factory.h: ns3::ObjectFactoryChecker [class] module.add_class('ObjectFactoryChecker', parent=root_module['ns3::AttributeChecker']) ## object-factory.h: ns3::ObjectFactoryValue [class] @@ -159,8 +173,6 @@ def register_types(module): module.add_class('ObjectVectorChecker', parent=root_module['ns3::AttributeChecker']) ## object-vector.h: ns3::ObjectVectorValue [class] module.add_class('ObjectVectorValue', parent=root_module['ns3::AttributeValue']) - ## random-variable.h: ns3::ParetoVariable [class] - module.add_class('ParetoVariable', parent=root_module['ns3::RandomVariable']) ## pointer.h: ns3::PointerChecker [class] module.add_class('PointerChecker', parent=root_module['ns3::AttributeChecker']) ## pointer.h: ns3::PointerValue [class] @@ -169,6 +181,8 @@ def register_types(module): module.add_class('RandomVariableChecker', parent=root_module['ns3::AttributeChecker']) ## random-variable.h: ns3::RandomVariableValue [class] module.add_class('RandomVariableValue', parent=root_module['ns3::AttributeValue']) + ## ref-count-base.h: ns3::RefCountBase [class] + module.add_class('RefCountBase', automatic_type_narrowing=True, parent=root_module['ns3::SimpleRefCount< ns3::RefCountBase, ns3::empty >'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## string.h: ns3::StringChecker [class] module.add_class('StringChecker', parent=root_module['ns3::AttributeChecker']) ## string.h: ns3::StringValue [class] @@ -197,9 +211,9 @@ def register_types(module): root_module['ns3::TracedValue< unsigned int >'].implicitly_converts_to(root_module['ns3::BooleanValue']) ## traced-value.h: ns3::TracedValue [class] root_module['ns3::TracedValue< unsigned int >'].implicitly_converts_to(root_module['ns3::EnumValue']) - module.add_container('std::list< ns3::Ptr< ns3::RadvdPrefix > >', 'ns3::Ptr< ns3::RadvdPrefix >', container_type='list') module.add_container('std::list< ns3::Ptr< ns3::Packet > >', 'ns3::Ptr< ns3::Packet >', container_type='list') module.add_container('std::vector< ns3::Ptr< ns3::FlowProbe > >', 'ns3::Ptr< ns3::FlowProbe >', container_type='vector') + module.add_container('std::list< ns3::Ptr< ns3::RadvdPrefix > >', 'ns3::Ptr< ns3::RadvdPrefix >', container_type='list') module.add_container('std::vector< ns3::Ptr< ns3::NetDevice > >', 'ns3::Ptr< ns3::NetDevice >', container_type='vector') typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector') typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*') @@ -232,12 +246,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') @@ -271,12 +297,20 @@ 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() module.add_container('std::vector< ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit > >', 'ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit >', container_type='vector') module.add_container('std::vector< ns3::Ptr< ns3::dot11s::PeerLink > >', 'ns3::Ptr< ns3::dot11s::PeerLink >', container_type='vector') +def register_types_ns3_dpd(module): + root_module = module.get_root() + + def register_types_ns3_flame(module): root_module = module.get_root() @@ -292,7 +326,6 @@ def register_types_ns3_olsr(module): def register_methods(root_module): register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) - register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase']) register_Ns3CommandLine_methods(root_module, root_module['ns3::CommandLine']) register_Ns3CriticalSection_methods(root_module, root_module['ns3::CriticalSection']) register_Ns3GlobalValue_methods(root_module, root_module['ns3::GlobalValue']) @@ -308,18 +341,15 @@ def register_methods(root_module): register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory']) register_Ns3ObjectRefCount__Ns3Object_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectRefCount< ns3::Object, ns3::ObjectBase >']) register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable']) - register_Ns3RefCountBase_methods(root_module, root_module['ns3::RefCountBase']) register_Ns3RngStream_methods(root_module, root_module['ns3::RngStream']) register_Ns3SeedManager_methods(root_module, root_module['ns3::SeedManager']) register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable']) register_Ns3SystemCondition_methods(root_module, root_module['ns3::SystemCondition']) register_Ns3SystemMutex_methods(root_module, root_module['ns3::SystemMutex']) - register_Ns3SystemThread_methods(root_module, root_module['ns3::SystemThread']) register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs']) register_Ns3TestCase_methods(root_module, root_module['ns3::TestCase']) register_Ns3TestRunner_methods(root_module, root_module['ns3::TestRunner']) register_Ns3TestSuite_methods(root_module, root_module['ns3::TestSuite']) - register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) @@ -330,39 +360,69 @@ def register_methods(root_module): register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) + register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable']) + register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable']) + register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable']) + register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable']) + register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable']) + register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable']) + register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable']) + register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable']) + register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable']) + register_Ns3Object_methods(root_module, root_module['ns3::Object']) + register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator']) + register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable']) + register_Ns3SimpleRefCount__Ns3AsciiWriter_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::AsciiWriter, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3FlowClassifier_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::FlowClassifier, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3FlowProbe_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::FlowProbe, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3InterferenceHelperEvent_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::InterferenceHelper::Event, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3Ipv6MulticastRoute_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv6MulticastRoute, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3Ipv6Route_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv6Route, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3MeshWifiInterfaceMacPlugin_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::MeshWifiInterfaceMacPlugin, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3PbbAddressBlock_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbAddressBlock, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3PbbMessage_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbMessage, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3PbbPacket_Ns3Header_methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbPacket, ns3::Header >']) + register_Ns3SimpleRefCount__Ns3PbbTlv_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbTlv, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3RadvdInterface_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::RadvdInterface, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3RadvdPrefix_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::RadvdPrefix, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3RefCountBase_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::RefCountBase, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3SystemThread_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::SystemThread, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3Dot11sIeBeaconTimingUnit_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::dot11s::IeBeaconTimingUnit, ns3::empty >']) + register_Ns3SystemThread_methods(root_module, root_module['ns3::SystemThread']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker']) register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue']) register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker']) register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue']) register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker']) + register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase']) register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue']) - register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable']) - register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable']) register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue']) - register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable']) register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue']) register_Ns3EnumChecker_methods(root_module, root_module['ns3::EnumChecker']) register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue']) - register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable']) - register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable']) - register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable']) - register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable']) register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue']) - register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable']) - register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable']) - register_Ns3Object_methods(root_module, root_module['ns3::Object']) - register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator']) register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker']) register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue']) register_Ns3ObjectVectorAccessor_methods(root_module, root_module['ns3::ObjectVectorAccessor']) register_Ns3ObjectVectorChecker_methods(root_module, root_module['ns3::ObjectVectorChecker']) register_Ns3ObjectVectorValue_methods(root_module, root_module['ns3::ObjectVectorValue']) - register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable']) register_Ns3PointerChecker_methods(root_module, root_module['ns3::PointerChecker']) register_Ns3PointerValue_methods(root_module, root_module['ns3::PointerValue']) register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker']) register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue']) + register_Ns3RefCountBase_methods(root_module, root_module['ns3::RefCountBase']) register_Ns3StringChecker_methods(root_module, root_module['ns3::StringChecker']) register_Ns3StringValue_methods(root_module, root_module['ns3::StringValue']) register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker']) @@ -433,18 +493,6 @@ def register_Ns3CallbackBase_methods(root_module, cls): is_static=True, visibility='protected') return -def register_Ns3CallbackImplBase_methods(root_module, cls): - ## callback.h: ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')]) - ## callback.h: ns3::CallbackImplBase::CallbackImplBase() [constructor] - cls.add_constructor([]) - ## callback.h: bool ns3::CallbackImplBase::IsEqual(ns3::Ptr other) const [member function] - cls.add_method('IsEqual', - 'bool', - [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - def register_Ns3CommandLine_methods(root_module, cls): ## command-line.h: ns3::CommandLine::CommandLine() [constructor] cls.add_constructor([]) @@ -779,13 +827,6 @@ def register_Ns3RandomVariable_methods(root_module, cls): is_const=True) return -def register_Ns3RefCountBase_methods(root_module, cls): - ## ref-count-base.h: ns3::RefCountBase::RefCountBase() [constructor] - cls.add_constructor([]) - ## ref-count-base.h: ns3::RefCountBase::RefCountBase(ns3::RefCountBase const & o) [copy constructor] - cls.add_constructor([param('ns3::RefCountBase const &', 'o')]) - return - def register_Ns3RngStream_methods(root_module, cls): ## rng-stream.h: ns3::RngStream::RngStream() [constructor] cls.add_constructor([]) @@ -964,39 +1005,6 @@ def register_Ns3SystemMutex_methods(root_module, cls): []) return -def register_Ns3SystemThread_methods(root_module, cls): - ## system-thread.h: ns3::SystemThread::SystemThread(ns3::SystemThread const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SystemThread const &', 'arg0')]) - ## system-thread.h: ns3::SystemThread::SystemThread(ns3::Callback callback) [constructor] - cls.add_constructor([param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## system-thread.h: bool ns3::SystemThread::Break() [member function] - cls.add_method('Break', - 'bool', - []) - ## system-thread.h: void ns3::SystemThread::Join() [member function] - cls.add_method('Join', - 'void', - []) - ## system-thread.h: void ns3::SystemThread::Ref() const [member function] - cls.add_method('Ref', - 'void', - [], - is_const=True) - ## system-thread.h: void ns3::SystemThread::Shutdown() [member function] - cls.add_method('Shutdown', - 'void', - []) - ## system-thread.h: void ns3::SystemThread::Start() [member function] - cls.add_method('Start', - 'void', - []) - ## system-thread.h: void ns3::SystemThread::Unref() const [member function] - cls.add_method('Unref', - 'void', - [], - is_const=True) - return - def register_Ns3SystemWallClockMs_methods(root_module, cls): ## system-wall-clock-ms.h: ns3::SystemWallClockMs::SystemWallClockMs(ns3::SystemWallClockMs const & arg0) [copy constructor] cls.add_constructor([param('ns3::SystemWallClockMs const &', 'arg0')]) @@ -1306,43 +1314,6 @@ def register_Ns3TestSuite_methods(root_module, cls): visibility='protected', is_virtual=True) return -def register_Ns3TraceSourceAccessor_methods(root_module, cls): - ## trace-source-accessor.h: ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) - ## trace-source-accessor.h: ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] - cls.add_constructor([]) - ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] - cls.add_method('Connect', - 'bool', - [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] - cls.add_method('ConnectWithoutContext', - 'bool', - [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] - cls.add_method('Disconnect', - 'bool', - [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] - cls.add_method('DisconnectWithoutContext', - 'bool', - [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## trace-source-accessor.h: void ns3::TraceSourceAccessor::Ref() const [member function] - cls.add_method('Ref', - 'void', - [], - is_const=True) - ## trace-source-accessor.h: void ns3::TraceSourceAccessor::Unref() const [member function] - cls.add_method('Unref', - 'void', - [], - is_const=True) - return - def register_Ns3TriangularVariable_methods(root_module, cls): ## random-variable.h: ns3::TriangularVariable::TriangularVariable(ns3::TriangularVariable const & arg0) [copy constructor] cls.add_constructor([param('ns3::TriangularVariable const &', 'arg0')]) @@ -1640,6 +1611,822 @@ def register_Ns3Empty_methods(root_module, cls): cls.add_constructor([param('ns3::empty const &', 'arg0')]) return +def register_Ns3ConstantVariable_methods(root_module, cls): + ## random-variable.h: ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')]) + ## random-variable.h: ns3::ConstantVariable::ConstantVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h: ns3::ConstantVariable::ConstantVariable(double c) [constructor] + cls.add_constructor([param('double', 'c')]) + ## random-variable.h: void ns3::ConstantVariable::SetConstant(double c) [member function] + cls.add_method('SetConstant', + 'void', + [param('double', 'c')]) + return + +def register_Ns3DeterministicVariable_methods(root_module, cls): + ## random-variable.h: ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')]) + ## random-variable.h: ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor] + cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')]) + return + +def register_Ns3EmpiricalVariable_methods(root_module, cls): + ## random-variable.h: ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')]) + ## random-variable.h: ns3::EmpiricalVariable::EmpiricalVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h: void ns3::EmpiricalVariable::CDF(double v, double c) [member function] + cls.add_method('CDF', + 'void', + [param('double', 'v'), param('double', 'c')]) + return + +def register_Ns3ErlangVariable_methods(root_module, cls): + ## random-variable.h: ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')]) + ## random-variable.h: ns3::ErlangVariable::ErlangVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h: ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor] + cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')]) + ## random-variable.h: double ns3::ErlangVariable::GetValue() const [member function] + cls.add_method('GetValue', + 'double', + [], + is_const=True) + ## random-variable.h: double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function] + cls.add_method('GetValue', + 'double', + [param('unsigned int', 'k'), param('double', 'lambda')], + is_const=True) + return + +def register_Ns3ExponentialVariable_methods(root_module, cls): + ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')]) + ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(double m) [constructor] + cls.add_constructor([param('double', 'm')]) + ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 'b')]) + return + +def register_Ns3GammaVariable_methods(root_module, cls): + ## random-variable.h: ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')]) + ## random-variable.h: ns3::GammaVariable::GammaVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h: ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor] + cls.add_constructor([param('double', 'alpha'), param('double', 'beta')]) + ## random-variable.h: double ns3::GammaVariable::GetValue() const [member function] + cls.add_method('GetValue', + 'double', + [], + is_const=True) + ## random-variable.h: double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'alpha'), param('double', 'beta')], + is_const=True) + return + +def register_Ns3IntEmpiricalVariable_methods(root_module, cls): + ## random-variable.h: ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')]) + ## random-variable.h: ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor] + cls.add_constructor([]) + return + +def register_Ns3LogNormalVariable_methods(root_module, cls): + ## random-variable.h: ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')]) + ## random-variable.h: ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor] + cls.add_constructor([param('double', 'mu'), param('double', 'sigma')]) + return + +def register_Ns3NormalVariable_methods(root_module, cls): + ## random-variable.h: ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')]) + ## random-variable.h: ns3::NormalVariable::NormalVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h: ns3::NormalVariable::NormalVariable(double m, double v) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 'v')]) + ## random-variable.h: ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')]) + return + +def register_Ns3Object_methods(root_module, cls): + ## object.h: ns3::Object::Object() [constructor] + cls.add_constructor([]) + ## object.h: void ns3::Object::AggregateObject(ns3::Ptr other) [member function] + cls.add_method('AggregateObject', + 'void', + [param('ns3::Ptr< ns3::Object >', 'other')]) + ## object.h: void ns3::Object::Dispose() [member function] + cls.add_method('Dispose', + 'void', + []) + ## object.h: ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function] + cls.add_method('GetAggregateIterator', + 'ns3::Object::AggregateIterator', + [], + is_const=True) + ## object.h: ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function] + cls.add_method('GetInstanceTypeId', + 'ns3::TypeId', + [], + is_const=True, is_virtual=True) + ## object.h: ns3::Ptr ns3::Object::GetObject(ns3::TypeId tid) const [member function] + cls.add_method('GetObject', + 'ns3::Ptr< ns3::Object >', + [param('ns3::TypeId', 'tid')], + is_const=True, template_parameters=['ns3::Object'], custom_template_method_name='GetObject') + ## object.h: static ns3::TypeId ns3::Object::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## object.h: void ns3::Object::Start() [member function] + cls.add_method('Start', + 'void', + []) + ## object.h: ns3::Object::Object(ns3::Object const & o) [copy constructor] + cls.add_constructor([param('ns3::Object const &', 'o')], + visibility='protected') + ## object.h: void ns3::Object::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## object.h: void ns3::Object::DoStart() [member function] + cls.add_method('DoStart', + 'void', + [], + visibility='protected', is_virtual=True) + ## object.h: void ns3::Object::NotifyNewAggregate() [member function] + cls.add_method('NotifyNewAggregate', + 'void', + [], + visibility='protected', is_virtual=True) + ## object.h: void ns3::Object::DoDelete() [member function] + cls.add_method('DoDelete', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3ObjectAggregateIterator_methods(root_module, cls): + ## object.h: ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')]) + ## object.h: ns3::Object::AggregateIterator::AggregateIterator() [constructor] + cls.add_constructor([]) + ## object.h: bool ns3::Object::AggregateIterator::HasNext() const [member function] + cls.add_method('HasNext', + 'bool', + [], + is_const=True) + ## object.h: ns3::Ptr ns3::Object::AggregateIterator::Next() [member function] + cls.add_method('Next', + 'ns3::Ptr< ns3::Object const >', + []) + return + +def register_Ns3ParetoVariable_methods(root_module, cls): + ## random-variable.h: ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')]) + ## random-variable.h: ns3::ParetoVariable::ParetoVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m) [constructor] + cls.add_constructor([param('double', 'm')]) + ## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 's')]) + ## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')]) + return + +def register_Ns3SimpleRefCount__Ns3AsciiWriter_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::AsciiWriter, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3FlowClassifier_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::FlowClassifier, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3FlowProbe_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::FlowProbe, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3InterferenceHelperEvent_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::InterferenceHelper::Event, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3Ipv6MulticastRoute_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv6MulticastRoute, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3Ipv6Route_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv6Route, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3MeshWifiInterfaceMacPlugin_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::MeshWifiInterfaceMacPlugin, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3PbbAddressBlock_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::PbbAddressBlock, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3PbbMessage_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::PbbMessage, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3PbbPacket_Ns3Header_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::PbbPacket, ns3::Header > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3PbbTlv_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::PbbTlv, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3RadvdInterface_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::RadvdInterface, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3RadvdPrefix_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::RadvdPrefix, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3RefCountBase_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::RefCountBase, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3SystemThread_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::SystemThread, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3Dot11sIeBeaconTimingUnit_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::dot11s::IeBeaconTimingUnit, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SystemThread_methods(root_module, cls): + ## system-thread.h: ns3::SystemThread::SystemThread(ns3::SystemThread const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SystemThread const &', 'arg0')]) + ## system-thread.h: ns3::SystemThread::SystemThread(ns3::Callback callback) [constructor] + cls.add_constructor([param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) + ## system-thread.h: bool ns3::SystemThread::Break() [member function] + cls.add_method('Break', + 'bool', + []) + ## system-thread.h: void ns3::SystemThread::Join() [member function] + cls.add_method('Join', + 'void', + []) + ## system-thread.h: void ns3::SystemThread::Shutdown() [member function] + cls.add_method('Shutdown', + 'void', + []) + ## system-thread.h: void ns3::SystemThread::Start() [member function] + cls.add_method('Start', + 'void', + []) + return + +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h: ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h: ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3AttributeAccessor_methods(root_module, cls): ## attribute.h: ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor] cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')]) @@ -1774,6 +2561,18 @@ def register_Ns3CallbackChecker_methods(root_module, cls): cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')]) return +def register_Ns3CallbackImplBase_methods(root_module, cls): + ## callback.h: ns3::CallbackImplBase::CallbackImplBase() [constructor] + cls.add_constructor([]) + ## callback.h: ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor] + cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')]) + ## callback.h: bool ns3::CallbackImplBase::IsEqual(ns3::Ptr other) const [member function] + cls.add_method('IsEqual', + 'bool', + [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3CallbackValue_methods(root_module, cls): ## callback.h: ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor] cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')]) @@ -1802,26 +2601,6 @@ def register_Ns3CallbackValue_methods(root_module, cls): [param('ns3::CallbackBase', 'base')]) return -def register_Ns3ConstantVariable_methods(root_module, cls): - ## random-variable.h: ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')]) - ## random-variable.h: ns3::ConstantVariable::ConstantVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::ConstantVariable::ConstantVariable(double c) [constructor] - cls.add_constructor([param('double', 'c')]) - ## random-variable.h: void ns3::ConstantVariable::SetConstant(double c) [member function] - cls.add_method('SetConstant', - 'void', - [param('double', 'c')]) - return - -def register_Ns3DeterministicVariable_methods(root_module, cls): - ## random-variable.h: ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')]) - ## random-variable.h: ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor] - cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')]) - return - def register_Ns3DoubleValue_methods(root_module, cls): ## double.h: ns3::DoubleValue::DoubleValue() [constructor] cls.add_constructor([]) @@ -1855,17 +2634,6 @@ def register_Ns3DoubleValue_methods(root_module, cls): [param('double const &', 'value')]) return -def register_Ns3EmpiricalVariable_methods(root_module, cls): - ## random-variable.h: ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')]) - ## random-variable.h: ns3::EmpiricalVariable::EmpiricalVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: void ns3::EmpiricalVariable::CDF(double v, double c) [member function] - cls.add_method('CDF', - 'void', - [param('double', 'v'), param('double', 'c')]) - return - def register_Ns3EmptyAttributeValue_methods(root_module, cls): ## attribute.h: ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor] cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')]) @@ -1966,62 +2734,6 @@ def register_Ns3EnumValue_methods(root_module, cls): [param('int', 'v')]) return -def register_Ns3ErlangVariable_methods(root_module, cls): - ## random-variable.h: ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')]) - ## random-variable.h: ns3::ErlangVariable::ErlangVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor] - cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')]) - ## random-variable.h: double ns3::ErlangVariable::GetValue() const [member function] - cls.add_method('GetValue', - 'double', - [], - is_const=True) - ## random-variable.h: double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function] - cls.add_method('GetValue', - 'double', - [param('unsigned int', 'k'), param('double', 'lambda')], - is_const=True) - return - -def register_Ns3ExponentialVariable_methods(root_module, cls): - ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')]) - ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(double m) [constructor] - cls.add_constructor([param('double', 'm')]) - ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 'b')]) - return - -def register_Ns3GammaVariable_methods(root_module, cls): - ## random-variable.h: ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')]) - ## random-variable.h: ns3::GammaVariable::GammaVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor] - cls.add_constructor([param('double', 'alpha'), param('double', 'beta')]) - ## random-variable.h: double ns3::GammaVariable::GetValue() const [member function] - cls.add_method('GetValue', - 'double', - [], - is_const=True) - ## random-variable.h: double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function] - cls.add_method('GetValue', - 'double', - [param('double', 'alpha'), param('double', 'beta')], - is_const=True) - return - -def register_Ns3IntEmpiricalVariable_methods(root_module, cls): - ## random-variable.h: ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')]) - ## random-variable.h: ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor] - cls.add_constructor([]) - return - def register_Ns3IntegerValue_methods(root_module, cls): ## integer.h: ns3::IntegerValue::IntegerValue() [constructor] cls.add_constructor([]) @@ -2055,91 +2767,6 @@ def register_Ns3IntegerValue_methods(root_module, cls): [param('int64_t const &', 'value')]) return -def register_Ns3LogNormalVariable_methods(root_module, cls): - ## random-variable.h: ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')]) - ## random-variable.h: ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor] - cls.add_constructor([param('double', 'mu'), param('double', 'sigma')]) - return - -def register_Ns3NormalVariable_methods(root_module, cls): - ## random-variable.h: ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')]) - ## random-variable.h: ns3::NormalVariable::NormalVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::NormalVariable::NormalVariable(double m, double v) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 'v')]) - ## random-variable.h: ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')]) - return - -def register_Ns3Object_methods(root_module, cls): - ## object.h: ns3::Object::Object() [constructor] - cls.add_constructor([]) - ## object.h: void ns3::Object::AggregateObject(ns3::Ptr other) [member function] - cls.add_method('AggregateObject', - 'void', - [param('ns3::Ptr< ns3::Object >', 'other')]) - ## object.h: void ns3::Object::Dispose() [member function] - cls.add_method('Dispose', - 'void', - []) - ## object.h: ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function] - cls.add_method('GetAggregateIterator', - 'ns3::Object::AggregateIterator', - [], - is_const=True) - ## object.h: ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## object.h: ns3::Ptr ns3::Object::GetObject(ns3::TypeId tid) const [member function] - cls.add_method('GetObject', - 'ns3::Ptr< ns3::Object >', - [param('ns3::TypeId', 'tid')], - is_const=True, template_parameters=['ns3::Object'], custom_template_method_name='GetObject') - ## object.h: static ns3::TypeId ns3::Object::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## object.h: ns3::Object::Object(ns3::Object const & o) [copy constructor] - cls.add_constructor([param('ns3::Object const &', 'o')], - visibility='protected') - ## object.h: void ns3::Object::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## object.h: void ns3::Object::NotifyNewAggregate() [member function] - cls.add_method('NotifyNewAggregate', - 'void', - [], - visibility='protected', is_virtual=True) - ## object.h: void ns3::Object::DoDelete() [member function] - cls.add_method('DoDelete', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3ObjectAggregateIterator_methods(root_module, cls): - ## object.h: ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')]) - ## object.h: ns3::Object::AggregateIterator::AggregateIterator() [constructor] - cls.add_constructor([]) - ## object.h: bool ns3::Object::AggregateIterator::HasNext() const [member function] - cls.add_method('HasNext', - 'bool', - [], - is_const=True) - ## object.h: ns3::Ptr ns3::Object::AggregateIterator::Next() [member function] - cls.add_method('Next', - 'ns3::Ptr< ns3::Object const >', - []) - return - def register_Ns3ObjectFactoryChecker_methods(root_module, cls): ## object-factory.h: ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor] cls.add_constructor([]) @@ -2271,19 +2898,6 @@ def register_Ns3ObjectVectorValue_methods(root_module, cls): is_const=True, is_virtual=True) return -def register_Ns3ParetoVariable_methods(root_module, cls): - ## random-variable.h: ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')]) - ## random-variable.h: ns3::ParetoVariable::ParetoVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m) [constructor] - cls.add_constructor([param('double', 'm')]) - ## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 's')]) - ## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')]) - return - def register_Ns3PointerChecker_methods(root_module, cls): ## pointer.h: ns3::PointerChecker::PointerChecker() [constructor] cls.add_constructor([]) @@ -2369,6 +2983,13 @@ def register_Ns3RandomVariableValue_methods(root_module, cls): [param('ns3::RandomVariable const &', 'value')]) return +def register_Ns3RefCountBase_methods(root_module, cls): + ## ref-count-base.h: ns3::RefCountBase::RefCountBase() [constructor] + cls.add_constructor([]) + ## ref-count-base.h: ns3::RefCountBase::RefCountBase(ns3::RefCountBase const & arg0) [copy constructor] + cls.add_constructor([param('ns3::RefCountBase const &', 'arg0')]) + return + def register_Ns3StringChecker_methods(root_module, cls): ## string.h: ns3::StringChecker::StringChecker() [constructor] cls.add_constructor([]) @@ -2800,7 +3421,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) @@ -2871,9 +3494,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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_csma.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_csma.py index f70b6d99b..7e81d1b4d 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_csma.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_csma.py @@ -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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_dot11s.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_dot11s.py index 433e7308d..ad20c2251 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_dot11s.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_dot11s.py @@ -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 [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::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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_dpd.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_dpd.py new file mode 100644 index 000000000..e77c3ffc5 --- /dev/null +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_dpd.py @@ -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 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 + diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_emu.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_emu.py index b69d9fbaf..45ab5bf00 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_emu.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_emu.py @@ -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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_flame.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_flame.py index 453d1c01d..1d519277d 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_flame.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_flame.py @@ -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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_flow_monitor.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_flow_monitor.py index 6aefcf9a5..56801c60d 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_flow_monitor.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_flow_monitor.py @@ -5,10 +5,18 @@ def register_types(module): ## histogram.h: ns3::Histogram [class] module.add_class('Histogram') + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::FlowClassifier', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [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, std::allocator > > 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 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 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 monitor, ns3::Ptr classifier, ns3::Ptr 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, std::allocator > > 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 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 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 monitor, ns3::Ptr classifier, ns3::Ptr 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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_global_routing.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_global_routing.py index 4f44b1996..cb341be15 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_global_routing.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_global_routing.py @@ -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 p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback,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 p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, 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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_helper.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_helper.py index b527b38a6..358877f13 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_helper.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_helper.py @@ -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::AodvHelper::Create(ns3::Ptr 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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_internet_stack.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_internet_stack.py index f7fa01726..6e647e8a6 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_internet_stack.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_internet_stack.py @@ -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::Ipv4Interface::GetArpCache() const [member function] + cls.add_method('GetArpCache', + 'ns3::Ptr< ns3::ArpCache >', + [], + is_const=True) + ## ipv4-interface.h: ns3::Ptr 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 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 arg0) [member function] + cls.add_method('SetArpCache', + 'void', + [param('ns3::Ptr< ns3::ArpCache >', 'arg0')]) + ## ipv4-interface.h: void ns3::Ipv4Interface::SetDevice(ns3::Ptr 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 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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_list_routing.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_list_routing.py index 36415514e..55af6b3b5 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_list_routing.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_list_routing.py @@ -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 p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback,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 p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, 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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_mesh.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_mesh.py index ba7867490..25bd6a670 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_mesh.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_mesh.py @@ -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 [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::MeshWifiInterfaceMacPlugin', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [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 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 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 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 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 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 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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_mobility.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_mobility.py index 37f4e096e..fd921e345 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_mobility.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_mobility.py @@ -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::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 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 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::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 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 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::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 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 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::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 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 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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_nix_vector_routing.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_nix_vector_routing.py index f027a698f..f764da24f 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_nix_vector_routing.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_nix_vector_routing.py @@ -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 p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback,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 p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, 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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_node.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_node.py index 36d872341..ad45bb39d 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_node.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_node.py @@ -59,66 +59,36 @@ def register_types(module): module.add_class('PacketSocketAddress') ## packet-socket-address.h: ns3::PacketSocketAddress [class] root_module['ns3::PacketSocketAddress'].implicitly_converts_to(root_module['ns3::Address']) - ## packetbb.h: ns3::PbbAddressBlock [class] - module.add_class('PbbAddressBlock', allow_subclassing=True) - ## packetbb.h: ns3::PbbAddressBlockIpv4 [class] - module.add_class('PbbAddressBlockIpv4', parent=root_module['ns3::PbbAddressBlock']) - ## packetbb.h: ns3::PbbAddressBlockIpv6 [class] - module.add_class('PbbAddressBlockIpv6', parent=root_module['ns3::PbbAddressBlock']) ## packetbb.h: ns3::PbbAddressTlvBlock [class] module.add_class('PbbAddressTlvBlock') - ## packetbb.h: ns3::PbbMessage [class] - module.add_class('PbbMessage', allow_subclassing=True) - ## packetbb.h: ns3::PbbMessageIpv4 [class] - module.add_class('PbbMessageIpv4', parent=root_module['ns3::PbbMessage']) - ## packetbb.h: ns3::PbbMessageIpv6 [class] - module.add_class('PbbMessageIpv6', parent=root_module['ns3::PbbMessage']) - ## packetbb.h: ns3::PbbTlv [class] - module.add_class('PbbTlv') ## packetbb.h: ns3::PbbTlvBlock [class] module.add_class('PbbTlvBlock') - ## ipv4-address.h: ns3::Ipv4AddressChecker [class] - module.add_class('Ipv4AddressChecker', parent=root_module['ns3::AttributeChecker']) - ## ipv4-address.h: ns3::Ipv4AddressValue [class] - module.add_class('Ipv4AddressValue', parent=root_module['ns3::AttributeValue']) ## ipv4-header.h: ns3::Ipv4Header [class] module.add_class('Ipv4Header', parent=root_module['ns3::Header']) - ## ipv4-address.h: ns3::Ipv4MaskChecker [class] - module.add_class('Ipv4MaskChecker', parent=root_module['ns3::AttributeChecker']) - ## ipv4-address.h: ns3::Ipv4MaskValue [class] - module.add_class('Ipv4MaskValue', parent=root_module['ns3::AttributeValue']) - ## ipv4-route.h: ns3::Ipv4MulticastRoute [class] - module.add_class('Ipv4MulticastRoute', parent=root_module['ns3::RefCountBase']) - ## ipv4-route.h: ns3::Ipv4Route [class] - module.add_class('Ipv4Route', parent=root_module['ns3::RefCountBase']) - ## ipv6-address.h: ns3::Ipv6AddressChecker [class] - module.add_class('Ipv6AddressChecker', parent=root_module['ns3::AttributeChecker']) - ## ipv6-address.h: ns3::Ipv6AddressValue [class] - module.add_class('Ipv6AddressValue', parent=root_module['ns3::AttributeValue']) ## ipv6-header.h: ns3::Ipv6Header [class] module.add_class('Ipv6Header', parent=root_module['ns3::Header']) ## ipv6-header.h: ns3::Ipv6Header::NextHeader_e [enumeration] module.add_enum('NextHeader_e', ['IPV6_EXT_HOP_BY_HOP', 'IPV6_IPV4', 'IPV6_TCP', 'IPV6_UDP', 'IPV6_IPV6', 'IPV6_EXT_ROUTING', 'IPV6_EXT_FRAGMENTATION', 'IPV6_EXT_CONFIDENTIALITY', 'IPV6_EXT_AUTHENTIFICATION', 'IPV6_ICMPV6', 'IPV6_EXT_END', 'IPV6_EXT_DESTINATION', 'IPV6_SCTP', 'IPV6_EXT_MOBILITY', 'IPV6_UDP_LITE'], outer_class=root_module['ns3::Ipv6Header']) - ## ipv6-route.h: ns3::Ipv6MulticastRoute [class] - module.add_class('Ipv6MulticastRoute', parent=root_module['ns3::RefCountBase']) - ## ipv6-address.h: ns3::Ipv6PrefixChecker [class] - module.add_class('Ipv6PrefixChecker', parent=root_module['ns3::AttributeChecker']) - ## ipv6-address.h: ns3::Ipv6PrefixValue [class] - module.add_class('Ipv6PrefixValue', parent=root_module['ns3::AttributeValue']) - ## ipv6-route.h: ns3::Ipv6Route [class] - module.add_class('Ipv6Route', parent=root_module['ns3::RefCountBase']) ## llc-snap-header.h: ns3::LlcSnapHeader [class] module.add_class('LlcSnapHeader', parent=root_module['ns3::Header']) - ## mac48-address.h: ns3::Mac48AddressChecker [class] - module.add_class('Mac48AddressChecker', parent=root_module['ns3::AttributeChecker']) - ## mac48-address.h: ns3::Mac48AddressValue [class] - module.add_class('Mac48AddressValue', parent=root_module['ns3::AttributeValue']) - ## packetbb.h: ns3::PbbAddressTlv [class] - module.add_class('PbbAddressTlv', parent=root_module['ns3::PbbTlv']) - ## packetbb.h: ns3::PbbPacket [class] - module.add_class('PbbPacket', parent=root_module['ns3::Header']) ## queue.h: ns3::Queue [class] module.add_class('Queue', parent=root_module['ns3::Object']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::Ipv4MulticastRoute', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::Ipv4Route', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::Ipv6MulticastRoute', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::Ipv6Route', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::PbbAddressBlock', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::PbbMessage', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::PbbPacket', 'ns3::Header'], parent=root_module['ns3::Header']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::PbbTlv', 'ns3::empty'], parent=root_module['ns3::empty']) ## socket.h: ns3::Socket [class] module.add_class('Socket', parent=root_module['ns3::Object']) ## socket.h: ns3::Socket::SocketErrno [enumeration] @@ -139,10 +109,6 @@ def register_types(module): module.add_class('UdpSocket', parent=root_module['ns3::Socket']) ## udp-socket-factory.h: ns3::UdpSocketFactory [class] module.add_class('UdpSocketFactory', parent=root_module['ns3::SocketFactory']) - ## address.h: ns3::AddressChecker [class] - module.add_class('AddressChecker', parent=root_module['ns3::AttributeChecker']) - ## address.h: ns3::AddressValue [class] - module.add_class('AddressValue', parent=root_module['ns3::AttributeValue']) ## application.h: ns3::Application [class] module.add_class('Application', parent=root_module['ns3::Object']) ## channel.h: ns3::Channel [class] @@ -157,16 +123,44 @@ def register_types(module): module.add_class('EthernetTrailer', parent=root_module['ns3::Trailer']) ## ipv4.h: ns3::Ipv4 [class] module.add_class('Ipv4', parent=root_module['ns3::Object']) + ## ipv4-address.h: ns3::Ipv4AddressChecker [class] + module.add_class('Ipv4AddressChecker', parent=root_module['ns3::AttributeChecker']) + ## ipv4-address.h: ns3::Ipv4AddressValue [class] + module.add_class('Ipv4AddressValue', parent=root_module['ns3::AttributeValue']) + ## ipv4-address.h: ns3::Ipv4MaskChecker [class] + module.add_class('Ipv4MaskChecker', parent=root_module['ns3::AttributeChecker']) + ## ipv4-address.h: ns3::Ipv4MaskValue [class] + module.add_class('Ipv4MaskValue', parent=root_module['ns3::AttributeValue']) + ## ipv4-route.h: ns3::Ipv4MulticastRoute [class] + module.add_class('Ipv4MulticastRoute', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty >']) ## ipv4-raw-socket-factory.h: ns3::Ipv4RawSocketFactory [class] module.add_class('Ipv4RawSocketFactory', parent=root_module['ns3::SocketFactory']) + ## ipv4-route.h: ns3::Ipv4Route [class] + module.add_class('Ipv4Route', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty >']) ## ipv4-routing-protocol.h: ns3::Ipv4RoutingProtocol [class] module.add_class('Ipv4RoutingProtocol', parent=root_module['ns3::Object']) ## ipv6.h: ns3::Ipv6 [class] module.add_class('Ipv6', parent=root_module['ns3::Object']) + ## ipv6-address.h: ns3::Ipv6AddressChecker [class] + module.add_class('Ipv6AddressChecker', parent=root_module['ns3::AttributeChecker']) + ## ipv6-address.h: ns3::Ipv6AddressValue [class] + module.add_class('Ipv6AddressValue', parent=root_module['ns3::AttributeValue']) + ## ipv6-route.h: ns3::Ipv6MulticastRoute [class] + module.add_class('Ipv6MulticastRoute', parent=root_module['ns3::SimpleRefCount< ns3::Ipv6MulticastRoute, ns3::empty >']) + ## ipv6-address.h: ns3::Ipv6PrefixChecker [class] + module.add_class('Ipv6PrefixChecker', parent=root_module['ns3::AttributeChecker']) + ## ipv6-address.h: ns3::Ipv6PrefixValue [class] + module.add_class('Ipv6PrefixValue', parent=root_module['ns3::AttributeValue']) ## ipv6-raw-socket-factory.h: ns3::Ipv6RawSocketFactory [class] module.add_class('Ipv6RawSocketFactory', parent=root_module['ns3::SocketFactory']) + ## ipv6-route.h: ns3::Ipv6Route [class] + module.add_class('Ipv6Route', parent=root_module['ns3::SimpleRefCount< ns3::Ipv6Route, ns3::empty >']) ## ipv6-routing-protocol.h: ns3::Ipv6RoutingProtocol [class] module.add_class('Ipv6RoutingProtocol', parent=root_module['ns3::Object']) + ## mac48-address.h: ns3::Mac48AddressChecker [class] + module.add_class('Mac48AddressChecker', parent=root_module['ns3::AttributeChecker']) + ## mac48-address.h: ns3::Mac48AddressValue [class] + module.add_class('Mac48AddressValue', parent=root_module['ns3::AttributeValue']) ## net-device.h: ns3::NetDevice [class] module.add_class('NetDevice', parent=root_module['ns3::Object']) ## net-device.h: ns3::NetDevice::PacketType [enumeration] @@ -175,10 +169,32 @@ def register_types(module): module.add_class('Node', parent=root_module['ns3::Object']) ## packet-socket-factory.h: ns3::PacketSocketFactory [class] module.add_class('PacketSocketFactory', parent=root_module['ns3::SocketFactory']) + ## packetbb.h: ns3::PbbAddressBlock [class] + module.add_class('PbbAddressBlock', parent=root_module['ns3::SimpleRefCount< ns3::PbbAddressBlock, ns3::empty >']) + ## packetbb.h: ns3::PbbAddressBlockIpv4 [class] + module.add_class('PbbAddressBlockIpv4', parent=root_module['ns3::PbbAddressBlock']) + ## packetbb.h: ns3::PbbAddressBlockIpv6 [class] + module.add_class('PbbAddressBlockIpv6', parent=root_module['ns3::PbbAddressBlock']) + ## packetbb.h: ns3::PbbMessage [class] + module.add_class('PbbMessage', parent=root_module['ns3::SimpleRefCount< ns3::PbbMessage, ns3::empty >']) + ## packetbb.h: ns3::PbbMessageIpv4 [class] + module.add_class('PbbMessageIpv4', parent=root_module['ns3::PbbMessage']) + ## packetbb.h: ns3::PbbMessageIpv6 [class] + module.add_class('PbbMessageIpv6', parent=root_module['ns3::PbbMessage']) + ## packetbb.h: ns3::PbbPacket [class] + module.add_class('PbbPacket', parent=root_module['ns3::SimpleRefCount< ns3::PbbPacket, ns3::Header >']) + ## packetbb.h: ns3::PbbTlv [class] + module.add_class('PbbTlv', parent=root_module['ns3::SimpleRefCount< ns3::PbbTlv, ns3::empty >']) ## simple-channel.h: ns3::SimpleChannel [class] module.add_class('SimpleChannel', parent=root_module['ns3::Channel']) ## simple-net-device.h: ns3::SimpleNetDevice [class] module.add_class('SimpleNetDevice', parent=root_module['ns3::NetDevice']) + ## address.h: ns3::AddressChecker [class] + module.add_class('AddressChecker', parent=root_module['ns3::AttributeChecker']) + ## address.h: ns3::AddressValue [class] + module.add_class('AddressValue', parent=root_module['ns3::AttributeValue']) + ## packetbb.h: ns3::PbbAddressTlv [class] + module.add_class('PbbAddressTlv', parent=root_module['ns3::PbbTlv']) module.add_container('ns3::olsr::MprSet', 'ns3::Ipv4Address', container_type='set') module.add_container('std::vector< ns3::Ipv4Address >', 'ns3::Ipv4Address', container_type='vector') @@ -200,12 +216,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') @@ -236,11 +264,19 @@ 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() module.add_container('std::vector< ns3::Mac48Address >', 'ns3::Mac48Address', container_type='vector') +def register_types_ns3_dpd(module): + root_module = module.get_root() + + def register_types_ns3_flame(module): root_module = module.get_root() @@ -269,34 +305,11 @@ def register_methods(root_module): register_Ns3Mac64Address_methods(root_module, root_module['ns3::Mac64Address']) register_Ns3NodeList_methods(root_module, root_module['ns3::NodeList']) register_Ns3PacketSocketAddress_methods(root_module, root_module['ns3::PacketSocketAddress']) - register_Ns3PbbAddressBlock_methods(root_module, root_module['ns3::PbbAddressBlock']) - register_Ns3PbbAddressBlockIpv4_methods(root_module, root_module['ns3::PbbAddressBlockIpv4']) - register_Ns3PbbAddressBlockIpv6_methods(root_module, root_module['ns3::PbbAddressBlockIpv6']) register_Ns3PbbAddressTlvBlock_methods(root_module, root_module['ns3::PbbAddressTlvBlock']) - register_Ns3PbbMessage_methods(root_module, root_module['ns3::PbbMessage']) - register_Ns3PbbMessageIpv4_methods(root_module, root_module['ns3::PbbMessageIpv4']) - register_Ns3PbbMessageIpv6_methods(root_module, root_module['ns3::PbbMessageIpv6']) - register_Ns3PbbTlv_methods(root_module, root_module['ns3::PbbTlv']) register_Ns3PbbTlvBlock_methods(root_module, root_module['ns3::PbbTlvBlock']) - register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) - register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue']) register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header']) - register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker']) - register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue']) - register_Ns3Ipv4MulticastRoute_methods(root_module, root_module['ns3::Ipv4MulticastRoute']) - register_Ns3Ipv4Route_methods(root_module, root_module['ns3::Ipv4Route']) - register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker']) - register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue']) register_Ns3Ipv6Header_methods(root_module, root_module['ns3::Ipv6Header']) - register_Ns3Ipv6MulticastRoute_methods(root_module, root_module['ns3::Ipv6MulticastRoute']) - register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker']) - register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue']) - register_Ns3Ipv6Route_methods(root_module, root_module['ns3::Ipv6Route']) register_Ns3LlcSnapHeader_methods(root_module, root_module['ns3::LlcSnapHeader']) - register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) - register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue']) - register_Ns3PbbAddressTlv_methods(root_module, root_module['ns3::PbbAddressTlv']) - register_Ns3PbbPacket_methods(root_module, root_module['ns3::PbbPacket']) register_Ns3Queue_methods(root_module, root_module['ns3::Queue']) register_Ns3Socket_methods(root_module, root_module['ns3::Socket']) register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) @@ -307,24 +320,47 @@ def register_methods(root_module): register_Ns3TcpSocketFactory_methods(root_module, root_module['ns3::TcpSocketFactory']) register_Ns3UdpSocket_methods(root_module, root_module['ns3::UdpSocket']) register_Ns3UdpSocketFactory_methods(root_module, root_module['ns3::UdpSocketFactory']) - register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker']) - register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue']) register_Ns3Application_methods(root_module, root_module['ns3::Application']) register_Ns3Channel_methods(root_module, root_module['ns3::Channel']) register_Ns3DropTailQueue_methods(root_module, root_module['ns3::DropTailQueue']) register_Ns3EthernetHeader_methods(root_module, root_module['ns3::EthernetHeader']) register_Ns3EthernetTrailer_methods(root_module, root_module['ns3::EthernetTrailer']) register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4']) + register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) + register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue']) + register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker']) + register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue']) + register_Ns3Ipv4MulticastRoute_methods(root_module, root_module['ns3::Ipv4MulticastRoute']) register_Ns3Ipv4RawSocketFactory_methods(root_module, root_module['ns3::Ipv4RawSocketFactory']) + register_Ns3Ipv4Route_methods(root_module, root_module['ns3::Ipv4Route']) register_Ns3Ipv4RoutingProtocol_methods(root_module, root_module['ns3::Ipv4RoutingProtocol']) register_Ns3Ipv6_methods(root_module, root_module['ns3::Ipv6']) + register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker']) + register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue']) + register_Ns3Ipv6MulticastRoute_methods(root_module, root_module['ns3::Ipv6MulticastRoute']) + register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker']) + register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue']) register_Ns3Ipv6RawSocketFactory_methods(root_module, root_module['ns3::Ipv6RawSocketFactory']) + register_Ns3Ipv6Route_methods(root_module, root_module['ns3::Ipv6Route']) register_Ns3Ipv6RoutingProtocol_methods(root_module, root_module['ns3::Ipv6RoutingProtocol']) + register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) + register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue']) register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice']) register_Ns3Node_methods(root_module, root_module['ns3::Node']) register_Ns3PacketSocketFactory_methods(root_module, root_module['ns3::PacketSocketFactory']) + register_Ns3PbbAddressBlock_methods(root_module, root_module['ns3::PbbAddressBlock']) + register_Ns3PbbAddressBlockIpv4_methods(root_module, root_module['ns3::PbbAddressBlockIpv4']) + register_Ns3PbbAddressBlockIpv6_methods(root_module, root_module['ns3::PbbAddressBlockIpv6']) + register_Ns3PbbMessage_methods(root_module, root_module['ns3::PbbMessage']) + register_Ns3PbbMessageIpv4_methods(root_module, root_module['ns3::PbbMessageIpv4']) + register_Ns3PbbMessageIpv6_methods(root_module, root_module['ns3::PbbMessageIpv6']) + register_Ns3PbbPacket_methods(root_module, root_module['ns3::PbbPacket']) + register_Ns3PbbTlv_methods(root_module, root_module['ns3::PbbTlv']) register_Ns3SimpleChannel_methods(root_module, root_module['ns3::SimpleChannel']) register_Ns3SimpleNetDevice_methods(root_module, root_module['ns3::SimpleNetDevice']) + register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker']) + register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue']) + register_Ns3PbbAddressTlv_methods(root_module, root_module['ns3::PbbAddressTlv']) return def register_Ns3Address_methods(root_module, cls): @@ -1254,341 +1290,6 @@ def register_Ns3PacketSocketAddress_methods(root_module, cls): [param('uint32_t', 'device')]) return -def register_Ns3PbbAddressBlock_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('!=') - ## packetbb.h: ns3::PbbAddressBlock::PbbAddressBlock(ns3::PbbAddressBlock const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbAddressBlock const &', 'arg0')]) - ## packetbb.h: ns3::PbbAddressBlock::PbbAddressBlock() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Address ns3::PbbAddressBlock::AddressBack() const [member function] - cls.add_method('AddressBack', - 'ns3::Address', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressBegin() [member function] - cls.add_method('AddressBegin', - 'std::_List_iterator< ns3::Address >', - []) - ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::AddressBegin() const [member function] - cls.add_method('AddressBegin', - 'std::_List_const_iterator< ns3::Address >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::AddressClear() [member function] - cls.add_method('AddressClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbAddressBlock::AddressEmpty() const [member function] - cls.add_method('AddressEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressEnd() [member function] - cls.add_method('AddressEnd', - 'std::_List_iterator< ns3::Address >', - []) - ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::AddressEnd() const [member function] - cls.add_method('AddressEnd', - 'std::_List_const_iterator< ns3::Address >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressErase(std::_List_iterator position) [member function] - cls.add_method('AddressErase', - 'std::_List_iterator< ns3::Address >', - [param('std::_List_iterator< ns3::Address >', 'position')]) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressErase(std::_List_iterator first, std::_List_iterator last) [member function] - cls.add_method('AddressErase', - 'std::_List_iterator< ns3::Address >', - [param('std::_List_iterator< ns3::Address >', 'first'), param('std::_List_iterator< ns3::Address >', 'last')]) - ## packetbb.h: ns3::Address ns3::PbbAddressBlock::AddressFront() const [member function] - cls.add_method('AddressFront', - 'ns3::Address', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressInsert(std::_List_iterator position, ns3::Address const value) [member function] - cls.add_method('AddressInsert', - 'std::_List_iterator< ns3::Address >', - [param('std::_List_iterator< ns3::Address >', 'position'), param('ns3::Address const', 'value')]) - ## packetbb.h: void ns3::PbbAddressBlock::AddressPopBack() [member function] - cls.add_method('AddressPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::AddressPopFront() [member function] - cls.add_method('AddressPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::AddressPushBack(ns3::Address address) [member function] - cls.add_method('AddressPushBack', - 'void', - [param('ns3::Address', 'address')]) - ## packetbb.h: void ns3::PbbAddressBlock::AddressPushFront(ns3::Address address) [member function] - cls.add_method('AddressPushFront', - 'void', - [param('ns3::Address', 'address')]) - ## packetbb.h: int ns3::PbbAddressBlock::AddressSize() const [member function] - cls.add_method('AddressSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::Deserialize(ns3::Buffer::Iterator & start) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')]) - ## packetbb.h: uint32_t ns3::PbbAddressBlock::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbAddressBlock::PrefixBack() const [member function] - cls.add_method('PrefixBack', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixBegin() [member function] - cls.add_method('PrefixBegin', - 'std::_List_iterator< unsigned char >', - []) - ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::PrefixBegin() const [member function] - cls.add_method('PrefixBegin', - 'std::_List_const_iterator< unsigned char >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::PrefixClear() [member function] - cls.add_method('PrefixClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbAddressBlock::PrefixEmpty() const [member function] - cls.add_method('PrefixEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixEnd() [member function] - cls.add_method('PrefixEnd', - 'std::_List_iterator< unsigned char >', - []) - ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::PrefixEnd() const [member function] - cls.add_method('PrefixEnd', - 'std::_List_const_iterator< unsigned char >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixErase(std::_List_iterator position) [member function] - cls.add_method('PrefixErase', - 'std::_List_iterator< unsigned char >', - [param('std::_List_iterator< unsigned char >', 'position')]) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixErase(std::_List_iterator first, std::_List_iterator last) [member function] - cls.add_method('PrefixErase', - 'std::_List_iterator< unsigned char >', - [param('std::_List_iterator< unsigned char >', 'first'), param('std::_List_iterator< unsigned char >', 'last')]) - ## packetbb.h: uint8_t ns3::PbbAddressBlock::PrefixFront() const [member function] - cls.add_method('PrefixFront', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixInsert(std::_List_iterator position, uint8_t const value) [member function] - cls.add_method('PrefixInsert', - 'std::_List_iterator< unsigned char >', - [param('std::_List_iterator< unsigned char >', 'position'), param('uint8_t const', 'value')]) - ## packetbb.h: void ns3::PbbAddressBlock::PrefixPopBack() [member function] - cls.add_method('PrefixPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::PrefixPopFront() [member function] - cls.add_method('PrefixPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::PrefixPushBack(uint8_t prefix) [member function] - cls.add_method('PrefixPushBack', - 'void', - [param('uint8_t', 'prefix')]) - ## packetbb.h: void ns3::PbbAddressBlock::PrefixPushFront(uint8_t prefix) [member function] - cls.add_method('PrefixPushFront', - 'void', - [param('uint8_t', 'prefix')]) - ## packetbb.h: int ns3::PbbAddressBlock::PrefixSize() const [member function] - cls.add_method('PrefixSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::Print(std::ostream & os, int level) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os'), param('int', 'level')], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::Ref() const [member function] - cls.add_method('Ref', - 'void', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::Serialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True) - ## packetbb.h: ns3::Ptr ns3::PbbAddressBlock::TlvBack() [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbAddressTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbAddressBlock::TlvBack() const [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbAddressTlv > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvBegin() [member function] - cls.add_method('TlvBegin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressBlock::TlvBegin() const [member function] - cls.add_method('TlvBegin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::TlvClear() [member function] - cls.add_method('TlvClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbAddressBlock::TlvEmpty() const [member function] - cls.add_method('TlvEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvEnd() [member function] - cls.add_method('TlvEnd', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressBlock::TlvEnd() const [member function] - cls.add_method('TlvEnd', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvErase(std::_List_iterator > position) [member function] - cls.add_method('TlvErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvErase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('TlvErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'last')]) - ## packetbb.h: ns3::Ptr ns3::PbbAddressBlock::TlvFront() [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbAddressTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbAddressBlock::TlvFront() const [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbAddressTlv > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvInsert(std::_List_iterator > position, ns3::Ptr const value) [member function] - cls.add_method('TlvInsert', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position'), param('ns3::Ptr< ns3::PbbTlv > const', 'value')]) - ## packetbb.h: void ns3::PbbAddressBlock::TlvPopBack() [member function] - cls.add_method('TlvPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::TlvPopFront() [member function] - cls.add_method('TlvPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::TlvPushBack(ns3::Ptr address) [member function] - cls.add_method('TlvPushBack', - 'void', - [param('ns3::Ptr< ns3::PbbAddressTlv >', 'address')]) - ## packetbb.h: void ns3::PbbAddressBlock::TlvPushFront(ns3::Ptr address) [member function] - cls.add_method('TlvPushFront', - 'void', - [param('ns3::Ptr< ns3::PbbAddressTlv >', 'address')]) - ## packetbb.h: int ns3::PbbAddressBlock::TlvSize() const [member function] - cls.add_method('TlvSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::Unref() const [member function] - cls.add_method('Unref', - 'void', - [], - is_const=True) - ## packetbb.h: ns3::Address ns3::PbbAddressBlock::DeserializeAddress(uint8_t * buffer) const [member function] - cls.add_method('DeserializeAddress', - 'ns3::Address', - [param('uint8_t *', 'buffer')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: uint8_t ns3::PbbAddressBlock::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'uint8_t', - [], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlock::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function] - cls.add_method('PrintAddress', - 'void', - [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlock::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function] - cls.add_method('SerializeAddress', - 'void', - [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbAddressBlockIpv4_methods(root_module, cls): - ## packetbb.h: ns3::PbbAddressBlockIpv4::PbbAddressBlockIpv4(ns3::PbbAddressBlockIpv4 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbAddressBlockIpv4 const &', 'arg0')]) - ## packetbb.h: ns3::PbbAddressBlockIpv4::PbbAddressBlockIpv4() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Address ns3::PbbAddressBlockIpv4::DeserializeAddress(uint8_t * buffer) const [member function] - cls.add_method('DeserializeAddress', - 'ns3::Address', - [param('uint8_t *', 'buffer')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: uint8_t ns3::PbbAddressBlockIpv4::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'uint8_t', - [], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlockIpv4::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function] - cls.add_method('PrintAddress', - 'void', - [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlockIpv4::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function] - cls.add_method('SerializeAddress', - 'void', - [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbAddressBlockIpv6_methods(root_module, cls): - ## packetbb.h: ns3::PbbAddressBlockIpv6::PbbAddressBlockIpv6(ns3::PbbAddressBlockIpv6 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbAddressBlockIpv6 const &', 'arg0')]) - ## packetbb.h: ns3::PbbAddressBlockIpv6::PbbAddressBlockIpv6() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Address ns3::PbbAddressBlockIpv6::DeserializeAddress(uint8_t * buffer) const [member function] - cls.add_method('DeserializeAddress', - 'ns3::Address', - [param('uint8_t *', 'buffer')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: uint8_t ns3::PbbAddressBlockIpv6::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'uint8_t', - [], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlockIpv6::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function] - cls.add_method('PrintAddress', - 'void', - [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlockIpv6::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function] - cls.add_method('SerializeAddress', - 'void', - [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_const=True, visibility='protected', is_virtual=True) - return - def register_Ns3PbbAddressTlvBlock_methods(root_module, cls): cls.add_binary_comparison_operator('==') cls.add_binary_comparison_operator('!=') @@ -1692,480 +1393,6 @@ def register_Ns3PbbAddressTlvBlock_methods(root_module, cls): is_const=True) return -def register_Ns3PbbMessage_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('!=') - ## packetbb.h: ns3::PbbMessage::PbbMessage(ns3::PbbMessage const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbMessage const &', 'arg0')]) - ## packetbb.h: ns3::PbbMessage::PbbMessage() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Ptr ns3::PbbMessage::AddressBlockBack() [member function] - cls.add_method('AddressBlockBack', - 'ns3::Ptr< ns3::PbbAddressBlock >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbMessage::AddressBlockBack() const [member function] - cls.add_method('AddressBlockBack', - 'ns3::Ptr< ns3::PbbAddressBlock > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockBegin() [member function] - cls.add_method('AddressBlockBegin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::AddressBlockBegin() const [member function] - cls.add_method('AddressBlockBegin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::AddressBlockClear() [member function] - cls.add_method('AddressBlockClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbMessage::AddressBlockEmpty() const [member function] - cls.add_method('AddressBlockEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockEnd() [member function] - cls.add_method('AddressBlockEnd', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::AddressBlockEnd() const [member function] - cls.add_method('AddressBlockEnd', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockErase(std::_List_iterator > position) [member function] - cls.add_method('AddressBlockErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockErase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('AddressBlockErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', 'last')]) - ## packetbb.h: ns3::Ptr ns3::PbbMessage::AddressBlockFront() [member function] - cls.add_method('AddressBlockFront', - 'ns3::Ptr< ns3::PbbAddressBlock >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbMessage::AddressBlockFront() const [member function] - cls.add_method('AddressBlockFront', - 'ns3::Ptr< ns3::PbbAddressBlock > const', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::AddressBlockPopBack() [member function] - cls.add_method('AddressBlockPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbMessage::AddressBlockPopFront() [member function] - cls.add_method('AddressBlockPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbMessage::AddressBlockPushBack(ns3::Ptr block) [member function] - cls.add_method('AddressBlockPushBack', - 'void', - [param('ns3::Ptr< ns3::PbbAddressBlock >', 'block')]) - ## packetbb.h: void ns3::PbbMessage::AddressBlockPushFront(ns3::Ptr block) [member function] - cls.add_method('AddressBlockPushFront', - 'void', - [param('ns3::Ptr< ns3::PbbAddressBlock >', 'block')]) - ## packetbb.h: int ns3::PbbMessage::AddressBlockSize() const [member function] - cls.add_method('AddressBlockSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::Deserialize(ns3::Buffer::Iterator & start) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')]) - ## packetbb.h: static ns3::Ptr ns3::PbbMessage::DeserializeMessage(ns3::Buffer::Iterator & start) [member function] - cls.add_method('DeserializeMessage', - 'ns3::Ptr< ns3::PbbMessage >', - [param('ns3::Buffer::Iterator &', 'start')], - is_static=True) - ## packetbb.h: uint8_t ns3::PbbMessage::GetHopCount() const [member function] - cls.add_method('GetHopCount', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbMessage::GetHopLimit() const [member function] - cls.add_method('GetHopLimit', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: ns3::Address ns3::PbbMessage::GetOriginatorAddress() const [member function] - cls.add_method('GetOriginatorAddress', - 'ns3::Address', - [], - is_const=True) - ## packetbb.h: uint16_t ns3::PbbMessage::GetSequenceNumber() const [member function] - cls.add_method('GetSequenceNumber', - 'uint16_t', - [], - is_const=True) - ## packetbb.h: uint32_t ns3::PbbMessage::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbMessage::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbMessage::HasHopCount() const [member function] - cls.add_method('HasHopCount', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbMessage::HasHopLimit() const [member function] - cls.add_method('HasHopLimit', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbMessage::HasOriginatorAddress() const [member function] - cls.add_method('HasOriginatorAddress', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbMessage::HasSequenceNumber() const [member function] - cls.add_method('HasSequenceNumber', - 'bool', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::Print(std::ostream & os, int level) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os'), param('int', 'level')], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::Ref() const [member function] - cls.add_method('Ref', - 'void', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::Serialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::SetHopCount(uint8_t hopcount) [member function] - cls.add_method('SetHopCount', - 'void', - [param('uint8_t', 'hopcount')]) - ## packetbb.h: void ns3::PbbMessage::SetHopLimit(uint8_t hoplimit) [member function] - cls.add_method('SetHopLimit', - 'void', - [param('uint8_t', 'hoplimit')]) - ## packetbb.h: void ns3::PbbMessage::SetOriginatorAddress(ns3::Address address) [member function] - cls.add_method('SetOriginatorAddress', - 'void', - [param('ns3::Address', 'address')]) - ## packetbb.h: void ns3::PbbMessage::SetSequenceNumber(uint16_t seqnum) [member function] - cls.add_method('SetSequenceNumber', - 'void', - [param('uint16_t', 'seqnum')]) - ## packetbb.h: void ns3::PbbMessage::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - ## packetbb.h: ns3::Ptr ns3::PbbMessage::TlvBack() [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbMessage::TlvBack() const [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbTlv > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvBegin() [member function] - cls.add_method('TlvBegin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::TlvBegin() const [member function] - cls.add_method('TlvBegin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::TlvClear() [member function] - cls.add_method('TlvClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbMessage::TlvEmpty() const [member function] - cls.add_method('TlvEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvEnd() [member function] - cls.add_method('TlvEnd', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::TlvEnd() const [member function] - cls.add_method('TlvEnd', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvErase(std::_List_iterator > position) [member function] - cls.add_method('TlvErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvErase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('TlvErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'last')]) - ## packetbb.h: ns3::Ptr ns3::PbbMessage::TlvFront() [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbMessage::TlvFront() const [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbTlv > const', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::TlvPopBack() [member function] - cls.add_method('TlvPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbMessage::TlvPopFront() [member function] - cls.add_method('TlvPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbMessage::TlvPushBack(ns3::Ptr tlv) [member function] - cls.add_method('TlvPushBack', - 'void', - [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) - ## packetbb.h: void ns3::PbbMessage::TlvPushFront(ns3::Ptr tlv) [member function] - cls.add_method('TlvPushFront', - 'void', - [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) - ## packetbb.h: int ns3::PbbMessage::TlvSize() const [member function] - cls.add_method('TlvSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::Unref() const [member function] - cls.add_method('Unref', - 'void', - [], - is_const=True) - ## packetbb.h: ns3::Ptr ns3::PbbMessage::AddressBlockDeserialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('AddressBlockDeserialize', - 'ns3::Ptr< ns3::PbbAddressBlock >', - [param('ns3::Buffer::Iterator &', 'start')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::Address ns3::PbbMessage::DeserializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('DeserializeOriginatorAddress', - 'ns3::Address', - [param('ns3::Buffer::Iterator &', 'start')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::PbbAddressLength ns3::PbbMessage::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'ns3::PbbAddressLength', - [], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessage::PrintOriginatorAddress(std::ostream & os) const [member function] - cls.add_method('PrintOriginatorAddress', - 'void', - [param('std::ostream &', 'os')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessage::SerializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('SerializeOriginatorAddress', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbMessageIpv4_methods(root_module, cls): - ## packetbb.h: ns3::PbbMessageIpv4::PbbMessageIpv4(ns3::PbbMessageIpv4 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbMessageIpv4 const &', 'arg0')]) - ## packetbb.h: ns3::PbbMessageIpv4::PbbMessageIpv4() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Ptr ns3::PbbMessageIpv4::AddressBlockDeserialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('AddressBlockDeserialize', - 'ns3::Ptr< ns3::PbbAddressBlock >', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::Address ns3::PbbMessageIpv4::DeserializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('DeserializeOriginatorAddress', - 'ns3::Address', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::PbbAddressLength ns3::PbbMessageIpv4::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'ns3::PbbAddressLength', - [], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessageIpv4::PrintOriginatorAddress(std::ostream & os) const [member function] - cls.add_method('PrintOriginatorAddress', - 'void', - [param('std::ostream &', 'os')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessageIpv4::SerializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('SerializeOriginatorAddress', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbMessageIpv6_methods(root_module, cls): - ## packetbb.h: ns3::PbbMessageIpv6::PbbMessageIpv6(ns3::PbbMessageIpv6 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbMessageIpv6 const &', 'arg0')]) - ## packetbb.h: ns3::PbbMessageIpv6::PbbMessageIpv6() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Ptr ns3::PbbMessageIpv6::AddressBlockDeserialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('AddressBlockDeserialize', - 'ns3::Ptr< ns3::PbbAddressBlock >', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::Address ns3::PbbMessageIpv6::DeserializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('DeserializeOriginatorAddress', - 'ns3::Address', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::PbbAddressLength ns3::PbbMessageIpv6::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'ns3::PbbAddressLength', - [], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessageIpv6::PrintOriginatorAddress(std::ostream & os) const [member function] - cls.add_method('PrintOriginatorAddress', - 'void', - [param('std::ostream &', 'os')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessageIpv6::SerializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('SerializeOriginatorAddress', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbTlv_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('!=') - ## packetbb.h: ns3::PbbTlv::PbbTlv(ns3::PbbTlv const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbTlv const &', 'arg0')]) - ## packetbb.h: ns3::PbbTlv::PbbTlv() [constructor] - cls.add_constructor([]) - ## packetbb.h: void ns3::PbbTlv::Deserialize(ns3::Buffer::Iterator & start) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')]) - ## packetbb.h: uint32_t ns3::PbbTlv::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbTlv::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbTlv::GetTypeExt() const [member function] - cls.add_method('GetTypeExt', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: ns3::Buffer ns3::PbbTlv::GetValue() const [member function] - cls.add_method('GetValue', - 'ns3::Buffer', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbTlv::HasTypeExt() const [member function] - cls.add_method('HasTypeExt', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbTlv::HasValue() const [member function] - cls.add_method('HasValue', - 'bool', - [], - is_const=True) - ## packetbb.h: void ns3::PbbTlv::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packetbb.h: void ns3::PbbTlv::Print(std::ostream & os, int level) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os'), param('int', 'level')], - is_const=True) - ## packetbb.h: void ns3::PbbTlv::Ref() const [member function] - cls.add_method('Ref', - 'void', - [], - is_const=True) - ## packetbb.h: void ns3::PbbTlv::Serialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True) - ## packetbb.h: void ns3::PbbTlv::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - ## packetbb.h: void ns3::PbbTlv::SetTypeExt(uint8_t type) [member function] - cls.add_method('SetTypeExt', - 'void', - [param('uint8_t', 'type')]) - ## packetbb.h: void ns3::PbbTlv::SetValue(ns3::Buffer start) [member function] - cls.add_method('SetValue', - 'void', - [param('ns3::Buffer', 'start')]) - ## packetbb.h: void ns3::PbbTlv::SetValue(uint8_t const * buffer, uint32_t size) [member function] - cls.add_method('SetValue', - 'void', - [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) - ## packetbb.h: void ns3::PbbTlv::Unref() const [member function] - cls.add_method('Unref', - 'void', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbTlv::GetIndexStart() const [member function] - cls.add_method('GetIndexStart', - 'uint8_t', - [], - is_const=True, visibility='protected') - ## packetbb.h: uint8_t ns3::PbbTlv::GetIndexStop() const [member function] - cls.add_method('GetIndexStop', - 'uint8_t', - [], - is_const=True, visibility='protected') - ## packetbb.h: bool ns3::PbbTlv::HasIndexStart() const [member function] - cls.add_method('HasIndexStart', - 'bool', - [], - is_const=True, visibility='protected') - ## packetbb.h: bool ns3::PbbTlv::HasIndexStop() const [member function] - cls.add_method('HasIndexStop', - 'bool', - [], - is_const=True, visibility='protected') - ## packetbb.h: bool ns3::PbbTlv::IsMultivalue() const [member function] - cls.add_method('IsMultivalue', - 'bool', - [], - is_const=True, visibility='protected') - ## packetbb.h: void ns3::PbbTlv::SetIndexStart(uint8_t index) [member function] - cls.add_method('SetIndexStart', - 'void', - [param('uint8_t', 'index')], - visibility='protected') - ## packetbb.h: void ns3::PbbTlv::SetIndexStop(uint8_t index) [member function] - cls.add_method('SetIndexStop', - 'void', - [param('uint8_t', 'index')], - visibility='protected') - ## packetbb.h: void ns3::PbbTlv::SetMultivalue(bool isMultivalue) [member function] - cls.add_method('SetMultivalue', - 'void', - [param('bool', 'isMultivalue')], - visibility='protected') - return - def register_Ns3PbbTlvBlock_methods(root_module, cls): cls.add_binary_comparison_operator('==') cls.add_binary_comparison_operator('!=') @@ -2269,46 +1496,6 @@ def register_Ns3PbbTlvBlock_methods(root_module, cls): is_const=True) return -def register_Ns3Ipv4AddressChecker_methods(root_module, cls): - ## ipv4-address.h: ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor] - cls.add_constructor([]) - ## ipv4-address.h: ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')]) - return - -def register_Ns3Ipv4AddressValue_methods(root_module, cls): - ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor] - cls.add_constructor([]) - ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')]) - ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor] - cls.add_constructor([param('ns3::Ipv4Address const &', 'value')]) - ## ipv4-address.h: ns3::Ptr ns3::Ipv4AddressValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## ipv4-address.h: bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-address.h: std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## ipv4-address.h: void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Ipv4Address const &', 'value')]) - return - def register_Ns3Ipv4Header_methods(root_module, cls): ## ipv4-header.h: ns3::Ipv4Header::Ipv4Header(ns3::Ipv4Header const & arg0) [copy constructor] cls.add_constructor([param('ns3::Ipv4Header const &', 'arg0')]) @@ -2453,177 +1640,6 @@ def register_Ns3Ipv4Header_methods(root_module, cls): [param('uint8_t', 'ttl')]) return -def register_Ns3Ipv4MaskChecker_methods(root_module, cls): - ## ipv4-address.h: ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor] - cls.add_constructor([]) - ## ipv4-address.h: ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')]) - return - -def register_Ns3Ipv4MaskValue_methods(root_module, cls): - ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor] - cls.add_constructor([]) - ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')]) - ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor] - cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')]) - ## ipv4-address.h: ns3::Ptr ns3::Ipv4MaskValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## ipv4-address.h: bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## ipv4-address.h: ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Ipv4Mask', - [], - is_const=True) - ## ipv4-address.h: std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## ipv4-address.h: void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Ipv4Mask const &', 'value')]) - return - -def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): - ## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4MulticastRoute const &', 'arg0')]) - ## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute() [constructor] - cls.add_constructor([]) - ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetGroup() const [member function] - cls.add_method('GetGroup', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetOrigin() const [member function] - cls.add_method('GetOrigin', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] - cls.add_method('GetOutputTtl', - 'uint32_t', - [param('uint32_t', 'oif')], - is_const=True) - ## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] - cls.add_method('GetParent', - 'uint32_t', - [], - is_const=True) - ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetGroup(ns3::Ipv4Address const group) [member function] - cls.add_method('SetGroup', - 'void', - [param('ns3::Ipv4Address const', 'group')]) - ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetOrigin(ns3::Ipv4Address const origin) [member function] - cls.add_method('SetOrigin', - 'void', - [param('ns3::Ipv4Address const', 'origin')]) - ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetOutputTtl(uint32_t oif, uint32_t ttl) [member function] - cls.add_method('SetOutputTtl', - 'void', - [param('uint32_t', 'oif'), param('uint32_t', 'ttl')]) - ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetParent(uint32_t iif) [member function] - cls.add_method('SetParent', - 'void', - [param('uint32_t', 'iif')]) - ## ipv4-route.h: ns3::Ipv4MulticastRoute::MAX_INTERFACES [variable] - cls.add_static_attribute('MAX_INTERFACES', 'uint32_t const', is_const=True) - ## ipv4-route.h: ns3::Ipv4MulticastRoute::MAX_TTL [variable] - cls.add_static_attribute('MAX_TTL', 'uint32_t const', is_const=True) - return - -def register_Ns3Ipv4Route_methods(root_module, cls): - cls.add_output_stream_operator() - ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4Route const &', 'arg0')]) - ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route() [constructor] - cls.add_constructor([]) - ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetGateway() const [member function] - cls.add_method('GetGateway', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-route.h: ns3::Ptr ns3::Ipv4Route::GetOutputDevice() const [member function] - cls.add_method('GetOutputDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetSource() const [member function] - cls.add_method('GetSource', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-route.h: void ns3::Ipv4Route::SetDestination(ns3::Ipv4Address dest) [member function] - cls.add_method('SetDestination', - 'void', - [param('ns3::Ipv4Address', 'dest')]) - ## ipv4-route.h: void ns3::Ipv4Route::SetGateway(ns3::Ipv4Address gw) [member function] - cls.add_method('SetGateway', - 'void', - [param('ns3::Ipv4Address', 'gw')]) - ## ipv4-route.h: void ns3::Ipv4Route::SetOutputDevice(ns3::Ptr outputDevice) [member function] - cls.add_method('SetOutputDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'outputDevice')]) - ## ipv4-route.h: void ns3::Ipv4Route::SetSource(ns3::Ipv4Address src) [member function] - cls.add_method('SetSource', - 'void', - [param('ns3::Ipv4Address', 'src')]) - return - -def register_Ns3Ipv6AddressChecker_methods(root_module, cls): - ## ipv6-address.h: ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor] - cls.add_constructor([]) - ## ipv6-address.h: ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')]) - return - -def register_Ns3Ipv6AddressValue_methods(root_module, cls): - ## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor] - cls.add_constructor([]) - ## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')]) - ## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor] - cls.add_constructor([param('ns3::Ipv6Address const &', 'value')]) - ## ipv6-address.h: ns3::Ptr ns3::Ipv6AddressValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## ipv6-address.h: bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## ipv6-address.h: ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-address.h: std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## ipv6-address.h: void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Ipv6Address const &', 'value')]) - return - def register_Ns3Ipv6Header_methods(root_module, cls): ## ipv6-header.h: ns3::Ipv6Header::Ipv6Header(ns3::Ipv6Header const & arg0) [copy constructor] cls.add_constructor([param('ns3::Ipv6Header const &', 'arg0')]) @@ -2724,138 +1740,6 @@ def register_Ns3Ipv6Header_methods(root_module, cls): [param('uint8_t', 'traffic')]) return -def register_Ns3Ipv6MulticastRoute_methods(root_module, cls): - cls.add_output_stream_operator() - ## ipv6-route.h: ns3::Ipv6MulticastRoute::Ipv6MulticastRoute(ns3::Ipv6MulticastRoute const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6MulticastRoute const &', 'arg0')]) - ## ipv6-route.h: ns3::Ipv6MulticastRoute::Ipv6MulticastRoute() [constructor] - cls.add_constructor([]) - ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6MulticastRoute::GetGroup() const [member function] - cls.add_method('GetGroup', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6MulticastRoute::GetOrigin() const [member function] - cls.add_method('GetOrigin', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-route.h: uint32_t ns3::Ipv6MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] - cls.add_method('GetOutputTtl', - 'uint32_t', - [param('uint32_t', 'oif')], - is_const=True) - ## ipv6-route.h: uint32_t ns3::Ipv6MulticastRoute::GetParent() const [member function] - cls.add_method('GetParent', - 'uint32_t', - [], - is_const=True) - ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetGroup(ns3::Ipv6Address const group) [member function] - cls.add_method('SetGroup', - 'void', - [param('ns3::Ipv6Address const', 'group')]) - ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetOrigin(ns3::Ipv6Address const origin) [member function] - cls.add_method('SetOrigin', - 'void', - [param('ns3::Ipv6Address const', 'origin')]) - ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetOutputTtl(uint32_t oif, uint32_t ttl) [member function] - cls.add_method('SetOutputTtl', - 'void', - [param('uint32_t', 'oif'), param('uint32_t', 'ttl')]) - ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetParent(uint32_t iif) [member function] - cls.add_method('SetParent', - 'void', - [param('uint32_t', 'iif')]) - ## ipv6-route.h: ns3::Ipv6MulticastRoute::MAX_INTERFACES [variable] - cls.add_static_attribute('MAX_INTERFACES', 'uint32_t const', is_const=True) - ## ipv6-route.h: ns3::Ipv6MulticastRoute::MAX_TTL [variable] - cls.add_static_attribute('MAX_TTL', 'uint32_t const', is_const=True) - return - -def register_Ns3Ipv6PrefixChecker_methods(root_module, cls): - ## ipv6-address.h: ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor] - cls.add_constructor([]) - ## ipv6-address.h: ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')]) - return - -def register_Ns3Ipv6PrefixValue_methods(root_module, cls): - ## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor] - cls.add_constructor([]) - ## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')]) - ## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor] - cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')]) - ## ipv6-address.h: ns3::Ptr ns3::Ipv6PrefixValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## ipv6-address.h: bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## ipv6-address.h: ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Ipv6Prefix', - [], - is_const=True) - ## ipv6-address.h: std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## ipv6-address.h: void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Ipv6Prefix const &', 'value')]) - return - -def register_Ns3Ipv6Route_methods(root_module, cls): - cls.add_output_stream_operator() - ## ipv6-route.h: ns3::Ipv6Route::Ipv6Route(ns3::Ipv6Route const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6Route const &', 'arg0')]) - ## ipv6-route.h: ns3::Ipv6Route::Ipv6Route() [constructor] - cls.add_constructor([]) - ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6Route::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6Route::GetGateway() const [member function] - cls.add_method('GetGateway', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-route.h: ns3::Ptr ns3::Ipv6Route::GetOutputDevice() const [member function] - cls.add_method('GetOutputDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6Route::GetSource() const [member function] - cls.add_method('GetSource', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-route.h: void ns3::Ipv6Route::SetDestination(ns3::Ipv6Address dest) [member function] - cls.add_method('SetDestination', - 'void', - [param('ns3::Ipv6Address', 'dest')]) - ## ipv6-route.h: void ns3::Ipv6Route::SetGateway(ns3::Ipv6Address gw) [member function] - cls.add_method('SetGateway', - 'void', - [param('ns3::Ipv6Address', 'gw')]) - ## ipv6-route.h: void ns3::Ipv6Route::SetOutputDevice(ns3::Ptr outputDevice) [member function] - cls.add_method('SetOutputDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'outputDevice')]) - ## ipv6-route.h: void ns3::Ipv6Route::SetSource(ns3::Ipv6Address src) [member function] - cls.add_method('SetSource', - 'void', - [param('ns3::Ipv6Address', 'src')]) - return - def register_Ns3LlcSnapHeader_methods(root_module, cls): ## llc-snap-header.h: ns3::LlcSnapHeader::LlcSnapHeader(ns3::LlcSnapHeader const & arg0) [copy constructor] cls.add_constructor([param('ns3::LlcSnapHeader const &', 'arg0')]) @@ -2901,311 +1785,6 @@ def register_Ns3LlcSnapHeader_methods(root_module, cls): [param('uint16_t', 'type')]) return -def register_Ns3Mac48AddressChecker_methods(root_module, cls): - ## mac48-address.h: ns3::Mac48AddressChecker::Mac48AddressChecker() [constructor] - cls.add_constructor([]) - ## mac48-address.h: ns3::Mac48AddressChecker::Mac48AddressChecker(ns3::Mac48AddressChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Mac48AddressChecker const &', 'arg0')]) - return - -def register_Ns3Mac48AddressValue_methods(root_module, cls): - ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue() [constructor] - cls.add_constructor([]) - ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48AddressValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Mac48AddressValue const &', 'arg0')]) - ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48Address const & value) [constructor] - cls.add_constructor([param('ns3::Mac48Address const &', 'value')]) - ## mac48-address.h: ns3::Ptr ns3::Mac48AddressValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## mac48-address.h: bool ns3::Mac48AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## mac48-address.h: ns3::Mac48Address ns3::Mac48AddressValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Mac48Address', - [], - is_const=True) - ## mac48-address.h: std::string ns3::Mac48AddressValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## mac48-address.h: void ns3::Mac48AddressValue::Set(ns3::Mac48Address const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Mac48Address const &', 'value')]) - return - -def register_Ns3PbbAddressTlv_methods(root_module, cls): - ## packetbb.h: ns3::PbbAddressTlv::PbbAddressTlv() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::PbbAddressTlv::PbbAddressTlv(ns3::PbbAddressTlv const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbAddressTlv const &', 'arg0')]) - ## packetbb.h: uint8_t ns3::PbbAddressTlv::GetIndexStart() const [member function] - cls.add_method('GetIndexStart', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbAddressTlv::GetIndexStop() const [member function] - cls.add_method('GetIndexStop', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbAddressTlv::HasIndexStart() const [member function] - cls.add_method('HasIndexStart', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbAddressTlv::HasIndexStop() const [member function] - cls.add_method('HasIndexStop', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbAddressTlv::IsMultivalue() const [member function] - cls.add_method('IsMultivalue', - 'bool', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressTlv::SetIndexStart(uint8_t index) [member function] - cls.add_method('SetIndexStart', - 'void', - [param('uint8_t', 'index')]) - ## packetbb.h: void ns3::PbbAddressTlv::SetIndexStop(uint8_t index) [member function] - cls.add_method('SetIndexStop', - 'void', - [param('uint8_t', 'index')]) - ## packetbb.h: void ns3::PbbAddressTlv::SetMultivalue(bool isMultivalue) [member function] - cls.add_method('SetMultivalue', - 'void', - [param('bool', 'isMultivalue')]) - return - -def register_Ns3PbbPacket_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('!=') - ## packetbb.h: ns3::PbbPacket::PbbPacket(ns3::PbbPacket const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbPacket const &', 'arg0')]) - ## packetbb.h: ns3::PbbPacket::PbbPacket() [constructor] - cls.add_constructor([]) - ## packetbb.h: uint32_t ns3::PbbPacket::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > position) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'last')]) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > position) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', 'last')]) - ## packetbb.h: ns3::TypeId ns3::PbbPacket::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## packetbb.h: uint16_t ns3::PbbPacket::GetSequenceNumber() const [member function] - cls.add_method('GetSequenceNumber', - 'uint16_t', - [], - is_const=True) - ## packetbb.h: uint32_t ns3::PbbPacket::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## packetbb.h: static ns3::TypeId ns3::PbbPacket::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## packetbb.h: uint8_t ns3::PbbPacket::GetVersion() const [member function] - cls.add_method('GetVersion', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbPacket::HasSequenceNumber() const [member function] - cls.add_method('HasSequenceNumber', - 'bool', - [], - is_const=True) - ## packetbb.h: ns3::Ptr ns3::PbbPacket::MessageBack() [member function] - cls.add_method('MessageBack', - 'ns3::Ptr< ns3::PbbMessage >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbPacket::MessageBack() const [member function] - cls.add_method('MessageBack', - 'ns3::Ptr< ns3::PbbMessage > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::MessageBegin() [member function] - cls.add_method('MessageBegin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::MessageBegin() const [member function] - cls.add_method('MessageBegin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbMessage > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::MessageClear() [member function] - cls.add_method('MessageClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbPacket::MessageEmpty() const [member function] - cls.add_method('MessageEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::MessageEnd() [member function] - cls.add_method('MessageEnd', - 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::MessageEnd() const [member function] - cls.add_method('MessageEnd', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbMessage > >', - [], - is_const=True) - ## packetbb.h: ns3::Ptr ns3::PbbPacket::MessageFront() [member function] - cls.add_method('MessageFront', - 'ns3::Ptr< ns3::PbbMessage >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbPacket::MessageFront() const [member function] - cls.add_method('MessageFront', - 'ns3::Ptr< ns3::PbbMessage > const', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::MessagePopBack() [member function] - cls.add_method('MessagePopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbPacket::MessagePopFront() [member function] - cls.add_method('MessagePopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbPacket::MessagePushBack(ns3::Ptr message) [member function] - cls.add_method('MessagePushBack', - 'void', - [param('ns3::Ptr< ns3::PbbMessage >', 'message')]) - ## packetbb.h: void ns3::PbbPacket::MessagePushFront(ns3::Ptr message) [member function] - cls.add_method('MessagePushFront', - 'void', - [param('ns3::Ptr< ns3::PbbMessage >', 'message')]) - ## packetbb.h: int ns3::PbbPacket::MessageSize() const [member function] - cls.add_method('MessageSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## packetbb.h: void ns3::PbbPacket::Ref() const [member function] - cls.add_method('Ref', - 'void', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## packetbb.h: void ns3::PbbPacket::SetSequenceNumber(uint16_t number) [member function] - cls.add_method('SetSequenceNumber', - 'void', - [param('uint16_t', 'number')]) - ## packetbb.h: ns3::Ptr ns3::PbbPacket::TlvBack() [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbPacket::TlvBack() const [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbTlv > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::TlvBegin() [member function] - cls.add_method('TlvBegin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::TlvBegin() const [member function] - cls.add_method('TlvBegin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::TlvClear() [member function] - cls.add_method('TlvClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbPacket::TlvEmpty() const [member function] - cls.add_method('TlvEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::TlvEnd() [member function] - cls.add_method('TlvEnd', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::TlvEnd() const [member function] - cls.add_method('TlvEnd', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', - [], - is_const=True) - ## packetbb.h: ns3::Ptr ns3::PbbPacket::TlvFront() [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbPacket::TlvFront() const [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbTlv > const', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::TlvPopBack() [member function] - cls.add_method('TlvPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbPacket::TlvPopFront() [member function] - cls.add_method('TlvPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbPacket::TlvPushBack(ns3::Ptr tlv) [member function] - cls.add_method('TlvPushBack', - 'void', - [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) - ## packetbb.h: void ns3::PbbPacket::TlvPushFront(ns3::Ptr tlv) [member function] - cls.add_method('TlvPushFront', - 'void', - [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) - ## packetbb.h: int ns3::PbbPacket::TlvSize() const [member function] - cls.add_method('TlvSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::Unref() const [member function] - cls.add_method('Unref', - 'void', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::SerializePacketTlv(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('SerializePacketTlv', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected') - return - def register_Ns3Queue_methods(root_module, cls): ## queue.h: ns3::Queue::Queue(ns3::Queue const & arg0) [copy constructor] cls.add_constructor([param('ns3::Queue const &', 'arg0')]) @@ -3855,46 +2434,6 @@ def register_Ns3UdpSocketFactory_methods(root_module, cls): is_static=True) return -def register_Ns3AddressChecker_methods(root_module, cls): - ## address.h: ns3::AddressChecker::AddressChecker() [constructor] - cls.add_constructor([]) - ## address.h: ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')]) - return - -def register_Ns3AddressValue_methods(root_module, cls): - ## address.h: ns3::AddressValue::AddressValue() [constructor] - cls.add_constructor([]) - ## address.h: ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AddressValue const &', 'arg0')]) - ## address.h: ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor] - cls.add_constructor([param('ns3::Address const &', 'value')]) - ## address.h: ns3::Ptr ns3::AddressValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## address.h: bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## address.h: ns3::Address ns3::AddressValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Address', - [], - is_const=True) - ## address.h: std::string ns3::AddressValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## address.h: void ns3::AddressValue::Set(ns3::Address const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Address const &', 'value')]) - return - def register_Ns3Application_methods(root_module, cls): ## application.h: ns3::Application::Application(ns3::Application const & arg0) [copy constructor] cls.add_constructor([param('ns3::Application const &', 'arg0')]) @@ -3914,27 +2453,24 @@ def register_Ns3Application_methods(root_module, cls): cls.add_method('SetNode', 'void', [param('ns3::Ptr< ns3::Node >', 'node')]) - ## application.h: void ns3::Application::Start(ns3::Time const & startTime) [member function] - cls.add_method('Start', + ## application.h: void ns3::Application::SetStartTime(ns3::Time start) [member function] + cls.add_method('SetStartTime', 'void', - [param('ns3::Time const &', 'startTime')]) - ## application.h: void ns3::Application::Start(ns3::RandomVariable const & startVariable) [member function] - cls.add_method('Start', + [param('ns3::Time', 'start')]) + ## application.h: void ns3::Application::SetStopTime(ns3::Time stop) [member function] + cls.add_method('SetStopTime', 'void', - [param('ns3::RandomVariable const &', 'startVariable')]) - ## application.h: void ns3::Application::Stop(ns3::Time const & stopTime) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'stopTime')]) - ## application.h: void ns3::Application::Stop(ns3::RandomVariable const & stopVariable) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::RandomVariable const &', 'stopVariable')]) + [param('ns3::Time', 'stop')]) ## application.h: void ns3::Application::DoDispose() [member function] cls.add_method('DoDispose', 'void', [], visibility='protected', is_virtual=True) + ## application.h: void ns3::Application::DoStart() [member function] + cls.add_method('DoStart', + 'void', + [], + visibility='protected', is_virtual=True) ## application.h: void ns3::Application::StartApplication() [member function] cls.add_method('StartApplication', 'void', @@ -4282,6 +2818,133 @@ def register_Ns3Ipv4_methods(root_module, cls): is_pure_virtual=True, visibility='private', is_virtual=True) return +def register_Ns3Ipv4AddressChecker_methods(root_module, cls): + ## ipv4-address.h: ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor] + cls.add_constructor([]) + ## ipv4-address.h: ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')]) + return + +def register_Ns3Ipv4AddressValue_methods(root_module, cls): + ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor] + cls.add_constructor([]) + ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')]) + ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor] + cls.add_constructor([param('ns3::Ipv4Address const &', 'value')]) + ## ipv4-address.h: ns3::Ptr ns3::Ipv4AddressValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## ipv4-address.h: bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] + cls.add_method('DeserializeFromString', + 'bool', + [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_virtual=True) + ## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function] + cls.add_method('Get', + 'ns3::Ipv4Address', + [], + is_const=True) + ## ipv4-address.h: std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr checker) const [member function] + cls.add_method('SerializeToString', + 'std::string', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True, is_virtual=True) + ## ipv4-address.h: void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::Ipv4Address const &', 'value')]) + return + +def register_Ns3Ipv4MaskChecker_methods(root_module, cls): + ## ipv4-address.h: ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor] + cls.add_constructor([]) + ## ipv4-address.h: ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')]) + return + +def register_Ns3Ipv4MaskValue_methods(root_module, cls): + ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor] + cls.add_constructor([]) + ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')]) + ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor] + cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')]) + ## ipv4-address.h: ns3::Ptr ns3::Ipv4MaskValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## ipv4-address.h: bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] + cls.add_method('DeserializeFromString', + 'bool', + [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_virtual=True) + ## ipv4-address.h: ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function] + cls.add_method('Get', + 'ns3::Ipv4Mask', + [], + is_const=True) + ## ipv4-address.h: std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr checker) const [member function] + cls.add_method('SerializeToString', + 'std::string', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True, is_virtual=True) + ## ipv4-address.h: void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::Ipv4Mask const &', 'value')]) + return + +def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): + ## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv4MulticastRoute const &', 'arg0')]) + ## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute() [constructor] + cls.add_constructor([]) + ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetGroup() const [member function] + cls.add_method('GetGroup', + 'ns3::Ipv4Address', + [], + is_const=True) + ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetOrigin() const [member function] + cls.add_method('GetOrigin', + 'ns3::Ipv4Address', + [], + is_const=True) + ## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] + cls.add_method('GetOutputTtl', + 'uint32_t', + [param('uint32_t', 'oif')], + is_const=True) + ## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] + cls.add_method('GetParent', + 'uint32_t', + [], + is_const=True) + ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetGroup(ns3::Ipv4Address const group) [member function] + cls.add_method('SetGroup', + 'void', + [param('ns3::Ipv4Address const', 'group')]) + ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetOrigin(ns3::Ipv4Address const origin) [member function] + cls.add_method('SetOrigin', + 'void', + [param('ns3::Ipv4Address const', 'origin')]) + ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetOutputTtl(uint32_t oif, uint32_t ttl) [member function] + cls.add_method('SetOutputTtl', + 'void', + [param('uint32_t', 'oif'), param('uint32_t', 'ttl')]) + ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetParent(uint32_t iif) [member function] + cls.add_method('SetParent', + 'void', + [param('uint32_t', 'iif')]) + ## ipv4-route.h: ns3::Ipv4MulticastRoute::MAX_INTERFACES [variable] + cls.add_static_attribute('MAX_INTERFACES', 'uint32_t const', is_const=True) + ## ipv4-route.h: ns3::Ipv4MulticastRoute::MAX_TTL [variable] + cls.add_static_attribute('MAX_TTL', 'uint32_t const', is_const=True) + return + def register_Ns3Ipv4RawSocketFactory_methods(root_module, cls): ## ipv4-raw-socket-factory.h: ns3::Ipv4RawSocketFactory::Ipv4RawSocketFactory() [constructor] cls.add_constructor([]) @@ -4294,6 +2957,50 @@ def register_Ns3Ipv4RawSocketFactory_methods(root_module, cls): is_static=True) return +def register_Ns3Ipv4Route_methods(root_module, cls): + cls.add_output_stream_operator() + ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv4Route const &', 'arg0')]) + ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route() [constructor] + cls.add_constructor([]) + ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetDestination() const [member function] + cls.add_method('GetDestination', + 'ns3::Ipv4Address', + [], + is_const=True) + ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetGateway() const [member function] + cls.add_method('GetGateway', + 'ns3::Ipv4Address', + [], + is_const=True) + ## ipv4-route.h: ns3::Ptr ns3::Ipv4Route::GetOutputDevice() const [member function] + cls.add_method('GetOutputDevice', + 'ns3::Ptr< ns3::NetDevice >', + [], + is_const=True) + ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetSource() const [member function] + cls.add_method('GetSource', + 'ns3::Ipv4Address', + [], + is_const=True) + ## ipv4-route.h: void ns3::Ipv4Route::SetDestination(ns3::Ipv4Address dest) [member function] + cls.add_method('SetDestination', + 'void', + [param('ns3::Ipv4Address', 'dest')]) + ## ipv4-route.h: void ns3::Ipv4Route::SetGateway(ns3::Ipv4Address gw) [member function] + cls.add_method('SetGateway', + 'void', + [param('ns3::Ipv4Address', 'gw')]) + ## ipv4-route.h: void ns3::Ipv4Route::SetOutputDevice(ns3::Ptr outputDevice) [member function] + cls.add_method('SetOutputDevice', + 'void', + [param('ns3::Ptr< ns3::NetDevice >', 'outputDevice')]) + ## ipv4-route.h: void ns3::Ipv4Route::SetSource(ns3::Ipv4Address src) [member function] + cls.add_method('SetSource', + 'void', + [param('ns3::Ipv4Address', 'src')]) + return + def register_Ns3Ipv4RoutingProtocol_methods(root_module, cls): ## ipv4-routing-protocol.h: ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol() [constructor] cls.add_constructor([]) @@ -4324,7 +3031,7 @@ def register_Ns3Ipv4RoutingProtocol_methods(root_module, cls): 'void', [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], is_pure_virtual=True, is_virtual=True) - ## ipv4-routing-protocol.h: bool ns3::Ipv4RoutingProtocol::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback,const ns3::Ipv4Header&,ns3::Socket::SocketErrno,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function] + ## ipv4-routing-protocol.h: bool ns3::Ipv4RoutingProtocol::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, 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')], @@ -4465,6 +3172,134 @@ def register_Ns3Ipv6_methods(root_module, cls): is_pure_virtual=True, visibility='private', is_virtual=True) return +def register_Ns3Ipv6AddressChecker_methods(root_module, cls): + ## ipv6-address.h: ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor] + cls.add_constructor([]) + ## ipv6-address.h: ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')]) + return + +def register_Ns3Ipv6AddressValue_methods(root_module, cls): + ## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor] + cls.add_constructor([]) + ## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')]) + ## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor] + cls.add_constructor([param('ns3::Ipv6Address const &', 'value')]) + ## ipv6-address.h: ns3::Ptr ns3::Ipv6AddressValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## ipv6-address.h: bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] + cls.add_method('DeserializeFromString', + 'bool', + [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_virtual=True) + ## ipv6-address.h: ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function] + cls.add_method('Get', + 'ns3::Ipv6Address', + [], + is_const=True) + ## ipv6-address.h: std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr checker) const [member function] + cls.add_method('SerializeToString', + 'std::string', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True, is_virtual=True) + ## ipv6-address.h: void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::Ipv6Address const &', 'value')]) + return + +def register_Ns3Ipv6MulticastRoute_methods(root_module, cls): + cls.add_output_stream_operator() + ## ipv6-route.h: ns3::Ipv6MulticastRoute::Ipv6MulticastRoute(ns3::Ipv6MulticastRoute const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv6MulticastRoute const &', 'arg0')]) + ## ipv6-route.h: ns3::Ipv6MulticastRoute::Ipv6MulticastRoute() [constructor] + cls.add_constructor([]) + ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6MulticastRoute::GetGroup() const [member function] + cls.add_method('GetGroup', + 'ns3::Ipv6Address', + [], + is_const=True) + ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6MulticastRoute::GetOrigin() const [member function] + cls.add_method('GetOrigin', + 'ns3::Ipv6Address', + [], + is_const=True) + ## ipv6-route.h: uint32_t ns3::Ipv6MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] + cls.add_method('GetOutputTtl', + 'uint32_t', + [param('uint32_t', 'oif')], + is_const=True) + ## ipv6-route.h: uint32_t ns3::Ipv6MulticastRoute::GetParent() const [member function] + cls.add_method('GetParent', + 'uint32_t', + [], + is_const=True) + ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetGroup(ns3::Ipv6Address const group) [member function] + cls.add_method('SetGroup', + 'void', + [param('ns3::Ipv6Address const', 'group')]) + ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetOrigin(ns3::Ipv6Address const origin) [member function] + cls.add_method('SetOrigin', + 'void', + [param('ns3::Ipv6Address const', 'origin')]) + ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetOutputTtl(uint32_t oif, uint32_t ttl) [member function] + cls.add_method('SetOutputTtl', + 'void', + [param('uint32_t', 'oif'), param('uint32_t', 'ttl')]) + ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetParent(uint32_t iif) [member function] + cls.add_method('SetParent', + 'void', + [param('uint32_t', 'iif')]) + ## ipv6-route.h: ns3::Ipv6MulticastRoute::MAX_INTERFACES [variable] + cls.add_static_attribute('MAX_INTERFACES', 'uint32_t const', is_const=True) + ## ipv6-route.h: ns3::Ipv6MulticastRoute::MAX_TTL [variable] + cls.add_static_attribute('MAX_TTL', 'uint32_t const', is_const=True) + return + +def register_Ns3Ipv6PrefixChecker_methods(root_module, cls): + ## ipv6-address.h: ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor] + cls.add_constructor([]) + ## ipv6-address.h: ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')]) + return + +def register_Ns3Ipv6PrefixValue_methods(root_module, cls): + ## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor] + cls.add_constructor([]) + ## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')]) + ## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor] + cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')]) + ## ipv6-address.h: ns3::Ptr ns3::Ipv6PrefixValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## ipv6-address.h: bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] + cls.add_method('DeserializeFromString', + 'bool', + [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_virtual=True) + ## ipv6-address.h: ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function] + cls.add_method('Get', + 'ns3::Ipv6Prefix', + [], + is_const=True) + ## ipv6-address.h: std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr checker) const [member function] + cls.add_method('SerializeToString', + 'std::string', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True, is_virtual=True) + ## ipv6-address.h: void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::Ipv6Prefix const &', 'value')]) + return + def register_Ns3Ipv6RawSocketFactory_methods(root_module, cls): ## ipv6-raw-socket-factory.h: ns3::Ipv6RawSocketFactory::Ipv6RawSocketFactory() [constructor] cls.add_constructor([]) @@ -4477,6 +3312,50 @@ def register_Ns3Ipv6RawSocketFactory_methods(root_module, cls): is_static=True) return +def register_Ns3Ipv6Route_methods(root_module, cls): + cls.add_output_stream_operator() + ## ipv6-route.h: ns3::Ipv6Route::Ipv6Route(ns3::Ipv6Route const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv6Route const &', 'arg0')]) + ## ipv6-route.h: ns3::Ipv6Route::Ipv6Route() [constructor] + cls.add_constructor([]) + ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6Route::GetDestination() const [member function] + cls.add_method('GetDestination', + 'ns3::Ipv6Address', + [], + is_const=True) + ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6Route::GetGateway() const [member function] + cls.add_method('GetGateway', + 'ns3::Ipv6Address', + [], + is_const=True) + ## ipv6-route.h: ns3::Ptr ns3::Ipv6Route::GetOutputDevice() const [member function] + cls.add_method('GetOutputDevice', + 'ns3::Ptr< ns3::NetDevice >', + [], + is_const=True) + ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6Route::GetSource() const [member function] + cls.add_method('GetSource', + 'ns3::Ipv6Address', + [], + is_const=True) + ## ipv6-route.h: void ns3::Ipv6Route::SetDestination(ns3::Ipv6Address dest) [member function] + cls.add_method('SetDestination', + 'void', + [param('ns3::Ipv6Address', 'dest')]) + ## ipv6-route.h: void ns3::Ipv6Route::SetGateway(ns3::Ipv6Address gw) [member function] + cls.add_method('SetGateway', + 'void', + [param('ns3::Ipv6Address', 'gw')]) + ## ipv6-route.h: void ns3::Ipv6Route::SetOutputDevice(ns3::Ptr outputDevice) [member function] + cls.add_method('SetOutputDevice', + 'void', + [param('ns3::Ptr< ns3::NetDevice >', 'outputDevice')]) + ## ipv6-route.h: void ns3::Ipv6Route::SetSource(ns3::Ipv6Address src) [member function] + cls.add_method('SetSource', + 'void', + [param('ns3::Ipv6Address', 'src')]) + return + def register_Ns3Ipv6RoutingProtocol_methods(root_module, cls): ## ipv6-routing-protocol.h: ns3::Ipv6RoutingProtocol::Ipv6RoutingProtocol() [constructor] cls.add_constructor([]) @@ -4534,6 +3413,46 @@ def register_Ns3Ipv6RoutingProtocol_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return +def register_Ns3Mac48AddressChecker_methods(root_module, cls): + ## mac48-address.h: ns3::Mac48AddressChecker::Mac48AddressChecker() [constructor] + cls.add_constructor([]) + ## mac48-address.h: ns3::Mac48AddressChecker::Mac48AddressChecker(ns3::Mac48AddressChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Mac48AddressChecker const &', 'arg0')]) + return + +def register_Ns3Mac48AddressValue_methods(root_module, cls): + ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue() [constructor] + cls.add_constructor([]) + ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48AddressValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Mac48AddressValue const &', 'arg0')]) + ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48Address const & value) [constructor] + cls.add_constructor([param('ns3::Mac48Address const &', 'value')]) + ## mac48-address.h: ns3::Ptr ns3::Mac48AddressValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## mac48-address.h: bool ns3::Mac48AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] + cls.add_method('DeserializeFromString', + 'bool', + [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_virtual=True) + ## mac48-address.h: ns3::Mac48Address ns3::Mac48AddressValue::Get() const [member function] + cls.add_method('Get', + 'ns3::Mac48Address', + [], + is_const=True) + ## mac48-address.h: std::string ns3::Mac48AddressValue::SerializeToString(ns3::Ptr checker) const [member function] + cls.add_method('SerializeToString', + 'std::string', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True, is_virtual=True) + ## mac48-address.h: void ns3::Mac48AddressValue::Set(ns3::Mac48Address const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::Mac48Address const &', 'value')]) + return + def register_Ns3NetDevice_methods(root_module, cls): ## net-device.h: ns3::NetDevice::NetDevice() [constructor] cls.add_constructor([]) @@ -4734,6 +3653,11 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) + ## node.h: void ns3::Node::DoStart() [member function] + cls.add_method('DoStart', + 'void', + [], + visibility='protected', is_virtual=True) ## node.h: void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] cls.add_method('NotifyDeviceAdded', 'void', @@ -4758,6 +3682,996 @@ def register_Ns3PacketSocketFactory_methods(root_module, cls): is_static=True) return +def register_Ns3PbbAddressBlock_methods(root_module, cls): + cls.add_binary_comparison_operator('==') + cls.add_binary_comparison_operator('!=') + ## packetbb.h: ns3::PbbAddressBlock::PbbAddressBlock(ns3::PbbAddressBlock const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbAddressBlock const &', 'arg0')]) + ## packetbb.h: ns3::PbbAddressBlock::PbbAddressBlock() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::Address ns3::PbbAddressBlock::AddressBack() const [member function] + cls.add_method('AddressBack', + 'ns3::Address', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressBegin() [member function] + cls.add_method('AddressBegin', + 'std::_List_iterator< ns3::Address >', + []) + ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::AddressBegin() const [member function] + cls.add_method('AddressBegin', + 'std::_List_const_iterator< ns3::Address >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::AddressClear() [member function] + cls.add_method('AddressClear', + 'void', + []) + ## packetbb.h: bool ns3::PbbAddressBlock::AddressEmpty() const [member function] + cls.add_method('AddressEmpty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressEnd() [member function] + cls.add_method('AddressEnd', + 'std::_List_iterator< ns3::Address >', + []) + ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::AddressEnd() const [member function] + cls.add_method('AddressEnd', + 'std::_List_const_iterator< ns3::Address >', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressErase(std::_List_iterator position) [member function] + cls.add_method('AddressErase', + 'std::_List_iterator< ns3::Address >', + [param('std::_List_iterator< ns3::Address >', 'position')]) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressErase(std::_List_iterator first, std::_List_iterator last) [member function] + cls.add_method('AddressErase', + 'std::_List_iterator< ns3::Address >', + [param('std::_List_iterator< ns3::Address >', 'first'), param('std::_List_iterator< ns3::Address >', 'last')]) + ## packetbb.h: ns3::Address ns3::PbbAddressBlock::AddressFront() const [member function] + cls.add_method('AddressFront', + 'ns3::Address', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressInsert(std::_List_iterator position, ns3::Address const value) [member function] + cls.add_method('AddressInsert', + 'std::_List_iterator< ns3::Address >', + [param('std::_List_iterator< ns3::Address >', 'position'), param('ns3::Address const', 'value')]) + ## packetbb.h: void ns3::PbbAddressBlock::AddressPopBack() [member function] + cls.add_method('AddressPopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbAddressBlock::AddressPopFront() [member function] + cls.add_method('AddressPopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbAddressBlock::AddressPushBack(ns3::Address address) [member function] + cls.add_method('AddressPushBack', + 'void', + [param('ns3::Address', 'address')]) + ## packetbb.h: void ns3::PbbAddressBlock::AddressPushFront(ns3::Address address) [member function] + cls.add_method('AddressPushFront', + 'void', + [param('ns3::Address', 'address')]) + ## packetbb.h: int ns3::PbbAddressBlock::AddressSize() const [member function] + cls.add_method('AddressSize', + 'int', + [], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::Deserialize(ns3::Buffer::Iterator & start) [member function] + cls.add_method('Deserialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')]) + ## packetbb.h: uint32_t ns3::PbbAddressBlock::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True) + ## packetbb.h: uint8_t ns3::PbbAddressBlock::PrefixBack() const [member function] + cls.add_method('PrefixBack', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixBegin() [member function] + cls.add_method('PrefixBegin', + 'std::_List_iterator< unsigned char >', + []) + ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::PrefixBegin() const [member function] + cls.add_method('PrefixBegin', + 'std::_List_const_iterator< unsigned char >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::PrefixClear() [member function] + cls.add_method('PrefixClear', + 'void', + []) + ## packetbb.h: bool ns3::PbbAddressBlock::PrefixEmpty() const [member function] + cls.add_method('PrefixEmpty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixEnd() [member function] + cls.add_method('PrefixEnd', + 'std::_List_iterator< unsigned char >', + []) + ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::PrefixEnd() const [member function] + cls.add_method('PrefixEnd', + 'std::_List_const_iterator< unsigned char >', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixErase(std::_List_iterator position) [member function] + cls.add_method('PrefixErase', + 'std::_List_iterator< unsigned char >', + [param('std::_List_iterator< unsigned char >', 'position')]) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixErase(std::_List_iterator first, std::_List_iterator last) [member function] + cls.add_method('PrefixErase', + 'std::_List_iterator< unsigned char >', + [param('std::_List_iterator< unsigned char >', 'first'), param('std::_List_iterator< unsigned char >', 'last')]) + ## packetbb.h: uint8_t ns3::PbbAddressBlock::PrefixFront() const [member function] + cls.add_method('PrefixFront', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixInsert(std::_List_iterator position, uint8_t const value) [member function] + cls.add_method('PrefixInsert', + 'std::_List_iterator< unsigned char >', + [param('std::_List_iterator< unsigned char >', 'position'), param('uint8_t const', 'value')]) + ## packetbb.h: void ns3::PbbAddressBlock::PrefixPopBack() [member function] + cls.add_method('PrefixPopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbAddressBlock::PrefixPopFront() [member function] + cls.add_method('PrefixPopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbAddressBlock::PrefixPushBack(uint8_t prefix) [member function] + cls.add_method('PrefixPushBack', + 'void', + [param('uint8_t', 'prefix')]) + ## packetbb.h: void ns3::PbbAddressBlock::PrefixPushFront(uint8_t prefix) [member function] + cls.add_method('PrefixPushFront', + 'void', + [param('uint8_t', 'prefix')]) + ## packetbb.h: int ns3::PbbAddressBlock::PrefixSize() const [member function] + cls.add_method('PrefixSize', + 'int', + [], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::Print(std::ostream & os, int level) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os'), param('int', 'level')], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::Serialize(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True) + ## packetbb.h: ns3::Ptr ns3::PbbAddressBlock::TlvBack() [member function] + cls.add_method('TlvBack', + 'ns3::Ptr< ns3::PbbAddressTlv >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbAddressBlock::TlvBack() const [member function] + cls.add_method('TlvBack', + 'ns3::Ptr< ns3::PbbAddressTlv > const', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvBegin() [member function] + cls.add_method('TlvBegin', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressBlock::TlvBegin() const [member function] + cls.add_method('TlvBegin', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::TlvClear() [member function] + cls.add_method('TlvClear', + 'void', + []) + ## packetbb.h: bool ns3::PbbAddressBlock::TlvEmpty() const [member function] + cls.add_method('TlvEmpty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvEnd() [member function] + cls.add_method('TlvEnd', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressBlock::TlvEnd() const [member function] + cls.add_method('TlvEnd', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvErase(std::_List_iterator > position) [member function] + cls.add_method('TlvErase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position')]) + ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvErase(std::_List_iterator > first, std::_List_iterator > last) [member function] + cls.add_method('TlvErase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'last')]) + ## packetbb.h: ns3::Ptr ns3::PbbAddressBlock::TlvFront() [member function] + cls.add_method('TlvFront', + 'ns3::Ptr< ns3::PbbAddressTlv >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbAddressBlock::TlvFront() const [member function] + cls.add_method('TlvFront', + 'ns3::Ptr< ns3::PbbAddressTlv > const', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvInsert(std::_List_iterator > position, ns3::Ptr const value) [member function] + cls.add_method('TlvInsert', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position'), param('ns3::Ptr< ns3::PbbTlv > const', 'value')]) + ## packetbb.h: void ns3::PbbAddressBlock::TlvPopBack() [member function] + cls.add_method('TlvPopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbAddressBlock::TlvPopFront() [member function] + cls.add_method('TlvPopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbAddressBlock::TlvPushBack(ns3::Ptr address) [member function] + cls.add_method('TlvPushBack', + 'void', + [param('ns3::Ptr< ns3::PbbAddressTlv >', 'address')]) + ## packetbb.h: void ns3::PbbAddressBlock::TlvPushFront(ns3::Ptr address) [member function] + cls.add_method('TlvPushFront', + 'void', + [param('ns3::Ptr< ns3::PbbAddressTlv >', 'address')]) + ## packetbb.h: int ns3::PbbAddressBlock::TlvSize() const [member function] + cls.add_method('TlvSize', + 'int', + [], + is_const=True) + ## packetbb.h: ns3::Address ns3::PbbAddressBlock::DeserializeAddress(uint8_t * buffer) const [member function] + cls.add_method('DeserializeAddress', + 'ns3::Address', + [param('uint8_t *', 'buffer')], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: uint8_t ns3::PbbAddressBlock::GetAddressLength() const [member function] + cls.add_method('GetAddressLength', + 'uint8_t', + [], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbAddressBlock::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function] + cls.add_method('PrintAddress', + 'void', + [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbAddressBlock::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function] + cls.add_method('SerializeAddress', + 'void', + [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + return + +def register_Ns3PbbAddressBlockIpv4_methods(root_module, cls): + ## packetbb.h: ns3::PbbAddressBlockIpv4::PbbAddressBlockIpv4(ns3::PbbAddressBlockIpv4 const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbAddressBlockIpv4 const &', 'arg0')]) + ## packetbb.h: ns3::PbbAddressBlockIpv4::PbbAddressBlockIpv4() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::Address ns3::PbbAddressBlockIpv4::DeserializeAddress(uint8_t * buffer) const [member function] + cls.add_method('DeserializeAddress', + 'ns3::Address', + [param('uint8_t *', 'buffer')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: uint8_t ns3::PbbAddressBlockIpv4::GetAddressLength() const [member function] + cls.add_method('GetAddressLength', + 'uint8_t', + [], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbAddressBlockIpv4::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function] + cls.add_method('PrintAddress', + 'void', + [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbAddressBlockIpv4::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function] + cls.add_method('SerializeAddress', + 'void', + [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')], + is_const=True, visibility='protected', is_virtual=True) + return + +def register_Ns3PbbAddressBlockIpv6_methods(root_module, cls): + ## packetbb.h: ns3::PbbAddressBlockIpv6::PbbAddressBlockIpv6(ns3::PbbAddressBlockIpv6 const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbAddressBlockIpv6 const &', 'arg0')]) + ## packetbb.h: ns3::PbbAddressBlockIpv6::PbbAddressBlockIpv6() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::Address ns3::PbbAddressBlockIpv6::DeserializeAddress(uint8_t * buffer) const [member function] + cls.add_method('DeserializeAddress', + 'ns3::Address', + [param('uint8_t *', 'buffer')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: uint8_t ns3::PbbAddressBlockIpv6::GetAddressLength() const [member function] + cls.add_method('GetAddressLength', + 'uint8_t', + [], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbAddressBlockIpv6::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function] + cls.add_method('PrintAddress', + 'void', + [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbAddressBlockIpv6::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function] + cls.add_method('SerializeAddress', + 'void', + [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')], + is_const=True, visibility='protected', is_virtual=True) + return + +def register_Ns3PbbMessage_methods(root_module, cls): + cls.add_binary_comparison_operator('==') + cls.add_binary_comparison_operator('!=') + ## packetbb.h: ns3::PbbMessage::PbbMessage(ns3::PbbMessage const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbMessage const &', 'arg0')]) + ## packetbb.h: ns3::PbbMessage::PbbMessage() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::Ptr ns3::PbbMessage::AddressBlockBack() [member function] + cls.add_method('AddressBlockBack', + 'ns3::Ptr< ns3::PbbAddressBlock >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbMessage::AddressBlockBack() const [member function] + cls.add_method('AddressBlockBack', + 'ns3::Ptr< ns3::PbbAddressBlock > const', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockBegin() [member function] + cls.add_method('AddressBlockBegin', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::AddressBlockBegin() const [member function] + cls.add_method('AddressBlockBegin', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::AddressBlockClear() [member function] + cls.add_method('AddressBlockClear', + 'void', + []) + ## packetbb.h: bool ns3::PbbMessage::AddressBlockEmpty() const [member function] + cls.add_method('AddressBlockEmpty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockEnd() [member function] + cls.add_method('AddressBlockEnd', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::AddressBlockEnd() const [member function] + cls.add_method('AddressBlockEnd', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockErase(std::_List_iterator > position) [member function] + cls.add_method('AddressBlockErase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', 'position')]) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockErase(std::_List_iterator > first, std::_List_iterator > last) [member function] + cls.add_method('AddressBlockErase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', 'last')]) + ## packetbb.h: ns3::Ptr ns3::PbbMessage::AddressBlockFront() [member function] + cls.add_method('AddressBlockFront', + 'ns3::Ptr< ns3::PbbAddressBlock >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbMessage::AddressBlockFront() const [member function] + cls.add_method('AddressBlockFront', + 'ns3::Ptr< ns3::PbbAddressBlock > const', + [], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::AddressBlockPopBack() [member function] + cls.add_method('AddressBlockPopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbMessage::AddressBlockPopFront() [member function] + cls.add_method('AddressBlockPopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbMessage::AddressBlockPushBack(ns3::Ptr block) [member function] + cls.add_method('AddressBlockPushBack', + 'void', + [param('ns3::Ptr< ns3::PbbAddressBlock >', 'block')]) + ## packetbb.h: void ns3::PbbMessage::AddressBlockPushFront(ns3::Ptr block) [member function] + cls.add_method('AddressBlockPushFront', + 'void', + [param('ns3::Ptr< ns3::PbbAddressBlock >', 'block')]) + ## packetbb.h: int ns3::PbbMessage::AddressBlockSize() const [member function] + cls.add_method('AddressBlockSize', + 'int', + [], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::Deserialize(ns3::Buffer::Iterator & start) [member function] + cls.add_method('Deserialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')]) + ## packetbb.h: static ns3::Ptr ns3::PbbMessage::DeserializeMessage(ns3::Buffer::Iterator & start) [member function] + cls.add_method('DeserializeMessage', + 'ns3::Ptr< ns3::PbbMessage >', + [param('ns3::Buffer::Iterator &', 'start')], + is_static=True) + ## packetbb.h: uint8_t ns3::PbbMessage::GetHopCount() const [member function] + cls.add_method('GetHopCount', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: uint8_t ns3::PbbMessage::GetHopLimit() const [member function] + cls.add_method('GetHopLimit', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: ns3::Address ns3::PbbMessage::GetOriginatorAddress() const [member function] + cls.add_method('GetOriginatorAddress', + 'ns3::Address', + [], + is_const=True) + ## packetbb.h: uint16_t ns3::PbbMessage::GetSequenceNumber() const [member function] + cls.add_method('GetSequenceNumber', + 'uint16_t', + [], + is_const=True) + ## packetbb.h: uint32_t ns3::PbbMessage::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True) + ## packetbb.h: uint8_t ns3::PbbMessage::GetType() const [member function] + cls.add_method('GetType', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbMessage::HasHopCount() const [member function] + cls.add_method('HasHopCount', + 'bool', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbMessage::HasHopLimit() const [member function] + cls.add_method('HasHopLimit', + 'bool', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbMessage::HasOriginatorAddress() const [member function] + cls.add_method('HasOriginatorAddress', + 'bool', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbMessage::HasSequenceNumber() const [member function] + cls.add_method('HasSequenceNumber', + 'bool', + [], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::Print(std::ostream & os, int level) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os'), param('int', 'level')], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::Serialize(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::SetHopCount(uint8_t hopcount) [member function] + cls.add_method('SetHopCount', + 'void', + [param('uint8_t', 'hopcount')]) + ## packetbb.h: void ns3::PbbMessage::SetHopLimit(uint8_t hoplimit) [member function] + cls.add_method('SetHopLimit', + 'void', + [param('uint8_t', 'hoplimit')]) + ## packetbb.h: void ns3::PbbMessage::SetOriginatorAddress(ns3::Address address) [member function] + cls.add_method('SetOriginatorAddress', + 'void', + [param('ns3::Address', 'address')]) + ## packetbb.h: void ns3::PbbMessage::SetSequenceNumber(uint16_t seqnum) [member function] + cls.add_method('SetSequenceNumber', + 'void', + [param('uint16_t', 'seqnum')]) + ## packetbb.h: void ns3::PbbMessage::SetType(uint8_t type) [member function] + cls.add_method('SetType', + 'void', + [param('uint8_t', 'type')]) + ## packetbb.h: ns3::Ptr ns3::PbbMessage::TlvBack() [member function] + cls.add_method('TlvBack', + 'ns3::Ptr< ns3::PbbTlv >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbMessage::TlvBack() const [member function] + cls.add_method('TlvBack', + 'ns3::Ptr< ns3::PbbTlv > const', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvBegin() [member function] + cls.add_method('TlvBegin', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::TlvBegin() const [member function] + cls.add_method('TlvBegin', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::TlvClear() [member function] + cls.add_method('TlvClear', + 'void', + []) + ## packetbb.h: bool ns3::PbbMessage::TlvEmpty() const [member function] + cls.add_method('TlvEmpty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvEnd() [member function] + cls.add_method('TlvEnd', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::TlvEnd() const [member function] + cls.add_method('TlvEnd', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvErase(std::_List_iterator > position) [member function] + cls.add_method('TlvErase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'position')]) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvErase(std::_List_iterator > first, std::_List_iterator > last) [member function] + cls.add_method('TlvErase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'last')]) + ## packetbb.h: ns3::Ptr ns3::PbbMessage::TlvFront() [member function] + cls.add_method('TlvFront', + 'ns3::Ptr< ns3::PbbTlv >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbMessage::TlvFront() const [member function] + cls.add_method('TlvFront', + 'ns3::Ptr< ns3::PbbTlv > const', + [], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::TlvPopBack() [member function] + cls.add_method('TlvPopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbMessage::TlvPopFront() [member function] + cls.add_method('TlvPopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbMessage::TlvPushBack(ns3::Ptr tlv) [member function] + cls.add_method('TlvPushBack', + 'void', + [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) + ## packetbb.h: void ns3::PbbMessage::TlvPushFront(ns3::Ptr tlv) [member function] + cls.add_method('TlvPushFront', + 'void', + [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) + ## packetbb.h: int ns3::PbbMessage::TlvSize() const [member function] + cls.add_method('TlvSize', + 'int', + [], + is_const=True) + ## packetbb.h: ns3::Ptr ns3::PbbMessage::AddressBlockDeserialize(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('AddressBlockDeserialize', + 'ns3::Ptr< ns3::PbbAddressBlock >', + [param('ns3::Buffer::Iterator &', 'start')], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: ns3::Address ns3::PbbMessage::DeserializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('DeserializeOriginatorAddress', + 'ns3::Address', + [param('ns3::Buffer::Iterator &', 'start')], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: ns3::PbbAddressLength ns3::PbbMessage::GetAddressLength() const [member function] + cls.add_method('GetAddressLength', + 'ns3::PbbAddressLength', + [], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbMessage::PrintOriginatorAddress(std::ostream & os) const [member function] + cls.add_method('PrintOriginatorAddress', + 'void', + [param('std::ostream &', 'os')], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbMessage::SerializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('SerializeOriginatorAddress', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + return + +def register_Ns3PbbMessageIpv4_methods(root_module, cls): + ## packetbb.h: ns3::PbbMessageIpv4::PbbMessageIpv4(ns3::PbbMessageIpv4 const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbMessageIpv4 const &', 'arg0')]) + ## packetbb.h: ns3::PbbMessageIpv4::PbbMessageIpv4() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::Ptr ns3::PbbMessageIpv4::AddressBlockDeserialize(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('AddressBlockDeserialize', + 'ns3::Ptr< ns3::PbbAddressBlock >', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: ns3::Address ns3::PbbMessageIpv4::DeserializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('DeserializeOriginatorAddress', + 'ns3::Address', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: ns3::PbbAddressLength ns3::PbbMessageIpv4::GetAddressLength() const [member function] + cls.add_method('GetAddressLength', + 'ns3::PbbAddressLength', + [], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbMessageIpv4::PrintOriginatorAddress(std::ostream & os) const [member function] + cls.add_method('PrintOriginatorAddress', + 'void', + [param('std::ostream &', 'os')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbMessageIpv4::SerializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('SerializeOriginatorAddress', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True, visibility='protected', is_virtual=True) + return + +def register_Ns3PbbMessageIpv6_methods(root_module, cls): + ## packetbb.h: ns3::PbbMessageIpv6::PbbMessageIpv6(ns3::PbbMessageIpv6 const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbMessageIpv6 const &', 'arg0')]) + ## packetbb.h: ns3::PbbMessageIpv6::PbbMessageIpv6() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::Ptr ns3::PbbMessageIpv6::AddressBlockDeserialize(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('AddressBlockDeserialize', + 'ns3::Ptr< ns3::PbbAddressBlock >', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: ns3::Address ns3::PbbMessageIpv6::DeserializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('DeserializeOriginatorAddress', + 'ns3::Address', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: ns3::PbbAddressLength ns3::PbbMessageIpv6::GetAddressLength() const [member function] + cls.add_method('GetAddressLength', + 'ns3::PbbAddressLength', + [], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbMessageIpv6::PrintOriginatorAddress(std::ostream & os) const [member function] + cls.add_method('PrintOriginatorAddress', + 'void', + [param('std::ostream &', 'os')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbMessageIpv6::SerializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('SerializeOriginatorAddress', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True, visibility='protected', is_virtual=True) + return + +def register_Ns3PbbPacket_methods(root_module, cls): + cls.add_binary_comparison_operator('==') + cls.add_binary_comparison_operator('!=') + ## packetbb.h: ns3::PbbPacket::PbbPacket(ns3::PbbPacket const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbPacket const &', 'arg0')]) + ## packetbb.h: ns3::PbbPacket::PbbPacket() [constructor] + cls.add_constructor([]) + ## packetbb.h: uint32_t ns3::PbbPacket::Deserialize(ns3::Buffer::Iterator start) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'start')], + is_virtual=True) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > position) [member function] + cls.add_method('Erase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'position')]) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > first, std::_List_iterator > last) [member function] + cls.add_method('Erase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'last')]) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > position) [member function] + cls.add_method('Erase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', 'position')]) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > first, std::_List_iterator > last) [member function] + cls.add_method('Erase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', 'last')]) + ## packetbb.h: ns3::TypeId ns3::PbbPacket::GetInstanceTypeId() const [member function] + cls.add_method('GetInstanceTypeId', + 'ns3::TypeId', + [], + is_const=True, is_virtual=True) + ## packetbb.h: uint16_t ns3::PbbPacket::GetSequenceNumber() const [member function] + cls.add_method('GetSequenceNumber', + 'uint16_t', + [], + is_const=True) + ## packetbb.h: uint32_t ns3::PbbPacket::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## packetbb.h: static ns3::TypeId ns3::PbbPacket::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## packetbb.h: uint8_t ns3::PbbPacket::GetVersion() const [member function] + cls.add_method('GetVersion', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbPacket::HasSequenceNumber() const [member function] + cls.add_method('HasSequenceNumber', + 'bool', + [], + is_const=True) + ## packetbb.h: ns3::Ptr ns3::PbbPacket::MessageBack() [member function] + cls.add_method('MessageBack', + 'ns3::Ptr< ns3::PbbMessage >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbPacket::MessageBack() const [member function] + cls.add_method('MessageBack', + 'ns3::Ptr< ns3::PbbMessage > const', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::MessageBegin() [member function] + cls.add_method('MessageBegin', + 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::MessageBegin() const [member function] + cls.add_method('MessageBegin', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbMessage > >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbPacket::MessageClear() [member function] + cls.add_method('MessageClear', + 'void', + []) + ## packetbb.h: bool ns3::PbbPacket::MessageEmpty() const [member function] + cls.add_method('MessageEmpty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::MessageEnd() [member function] + cls.add_method('MessageEnd', + 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::MessageEnd() const [member function] + cls.add_method('MessageEnd', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbMessage > >', + [], + is_const=True) + ## packetbb.h: ns3::Ptr ns3::PbbPacket::MessageFront() [member function] + cls.add_method('MessageFront', + 'ns3::Ptr< ns3::PbbMessage >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbPacket::MessageFront() const [member function] + cls.add_method('MessageFront', + 'ns3::Ptr< ns3::PbbMessage > const', + [], + is_const=True) + ## packetbb.h: void ns3::PbbPacket::MessagePopBack() [member function] + cls.add_method('MessagePopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbPacket::MessagePopFront() [member function] + cls.add_method('MessagePopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbPacket::MessagePushBack(ns3::Ptr message) [member function] + cls.add_method('MessagePushBack', + 'void', + [param('ns3::Ptr< ns3::PbbMessage >', 'message')]) + ## packetbb.h: void ns3::PbbPacket::MessagePushFront(ns3::Ptr message) [member function] + cls.add_method('MessagePushFront', + 'void', + [param('ns3::Ptr< ns3::PbbMessage >', 'message')]) + ## packetbb.h: int ns3::PbbPacket::MessageSize() const [member function] + cls.add_method('MessageSize', + 'int', + [], + is_const=True) + ## packetbb.h: void ns3::PbbPacket::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, is_virtual=True) + ## packetbb.h: void ns3::PbbPacket::Serialize(ns3::Buffer::Iterator start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator', 'start')], + is_const=True, is_virtual=True) + ## packetbb.h: void ns3::PbbPacket::SetSequenceNumber(uint16_t number) [member function] + cls.add_method('SetSequenceNumber', + 'void', + [param('uint16_t', 'number')]) + ## packetbb.h: ns3::Ptr ns3::PbbPacket::TlvBack() [member function] + cls.add_method('TlvBack', + 'ns3::Ptr< ns3::PbbTlv >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbPacket::TlvBack() const [member function] + cls.add_method('TlvBack', + 'ns3::Ptr< ns3::PbbTlv > const', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::TlvBegin() [member function] + cls.add_method('TlvBegin', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::TlvBegin() const [member function] + cls.add_method('TlvBegin', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbPacket::TlvClear() [member function] + cls.add_method('TlvClear', + 'void', + []) + ## packetbb.h: bool ns3::PbbPacket::TlvEmpty() const [member function] + cls.add_method('TlvEmpty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::TlvEnd() [member function] + cls.add_method('TlvEnd', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::TlvEnd() const [member function] + cls.add_method('TlvEnd', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', + [], + is_const=True) + ## packetbb.h: ns3::Ptr ns3::PbbPacket::TlvFront() [member function] + cls.add_method('TlvFront', + 'ns3::Ptr< ns3::PbbTlv >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbPacket::TlvFront() const [member function] + cls.add_method('TlvFront', + 'ns3::Ptr< ns3::PbbTlv > const', + [], + is_const=True) + ## packetbb.h: void ns3::PbbPacket::TlvPopBack() [member function] + cls.add_method('TlvPopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbPacket::TlvPopFront() [member function] + cls.add_method('TlvPopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbPacket::TlvPushBack(ns3::Ptr tlv) [member function] + cls.add_method('TlvPushBack', + 'void', + [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) + ## packetbb.h: void ns3::PbbPacket::TlvPushFront(ns3::Ptr tlv) [member function] + cls.add_method('TlvPushFront', + 'void', + [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) + ## packetbb.h: int ns3::PbbPacket::TlvSize() const [member function] + cls.add_method('TlvSize', + 'int', + [], + is_const=True) + ## packetbb.h: void ns3::PbbPacket::SerializePacketTlv(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('SerializePacketTlv', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True, visibility='protected') + return + +def register_Ns3PbbTlv_methods(root_module, cls): + cls.add_binary_comparison_operator('==') + cls.add_binary_comparison_operator('!=') + ## packetbb.h: ns3::PbbTlv::PbbTlv(ns3::PbbTlv const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbTlv const &', 'arg0')]) + ## packetbb.h: ns3::PbbTlv::PbbTlv() [constructor] + cls.add_constructor([]) + ## packetbb.h: void ns3::PbbTlv::Deserialize(ns3::Buffer::Iterator & start) [member function] + cls.add_method('Deserialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')]) + ## packetbb.h: uint32_t ns3::PbbTlv::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True) + ## packetbb.h: uint8_t ns3::PbbTlv::GetType() const [member function] + cls.add_method('GetType', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: uint8_t ns3::PbbTlv::GetTypeExt() const [member function] + cls.add_method('GetTypeExt', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: ns3::Buffer ns3::PbbTlv::GetValue() const [member function] + cls.add_method('GetValue', + 'ns3::Buffer', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbTlv::HasTypeExt() const [member function] + cls.add_method('HasTypeExt', + 'bool', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbTlv::HasValue() const [member function] + cls.add_method('HasValue', + 'bool', + [], + is_const=True) + ## packetbb.h: void ns3::PbbTlv::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True) + ## packetbb.h: void ns3::PbbTlv::Print(std::ostream & os, int level) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os'), param('int', 'level')], + is_const=True) + ## packetbb.h: void ns3::PbbTlv::Serialize(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True) + ## packetbb.h: void ns3::PbbTlv::SetType(uint8_t type) [member function] + cls.add_method('SetType', + 'void', + [param('uint8_t', 'type')]) + ## packetbb.h: void ns3::PbbTlv::SetTypeExt(uint8_t type) [member function] + cls.add_method('SetTypeExt', + 'void', + [param('uint8_t', 'type')]) + ## packetbb.h: void ns3::PbbTlv::SetValue(ns3::Buffer start) [member function] + cls.add_method('SetValue', + 'void', + [param('ns3::Buffer', 'start')]) + ## packetbb.h: void ns3::PbbTlv::SetValue(uint8_t const * buffer, uint32_t size) [member function] + cls.add_method('SetValue', + 'void', + [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) + ## packetbb.h: uint8_t ns3::PbbTlv::GetIndexStart() const [member function] + cls.add_method('GetIndexStart', + 'uint8_t', + [], + is_const=True, visibility='protected') + ## packetbb.h: uint8_t ns3::PbbTlv::GetIndexStop() const [member function] + cls.add_method('GetIndexStop', + 'uint8_t', + [], + is_const=True, visibility='protected') + ## packetbb.h: bool ns3::PbbTlv::HasIndexStart() const [member function] + cls.add_method('HasIndexStart', + 'bool', + [], + is_const=True, visibility='protected') + ## packetbb.h: bool ns3::PbbTlv::HasIndexStop() const [member function] + cls.add_method('HasIndexStop', + 'bool', + [], + is_const=True, visibility='protected') + ## packetbb.h: bool ns3::PbbTlv::IsMultivalue() const [member function] + cls.add_method('IsMultivalue', + 'bool', + [], + is_const=True, visibility='protected') + ## packetbb.h: void ns3::PbbTlv::SetIndexStart(uint8_t index) [member function] + cls.add_method('SetIndexStart', + 'void', + [param('uint8_t', 'index')], + visibility='protected') + ## packetbb.h: void ns3::PbbTlv::SetIndexStop(uint8_t index) [member function] + cls.add_method('SetIndexStop', + 'void', + [param('uint8_t', 'index')], + visibility='protected') + ## packetbb.h: void ns3::PbbTlv::SetMultivalue(bool isMultivalue) [member function] + cls.add_method('SetMultivalue', + 'void', + [param('bool', 'isMultivalue')], + visibility='protected') + return + def register_Ns3SimpleChannel_methods(root_module, cls): ## simple-channel.h: ns3::SimpleChannel::SimpleChannel(ns3::SimpleChannel const & arg0) [copy constructor] cls.add_constructor([param('ns3::SimpleChannel const &', 'arg0')]) @@ -4933,6 +4847,90 @@ def register_Ns3SimpleNetDevice_methods(root_module, cls): visibility='protected', is_virtual=True) return +def register_Ns3AddressChecker_methods(root_module, cls): + ## address.h: ns3::AddressChecker::AddressChecker() [constructor] + cls.add_constructor([]) + ## address.h: ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')]) + return + +def register_Ns3AddressValue_methods(root_module, cls): + ## address.h: ns3::AddressValue::AddressValue() [constructor] + cls.add_constructor([]) + ## address.h: ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AddressValue const &', 'arg0')]) + ## address.h: ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor] + cls.add_constructor([param('ns3::Address const &', 'value')]) + ## address.h: ns3::Ptr ns3::AddressValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## address.h: bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] + cls.add_method('DeserializeFromString', + 'bool', + [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_virtual=True) + ## address.h: ns3::Address ns3::AddressValue::Get() const [member function] + cls.add_method('Get', + 'ns3::Address', + [], + is_const=True) + ## address.h: std::string ns3::AddressValue::SerializeToString(ns3::Ptr checker) const [member function] + cls.add_method('SerializeToString', + 'std::string', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True, is_virtual=True) + ## address.h: void ns3::AddressValue::Set(ns3::Address const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::Address const &', 'value')]) + return + +def register_Ns3PbbAddressTlv_methods(root_module, cls): + ## packetbb.h: ns3::PbbAddressTlv::PbbAddressTlv() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::PbbAddressTlv::PbbAddressTlv(ns3::PbbAddressTlv const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbAddressTlv const &', 'arg0')]) + ## packetbb.h: uint8_t ns3::PbbAddressTlv::GetIndexStart() const [member function] + cls.add_method('GetIndexStart', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: uint8_t ns3::PbbAddressTlv::GetIndexStop() const [member function] + cls.add_method('GetIndexStop', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbAddressTlv::HasIndexStart() const [member function] + cls.add_method('HasIndexStart', + 'bool', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbAddressTlv::HasIndexStop() const [member function] + cls.add_method('HasIndexStop', + 'bool', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbAddressTlv::IsMultivalue() const [member function] + cls.add_method('IsMultivalue', + 'bool', + [], + is_const=True) + ## packetbb.h: void ns3::PbbAddressTlv::SetIndexStart(uint8_t index) [member function] + cls.add_method('SetIndexStart', + 'void', + [param('uint8_t', 'index')]) + ## packetbb.h: void ns3::PbbAddressTlv::SetIndexStop(uint8_t index) [member function] + cls.add_method('SetIndexStop', + 'void', + [param('uint8_t', 'index')]) + ## packetbb.h: void ns3::PbbAddressTlv::SetMultivalue(bool isMultivalue) [member function] + cls.add_method('SetMultivalue', + 'void', + [param('bool', 'isMultivalue')]) + return + def register_functions(root_module): module = root_module ## address.h: extern ns3::Ptr ns3::MakeAddressChecker() [free function] @@ -4994,7 +4992,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) @@ -5013,9 +5013,15 @@ def register_functions_ns3_addressUtils(module, root_module): [param('ns3::Address const &', 'ad')]) 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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_olsr.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_olsr.py index c90959202..05d89bd07 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_olsr.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_olsr.py @@ -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 p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback,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 p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, 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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_onoff.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_onoff.py index d22c42dca..011c5194c 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_onoff.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_onoff.py @@ -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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_packet_sink.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_packet_sink.py index 49390d9ed..b6632d1ed 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_packet_sink.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_packet_sink.py @@ -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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_ping6.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_ping6.py index f66bb20fb..77f0004db 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_ping6.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_ping6.py @@ -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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_point_to_point.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_point_to_point.py index 72d3e567e..a29c75b73 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_point_to_point.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_point_to_point.py @@ -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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_radvd.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_radvd.py index aad164940..c229c4ea2 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_radvd.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_radvd.py @@ -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 [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::RadvdInterface', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [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 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 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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_simulator.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_simulator.py index 8f0850175..015e7725b 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_simulator.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_simulator.py @@ -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 [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 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 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 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 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::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 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 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 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 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::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 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 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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_static_routing.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_static_routing.py index 22b6f3c13..2efa13efa 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_static_routing.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_static_routing.py @@ -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 p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback,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 p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, 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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_stats.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_stats.py index bfd42eb05..7feee8904 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_stats.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_stats.py @@ -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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_tap_bridge.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_tap_bridge.py index cf1171490..e099ec615 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_tap_bridge.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_tap_bridge.py @@ -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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_test.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_test.py index b79f151cd..ed1deb333 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_test.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_test.py @@ -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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_udp_echo.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_udp_echo.py index b79097d2f..5375f7e72 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_udp_echo.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_udp_echo.py @@ -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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_v4ping.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_v4ping.py index b087bfb02..2b826a26a 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_v4ping.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_v4ping.py @@ -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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_virtual_net_device.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_virtual_net_device.py index f03bcc785..2eb7f66ad 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_virtual_net_device.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_virtual_net_device.py @@ -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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_wifi.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_wifi.py index 7d28518e3..90146f7b6 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_wifi.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_wifi.py @@ -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 [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::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 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 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::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 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 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::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 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 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::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 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 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 diff --git a/bindings/python/apidefs/gcc-ILP32/ns3modulegen_generated.py b/bindings/python/apidefs/gcc-ILP32/ns3modulegen_generated.py index 62dac471f..e67cf4619 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3modulegen_generated.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3modulegen_generated.py @@ -17,29 +17,31 @@ import ns3_module_simulator import ns3_module_test import ns3_module_mobility import ns3_module_common -import ns3_module_contrib import ns3_module_node -import ns3_module_tap_bridge -import ns3_module_v4ping -import ns3_module_static_routing -import ns3_module_packet_sink -import ns3_module_stats -import ns3_module_onoff +import ns3_module_contrib import ns3_module_point_to_point import ns3_module_internet_stack +import ns3_module_tap_bridge import ns3_module_csma -import ns3_module_list_routing -import ns3_module_virtual_net_device import ns3_module_wifi +import ns3_module_static_routing +import ns3_module_v4ping +import ns3_module_virtual_net_device +import ns3_module_packet_sink +import ns3_module_global_routing +import ns3_module_stats +import ns3_module_list_routing import ns3_module_emu import ns3_module_bridge -import ns3_module_global_routing +import ns3_module_onoff +import ns3_module_dpd import ns3_module_udp_echo +import ns3_module_ping6 import ns3_module_nix_vector_routing import ns3_module_olsr -import ns3_module_radvd -import ns3_module_ping6 +import ns3_module_aodv import ns3_module_flow_monitor +import ns3_module_radvd import ns3_module_mesh import ns3_module_helper import ns3_module_dot11s @@ -107,17 +109,6 @@ def register_types(module): ns3_module_common__local.register_types(module) root_module.end_section('ns3_module_common') - root_module.begin_section('ns3_module_contrib') - ns3_module_contrib.register_types(module) - - try: - import ns3_module_contrib__local - except ImportError: - pass - else: - ns3_module_contrib__local.register_types(module) - - root_module.end_section('ns3_module_contrib') root_module.begin_section('ns3_module_node') ns3_module_node.register_types(module) @@ -129,72 +120,17 @@ def register_types(module): ns3_module_node__local.register_types(module) root_module.end_section('ns3_module_node') - root_module.begin_section('ns3_module_tap_bridge') - ns3_module_tap_bridge.register_types(module) + root_module.begin_section('ns3_module_contrib') + ns3_module_contrib.register_types(module) try: - import ns3_module_tap_bridge__local + import ns3_module_contrib__local except ImportError: pass else: - ns3_module_tap_bridge__local.register_types(module) + ns3_module_contrib__local.register_types(module) - root_module.end_section('ns3_module_tap_bridge') - root_module.begin_section('ns3_module_v4ping') - ns3_module_v4ping.register_types(module) - - try: - import ns3_module_v4ping__local - except ImportError: - pass - else: - ns3_module_v4ping__local.register_types(module) - - root_module.end_section('ns3_module_v4ping') - root_module.begin_section('ns3_module_static_routing') - ns3_module_static_routing.register_types(module) - - try: - import ns3_module_static_routing__local - except ImportError: - pass - else: - ns3_module_static_routing__local.register_types(module) - - root_module.end_section('ns3_module_static_routing') - root_module.begin_section('ns3_module_packet_sink') - ns3_module_packet_sink.register_types(module) - - try: - import ns3_module_packet_sink__local - except ImportError: - pass - else: - ns3_module_packet_sink__local.register_types(module) - - root_module.end_section('ns3_module_packet_sink') - root_module.begin_section('ns3_module_stats') - ns3_module_stats.register_types(module) - - try: - import ns3_module_stats__local - except ImportError: - pass - else: - ns3_module_stats__local.register_types(module) - - root_module.end_section('ns3_module_stats') - root_module.begin_section('ns3_module_onoff') - ns3_module_onoff.register_types(module) - - try: - import ns3_module_onoff__local - except ImportError: - pass - else: - ns3_module_onoff__local.register_types(module) - - root_module.end_section('ns3_module_onoff') + root_module.end_section('ns3_module_contrib') root_module.begin_section('ns3_module_point_to_point') ns3_module_point_to_point.register_types(module) @@ -217,6 +153,17 @@ def register_types(module): ns3_module_internet_stack__local.register_types(module) root_module.end_section('ns3_module_internet_stack') + root_module.begin_section('ns3_module_tap_bridge') + ns3_module_tap_bridge.register_types(module) + + try: + import ns3_module_tap_bridge__local + except ImportError: + pass + else: + ns3_module_tap_bridge__local.register_types(module) + + root_module.end_section('ns3_module_tap_bridge') root_module.begin_section('ns3_module_csma') ns3_module_csma.register_types(module) @@ -228,28 +175,6 @@ def register_types(module): ns3_module_csma__local.register_types(module) root_module.end_section('ns3_module_csma') - root_module.begin_section('ns3_module_list_routing') - ns3_module_list_routing.register_types(module) - - try: - import ns3_module_list_routing__local - except ImportError: - pass - else: - ns3_module_list_routing__local.register_types(module) - - root_module.end_section('ns3_module_list_routing') - root_module.begin_section('ns3_module_virtual_net_device') - ns3_module_virtual_net_device.register_types(module) - - try: - import ns3_module_virtual_net_device__local - except ImportError: - pass - else: - ns3_module_virtual_net_device__local.register_types(module) - - root_module.end_section('ns3_module_virtual_net_device') root_module.begin_section('ns3_module_wifi') ns3_module_wifi.register_types(module) @@ -261,6 +186,83 @@ def register_types(module): ns3_module_wifi__local.register_types(module) root_module.end_section('ns3_module_wifi') + root_module.begin_section('ns3_module_static_routing') + ns3_module_static_routing.register_types(module) + + try: + import ns3_module_static_routing__local + except ImportError: + pass + else: + ns3_module_static_routing__local.register_types(module) + + root_module.end_section('ns3_module_static_routing') + root_module.begin_section('ns3_module_v4ping') + ns3_module_v4ping.register_types(module) + + try: + import ns3_module_v4ping__local + except ImportError: + pass + else: + ns3_module_v4ping__local.register_types(module) + + root_module.end_section('ns3_module_v4ping') + root_module.begin_section('ns3_module_virtual_net_device') + ns3_module_virtual_net_device.register_types(module) + + try: + import ns3_module_virtual_net_device__local + except ImportError: + pass + else: + ns3_module_virtual_net_device__local.register_types(module) + + root_module.end_section('ns3_module_virtual_net_device') + root_module.begin_section('ns3_module_packet_sink') + ns3_module_packet_sink.register_types(module) + + try: + import ns3_module_packet_sink__local + except ImportError: + pass + else: + ns3_module_packet_sink__local.register_types(module) + + root_module.end_section('ns3_module_packet_sink') + root_module.begin_section('ns3_module_global_routing') + ns3_module_global_routing.register_types(module) + + try: + import ns3_module_global_routing__local + except ImportError: + pass + else: + ns3_module_global_routing__local.register_types(module) + + root_module.end_section('ns3_module_global_routing') + root_module.begin_section('ns3_module_stats') + ns3_module_stats.register_types(module) + + try: + import ns3_module_stats__local + except ImportError: + pass + else: + ns3_module_stats__local.register_types(module) + + root_module.end_section('ns3_module_stats') + root_module.begin_section('ns3_module_list_routing') + ns3_module_list_routing.register_types(module) + + try: + import ns3_module_list_routing__local + except ImportError: + pass + else: + ns3_module_list_routing__local.register_types(module) + + root_module.end_section('ns3_module_list_routing') root_module.begin_section('ns3_module_emu') ns3_module_emu.register_types(module) @@ -283,17 +285,28 @@ def register_types(module): ns3_module_bridge__local.register_types(module) root_module.end_section('ns3_module_bridge') - root_module.begin_section('ns3_module_global_routing') - ns3_module_global_routing.register_types(module) + root_module.begin_section('ns3_module_onoff') + ns3_module_onoff.register_types(module) try: - import ns3_module_global_routing__local + import ns3_module_onoff__local except ImportError: pass else: - ns3_module_global_routing__local.register_types(module) + ns3_module_onoff__local.register_types(module) - root_module.end_section('ns3_module_global_routing') + root_module.end_section('ns3_module_onoff') + root_module.begin_section('ns3_module_dpd') + ns3_module_dpd.register_types(module) + + try: + import ns3_module_dpd__local + except ImportError: + pass + else: + ns3_module_dpd__local.register_types(module) + + root_module.end_section('ns3_module_dpd') root_module.begin_section('ns3_module_udp_echo') ns3_module_udp_echo.register_types(module) @@ -305,6 +318,17 @@ def register_types(module): ns3_module_udp_echo__local.register_types(module) root_module.end_section('ns3_module_udp_echo') + root_module.begin_section('ns3_module_ping6') + ns3_module_ping6.register_types(module) + + try: + import ns3_module_ping6__local + except ImportError: + pass + else: + ns3_module_ping6__local.register_types(module) + + root_module.end_section('ns3_module_ping6') root_module.begin_section('ns3_module_nix_vector_routing') ns3_module_nix_vector_routing.register_types(module) @@ -327,28 +351,17 @@ def register_types(module): ns3_module_olsr__local.register_types(module) root_module.end_section('ns3_module_olsr') - root_module.begin_section('ns3_module_radvd') - ns3_module_radvd.register_types(module) + root_module.begin_section('ns3_module_aodv') + ns3_module_aodv.register_types(module) try: - import ns3_module_radvd__local + import ns3_module_aodv__local except ImportError: pass else: - ns3_module_radvd__local.register_types(module) + ns3_module_aodv__local.register_types(module) - root_module.end_section('ns3_module_radvd') - root_module.begin_section('ns3_module_ping6') - ns3_module_ping6.register_types(module) - - try: - import ns3_module_ping6__local - except ImportError: - pass - else: - ns3_module_ping6__local.register_types(module) - - root_module.end_section('ns3_module_ping6') + root_module.end_section('ns3_module_aodv') root_module.begin_section('ns3_module_flow_monitor') ns3_module_flow_monitor.register_types(module) @@ -360,6 +373,17 @@ def register_types(module): ns3_module_flow_monitor__local.register_types(module) root_module.end_section('ns3_module_flow_monitor') + root_module.begin_section('ns3_module_radvd') + ns3_module_radvd.register_types(module) + + try: + import ns3_module_radvd__local + except ImportError: + pass + else: + ns3_module_radvd__local.register_types(module) + + root_module.end_section('ns3_module_radvd') root_module.begin_section('ns3_module_mesh') ns3_module_mesh.register_types(module) @@ -436,12 +460,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') @@ -473,10 +509,19 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_aodv(module): + root_module = module.get_root() + + module.add_container('std::map< ns3::Ipv4Address, unsigned int >', ('ns3::Ipv4Address', 'unsigned int'), container_type='map') + 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() @@ -549,17 +594,6 @@ def register_methods(root_module): ns3_module_common__local.register_methods(root_module) root_module.end_section('ns3_module_common') - root_module.begin_section('ns3_module_contrib') - ns3_module_contrib.register_methods(root_module) - - try: - import ns3_module_contrib__local - except ImportError: - pass - else: - ns3_module_contrib__local.register_methods(root_module) - - root_module.end_section('ns3_module_contrib') root_module.begin_section('ns3_module_node') ns3_module_node.register_methods(root_module) @@ -571,72 +605,17 @@ def register_methods(root_module): ns3_module_node__local.register_methods(root_module) root_module.end_section('ns3_module_node') - root_module.begin_section('ns3_module_tap_bridge') - ns3_module_tap_bridge.register_methods(root_module) + root_module.begin_section('ns3_module_contrib') + ns3_module_contrib.register_methods(root_module) try: - import ns3_module_tap_bridge__local + import ns3_module_contrib__local except ImportError: pass else: - ns3_module_tap_bridge__local.register_methods(root_module) + ns3_module_contrib__local.register_methods(root_module) - root_module.end_section('ns3_module_tap_bridge') - root_module.begin_section('ns3_module_v4ping') - ns3_module_v4ping.register_methods(root_module) - - try: - import ns3_module_v4ping__local - except ImportError: - pass - else: - ns3_module_v4ping__local.register_methods(root_module) - - root_module.end_section('ns3_module_v4ping') - root_module.begin_section('ns3_module_static_routing') - ns3_module_static_routing.register_methods(root_module) - - try: - import ns3_module_static_routing__local - except ImportError: - pass - else: - ns3_module_static_routing__local.register_methods(root_module) - - root_module.end_section('ns3_module_static_routing') - root_module.begin_section('ns3_module_packet_sink') - ns3_module_packet_sink.register_methods(root_module) - - try: - import ns3_module_packet_sink__local - except ImportError: - pass - else: - ns3_module_packet_sink__local.register_methods(root_module) - - root_module.end_section('ns3_module_packet_sink') - root_module.begin_section('ns3_module_stats') - ns3_module_stats.register_methods(root_module) - - try: - import ns3_module_stats__local - except ImportError: - pass - else: - ns3_module_stats__local.register_methods(root_module) - - root_module.end_section('ns3_module_stats') - root_module.begin_section('ns3_module_onoff') - ns3_module_onoff.register_methods(root_module) - - try: - import ns3_module_onoff__local - except ImportError: - pass - else: - ns3_module_onoff__local.register_methods(root_module) - - root_module.end_section('ns3_module_onoff') + root_module.end_section('ns3_module_contrib') root_module.begin_section('ns3_module_point_to_point') ns3_module_point_to_point.register_methods(root_module) @@ -659,6 +638,17 @@ def register_methods(root_module): ns3_module_internet_stack__local.register_methods(root_module) root_module.end_section('ns3_module_internet_stack') + root_module.begin_section('ns3_module_tap_bridge') + ns3_module_tap_bridge.register_methods(root_module) + + try: + import ns3_module_tap_bridge__local + except ImportError: + pass + else: + ns3_module_tap_bridge__local.register_methods(root_module) + + root_module.end_section('ns3_module_tap_bridge') root_module.begin_section('ns3_module_csma') ns3_module_csma.register_methods(root_module) @@ -670,28 +660,6 @@ def register_methods(root_module): ns3_module_csma__local.register_methods(root_module) root_module.end_section('ns3_module_csma') - root_module.begin_section('ns3_module_list_routing') - ns3_module_list_routing.register_methods(root_module) - - try: - import ns3_module_list_routing__local - except ImportError: - pass - else: - ns3_module_list_routing__local.register_methods(root_module) - - root_module.end_section('ns3_module_list_routing') - root_module.begin_section('ns3_module_virtual_net_device') - ns3_module_virtual_net_device.register_methods(root_module) - - try: - import ns3_module_virtual_net_device__local - except ImportError: - pass - else: - ns3_module_virtual_net_device__local.register_methods(root_module) - - root_module.end_section('ns3_module_virtual_net_device') root_module.begin_section('ns3_module_wifi') ns3_module_wifi.register_methods(root_module) @@ -703,6 +671,83 @@ def register_methods(root_module): ns3_module_wifi__local.register_methods(root_module) root_module.end_section('ns3_module_wifi') + root_module.begin_section('ns3_module_static_routing') + ns3_module_static_routing.register_methods(root_module) + + try: + import ns3_module_static_routing__local + except ImportError: + pass + else: + ns3_module_static_routing__local.register_methods(root_module) + + root_module.end_section('ns3_module_static_routing') + root_module.begin_section('ns3_module_v4ping') + ns3_module_v4ping.register_methods(root_module) + + try: + import ns3_module_v4ping__local + except ImportError: + pass + else: + ns3_module_v4ping__local.register_methods(root_module) + + root_module.end_section('ns3_module_v4ping') + root_module.begin_section('ns3_module_virtual_net_device') + ns3_module_virtual_net_device.register_methods(root_module) + + try: + import ns3_module_virtual_net_device__local + except ImportError: + pass + else: + ns3_module_virtual_net_device__local.register_methods(root_module) + + root_module.end_section('ns3_module_virtual_net_device') + root_module.begin_section('ns3_module_packet_sink') + ns3_module_packet_sink.register_methods(root_module) + + try: + import ns3_module_packet_sink__local + except ImportError: + pass + else: + ns3_module_packet_sink__local.register_methods(root_module) + + root_module.end_section('ns3_module_packet_sink') + root_module.begin_section('ns3_module_global_routing') + ns3_module_global_routing.register_methods(root_module) + + try: + import ns3_module_global_routing__local + except ImportError: + pass + else: + ns3_module_global_routing__local.register_methods(root_module) + + root_module.end_section('ns3_module_global_routing') + root_module.begin_section('ns3_module_stats') + ns3_module_stats.register_methods(root_module) + + try: + import ns3_module_stats__local + except ImportError: + pass + else: + ns3_module_stats__local.register_methods(root_module) + + root_module.end_section('ns3_module_stats') + root_module.begin_section('ns3_module_list_routing') + ns3_module_list_routing.register_methods(root_module) + + try: + import ns3_module_list_routing__local + except ImportError: + pass + else: + ns3_module_list_routing__local.register_methods(root_module) + + root_module.end_section('ns3_module_list_routing') root_module.begin_section('ns3_module_emu') ns3_module_emu.register_methods(root_module) @@ -725,17 +770,28 @@ def register_methods(root_module): ns3_module_bridge__local.register_methods(root_module) root_module.end_section('ns3_module_bridge') - root_module.begin_section('ns3_module_global_routing') - ns3_module_global_routing.register_methods(root_module) + root_module.begin_section('ns3_module_onoff') + ns3_module_onoff.register_methods(root_module) try: - import ns3_module_global_routing__local + import ns3_module_onoff__local except ImportError: pass else: - ns3_module_global_routing__local.register_methods(root_module) + ns3_module_onoff__local.register_methods(root_module) - root_module.end_section('ns3_module_global_routing') + root_module.end_section('ns3_module_onoff') + root_module.begin_section('ns3_module_dpd') + ns3_module_dpd.register_methods(root_module) + + try: + import ns3_module_dpd__local + except ImportError: + pass + else: + ns3_module_dpd__local.register_methods(root_module) + + root_module.end_section('ns3_module_dpd') root_module.begin_section('ns3_module_udp_echo') ns3_module_udp_echo.register_methods(root_module) @@ -747,6 +803,17 @@ def register_methods(root_module): ns3_module_udp_echo__local.register_methods(root_module) root_module.end_section('ns3_module_udp_echo') + root_module.begin_section('ns3_module_ping6') + ns3_module_ping6.register_methods(root_module) + + try: + import ns3_module_ping6__local + except ImportError: + pass + else: + ns3_module_ping6__local.register_methods(root_module) + + root_module.end_section('ns3_module_ping6') root_module.begin_section('ns3_module_nix_vector_routing') ns3_module_nix_vector_routing.register_methods(root_module) @@ -769,28 +836,17 @@ def register_methods(root_module): ns3_module_olsr__local.register_methods(root_module) root_module.end_section('ns3_module_olsr') - root_module.begin_section('ns3_module_radvd') - ns3_module_radvd.register_methods(root_module) + root_module.begin_section('ns3_module_aodv') + ns3_module_aodv.register_methods(root_module) try: - import ns3_module_radvd__local + import ns3_module_aodv__local except ImportError: pass else: - ns3_module_radvd__local.register_methods(root_module) + ns3_module_aodv__local.register_methods(root_module) - root_module.end_section('ns3_module_radvd') - root_module.begin_section('ns3_module_ping6') - ns3_module_ping6.register_methods(root_module) - - try: - import ns3_module_ping6__local - except ImportError: - pass - else: - ns3_module_ping6__local.register_methods(root_module) - - root_module.end_section('ns3_module_ping6') + root_module.end_section('ns3_module_aodv') root_module.begin_section('ns3_module_flow_monitor') ns3_module_flow_monitor.register_methods(root_module) @@ -802,6 +858,17 @@ def register_methods(root_module): ns3_module_flow_monitor__local.register_methods(root_module) root_module.end_section('ns3_module_flow_monitor') + root_module.begin_section('ns3_module_radvd') + ns3_module_radvd.register_methods(root_module) + + try: + import ns3_module_radvd__local + except ImportError: + pass + else: + ns3_module_radvd__local.register_methods(root_module) + + root_module.end_section('ns3_module_radvd') root_module.begin_section('ns3_module_mesh') ns3_module_mesh.register_methods(root_module) @@ -1039,17 +1106,6 @@ def register_functions(root_module): ns3_module_common__local.register_functions(root_module) root_module.end_section('ns3_module_common') - root_module.begin_section('ns3_module_contrib') - ns3_module_contrib.register_functions(root_module) - - try: - import ns3_module_contrib__local - except ImportError: - pass - else: - ns3_module_contrib__local.register_functions(root_module) - - root_module.end_section('ns3_module_contrib') root_module.begin_section('ns3_module_node') ns3_module_node.register_functions(root_module) @@ -1061,72 +1117,17 @@ def register_functions(root_module): ns3_module_node__local.register_functions(root_module) root_module.end_section('ns3_module_node') - root_module.begin_section('ns3_module_tap_bridge') - ns3_module_tap_bridge.register_functions(root_module) + root_module.begin_section('ns3_module_contrib') + ns3_module_contrib.register_functions(root_module) try: - import ns3_module_tap_bridge__local + import ns3_module_contrib__local except ImportError: pass else: - ns3_module_tap_bridge__local.register_functions(root_module) + ns3_module_contrib__local.register_functions(root_module) - root_module.end_section('ns3_module_tap_bridge') - root_module.begin_section('ns3_module_v4ping') - ns3_module_v4ping.register_functions(root_module) - - try: - import ns3_module_v4ping__local - except ImportError: - pass - else: - ns3_module_v4ping__local.register_functions(root_module) - - root_module.end_section('ns3_module_v4ping') - root_module.begin_section('ns3_module_static_routing') - ns3_module_static_routing.register_functions(root_module) - - try: - import ns3_module_static_routing__local - except ImportError: - pass - else: - ns3_module_static_routing__local.register_functions(root_module) - - root_module.end_section('ns3_module_static_routing') - root_module.begin_section('ns3_module_packet_sink') - ns3_module_packet_sink.register_functions(root_module) - - try: - import ns3_module_packet_sink__local - except ImportError: - pass - else: - ns3_module_packet_sink__local.register_functions(root_module) - - root_module.end_section('ns3_module_packet_sink') - root_module.begin_section('ns3_module_stats') - ns3_module_stats.register_functions(root_module) - - try: - import ns3_module_stats__local - except ImportError: - pass - else: - ns3_module_stats__local.register_functions(root_module) - - root_module.end_section('ns3_module_stats') - root_module.begin_section('ns3_module_onoff') - ns3_module_onoff.register_functions(root_module) - - try: - import ns3_module_onoff__local - except ImportError: - pass - else: - ns3_module_onoff__local.register_functions(root_module) - - root_module.end_section('ns3_module_onoff') + root_module.end_section('ns3_module_contrib') root_module.begin_section('ns3_module_point_to_point') ns3_module_point_to_point.register_functions(root_module) @@ -1149,6 +1150,17 @@ def register_functions(root_module): ns3_module_internet_stack__local.register_functions(root_module) root_module.end_section('ns3_module_internet_stack') + root_module.begin_section('ns3_module_tap_bridge') + ns3_module_tap_bridge.register_functions(root_module) + + try: + import ns3_module_tap_bridge__local + except ImportError: + pass + else: + ns3_module_tap_bridge__local.register_functions(root_module) + + root_module.end_section('ns3_module_tap_bridge') root_module.begin_section('ns3_module_csma') ns3_module_csma.register_functions(root_module) @@ -1160,28 +1172,6 @@ def register_functions(root_module): ns3_module_csma__local.register_functions(root_module) root_module.end_section('ns3_module_csma') - root_module.begin_section('ns3_module_list_routing') - ns3_module_list_routing.register_functions(root_module) - - try: - import ns3_module_list_routing__local - except ImportError: - pass - else: - ns3_module_list_routing__local.register_functions(root_module) - - root_module.end_section('ns3_module_list_routing') - root_module.begin_section('ns3_module_virtual_net_device') - ns3_module_virtual_net_device.register_functions(root_module) - - try: - import ns3_module_virtual_net_device__local - except ImportError: - pass - else: - ns3_module_virtual_net_device__local.register_functions(root_module) - - root_module.end_section('ns3_module_virtual_net_device') root_module.begin_section('ns3_module_wifi') ns3_module_wifi.register_functions(root_module) @@ -1193,6 +1183,83 @@ def register_functions(root_module): ns3_module_wifi__local.register_functions(root_module) root_module.end_section('ns3_module_wifi') + root_module.begin_section('ns3_module_static_routing') + ns3_module_static_routing.register_functions(root_module) + + try: + import ns3_module_static_routing__local + except ImportError: + pass + else: + ns3_module_static_routing__local.register_functions(root_module) + + root_module.end_section('ns3_module_static_routing') + root_module.begin_section('ns3_module_v4ping') + ns3_module_v4ping.register_functions(root_module) + + try: + import ns3_module_v4ping__local + except ImportError: + pass + else: + ns3_module_v4ping__local.register_functions(root_module) + + root_module.end_section('ns3_module_v4ping') + root_module.begin_section('ns3_module_virtual_net_device') + ns3_module_virtual_net_device.register_functions(root_module) + + try: + import ns3_module_virtual_net_device__local + except ImportError: + pass + else: + ns3_module_virtual_net_device__local.register_functions(root_module) + + root_module.end_section('ns3_module_virtual_net_device') + root_module.begin_section('ns3_module_packet_sink') + ns3_module_packet_sink.register_functions(root_module) + + try: + import ns3_module_packet_sink__local + except ImportError: + pass + else: + ns3_module_packet_sink__local.register_functions(root_module) + + root_module.end_section('ns3_module_packet_sink') + root_module.begin_section('ns3_module_global_routing') + ns3_module_global_routing.register_functions(root_module) + + try: + import ns3_module_global_routing__local + except ImportError: + pass + else: + ns3_module_global_routing__local.register_functions(root_module) + + root_module.end_section('ns3_module_global_routing') + root_module.begin_section('ns3_module_stats') + ns3_module_stats.register_functions(root_module) + + try: + import ns3_module_stats__local + except ImportError: + pass + else: + ns3_module_stats__local.register_functions(root_module) + + root_module.end_section('ns3_module_stats') + root_module.begin_section('ns3_module_list_routing') + ns3_module_list_routing.register_functions(root_module) + + try: + import ns3_module_list_routing__local + except ImportError: + pass + else: + ns3_module_list_routing__local.register_functions(root_module) + + root_module.end_section('ns3_module_list_routing') root_module.begin_section('ns3_module_emu') ns3_module_emu.register_functions(root_module) @@ -1215,17 +1282,28 @@ def register_functions(root_module): ns3_module_bridge__local.register_functions(root_module) root_module.end_section('ns3_module_bridge') - root_module.begin_section('ns3_module_global_routing') - ns3_module_global_routing.register_functions(root_module) + root_module.begin_section('ns3_module_onoff') + ns3_module_onoff.register_functions(root_module) try: - import ns3_module_global_routing__local + import ns3_module_onoff__local except ImportError: pass else: - ns3_module_global_routing__local.register_functions(root_module) + ns3_module_onoff__local.register_functions(root_module) - root_module.end_section('ns3_module_global_routing') + root_module.end_section('ns3_module_onoff') + root_module.begin_section('ns3_module_dpd') + ns3_module_dpd.register_functions(root_module) + + try: + import ns3_module_dpd__local + except ImportError: + pass + else: + ns3_module_dpd__local.register_functions(root_module) + + root_module.end_section('ns3_module_dpd') root_module.begin_section('ns3_module_udp_echo') ns3_module_udp_echo.register_functions(root_module) @@ -1237,6 +1315,17 @@ def register_functions(root_module): ns3_module_udp_echo__local.register_functions(root_module) root_module.end_section('ns3_module_udp_echo') + root_module.begin_section('ns3_module_ping6') + ns3_module_ping6.register_functions(root_module) + + try: + import ns3_module_ping6__local + except ImportError: + pass + else: + ns3_module_ping6__local.register_functions(root_module) + + root_module.end_section('ns3_module_ping6') root_module.begin_section('ns3_module_nix_vector_routing') ns3_module_nix_vector_routing.register_functions(root_module) @@ -1259,28 +1348,17 @@ def register_functions(root_module): ns3_module_olsr__local.register_functions(root_module) root_module.end_section('ns3_module_olsr') - root_module.begin_section('ns3_module_radvd') - ns3_module_radvd.register_functions(root_module) + root_module.begin_section('ns3_module_aodv') + ns3_module_aodv.register_functions(root_module) try: - import ns3_module_radvd__local + import ns3_module_aodv__local except ImportError: pass else: - ns3_module_radvd__local.register_functions(root_module) + ns3_module_aodv__local.register_functions(root_module) - root_module.end_section('ns3_module_radvd') - root_module.begin_section('ns3_module_ping6') - ns3_module_ping6.register_functions(root_module) - - try: - import ns3_module_ping6__local - except ImportError: - pass - else: - ns3_module_ping6__local.register_functions(root_module) - - root_module.end_section('ns3_module_ping6') + root_module.end_section('ns3_module_aodv') root_module.begin_section('ns3_module_flow_monitor') ns3_module_flow_monitor.register_functions(root_module) @@ -1292,6 +1370,17 @@ def register_functions(root_module): ns3_module_flow_monitor__local.register_functions(root_module) root_module.end_section('ns3_module_flow_monitor') + root_module.begin_section('ns3_module_radvd') + ns3_module_radvd.register_functions(root_module) + + try: + import ns3_module_radvd__local + except ImportError: + pass + else: + ns3_module_radvd__local.register_functions(root_module) + + root_module.end_section('ns3_module_radvd') root_module.begin_section('ns3_module_mesh') ns3_module_mesh.register_functions(root_module) @@ -1339,7 +1428,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) @@ -1354,9 +1445,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 diff --git a/bindings/python/apidefs/gcc-LP64/callbacks_list.py b/bindings/python/apidefs/gcc-LP64/callbacks_list.py index da45e917c..3ef430b30 100644 --- a/bindings/python/apidefs/gcc-LP64/callbacks_list.py +++ b/bindings/python/apidefs/gcc-LP64/callbacks_list.py @@ -4,18 +4,21 @@ callback_classes = [ ['void', 'ns3::Ptr', '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::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr', 'ns3::WifiMacHeader const*', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], + ['std::vector >', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], + ['void', 'bool', 'ns3::Ptr', '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::Ptr', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'], + ['bool', 'ns3::Ptr', 'ns3::Ptr', 'unsigned short', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], + ['void', 'ns3::Ptr', 'ns3::Ipv4Header const&', 'ns3::Socket::SocketErrno', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], + ['void', 'ns3::Ptr', 'ns3::Ptr', 'ns3::Ipv4Header const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['bool', 'ns3::Ptr', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['std::vector >', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'bool', 'ns3::Ptr', '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::Ptr', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['bool', 'ns3::Ptr', 'ns3::Ptr', '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::Ipv4Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr', 'ns3::Ptr', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ] diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_aodv.py b/bindings/python/apidefs/gcc-LP64/ns3_module_aodv.py new file mode 100644 index 000000000..15e515139 --- /dev/null +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_aodv.py @@ -0,0 +1,1014 @@ +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() + + ## aodv-packet.h: ns3::aodv::MessageType [enumeration] + module.add_enum('MessageType', ['AODVTYPE_RREQ', 'AODVTYPE_RREP', 'AODVTYPE_RERR', 'AODVTYPE_RREP_ACK']) + ## aodv-rtable.h: ns3::aodv::RouteFlags [enumeration] + module.add_enum('RouteFlags', ['VALID', 'INVALID', 'IN_SEARCH']) + ## aodv-neighbor.h: ns3::aodv::Neighbors [class] + module.add_class('Neighbors') + ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor [struct] + module.add_class('Neighbor', outer_class=root_module['ns3::aodv::Neighbors']) + ## aodv-rqueue.h: ns3::aodv::QueueEntry [class] + module.add_class('QueueEntry') + ## aodv-rqueue.h: ns3::aodv::RequestQueue [class] + module.add_class('RequestQueue') + ## aodv-packet.h: ns3::aodv::RerrHeader [class] + module.add_class('RerrHeader', parent=root_module['ns3::Header']) + ## aodv-routing-protocol.h: ns3::aodv::RoutingProtocol [class] + module.add_class('RoutingProtocol', parent=root_module['ns3::Ipv4RoutingProtocol']) + ## aodv-rtable.h: ns3::aodv::RoutingTable [class] + module.add_class('RoutingTable') + ## aodv-rtable.h: ns3::aodv::RoutingTableEntry [class] + module.add_class('RoutingTableEntry') + ## aodv-packet.h: ns3::aodv::RrepAckHeader [class] + module.add_class('RrepAckHeader', parent=root_module['ns3::Header']) + ## aodv-packet.h: ns3::aodv::RrepHeader [class] + module.add_class('RrepHeader', parent=root_module['ns3::Header']) + ## aodv-packet.h: ns3::aodv::RreqHeader [class] + module.add_class('RreqHeader', parent=root_module['ns3::Header']) + ## aodv-packet.h: ns3::aodv::TypeHeader [class] + module.add_class('TypeHeader', parent=root_module['ns3::Header']) + +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() + + +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_Ns3AodvNeighbors_methods(root_module, root_module['ns3::aodv::Neighbors']) + register_Ns3AodvNeighborsNeighbor_methods(root_module, root_module['ns3::aodv::Neighbors::Neighbor']) + register_Ns3AodvQueueEntry_methods(root_module, root_module['ns3::aodv::QueueEntry']) + register_Ns3AodvRequestQueue_methods(root_module, root_module['ns3::aodv::RequestQueue']) + register_Ns3AodvRerrHeader_methods(root_module, root_module['ns3::aodv::RerrHeader']) + register_Ns3AodvRoutingProtocol_methods(root_module, root_module['ns3::aodv::RoutingProtocol']) + register_Ns3AodvRoutingTable_methods(root_module, root_module['ns3::aodv::RoutingTable']) + register_Ns3AodvRoutingTableEntry_methods(root_module, root_module['ns3::aodv::RoutingTableEntry']) + register_Ns3AodvRrepAckHeader_methods(root_module, root_module['ns3::aodv::RrepAckHeader']) + register_Ns3AodvRrepHeader_methods(root_module, root_module['ns3::aodv::RrepHeader']) + register_Ns3AodvRreqHeader_methods(root_module, root_module['ns3::aodv::RreqHeader']) + register_Ns3AodvTypeHeader_methods(root_module, root_module['ns3::aodv::TypeHeader']) + return + +def register_Ns3AodvNeighbors_methods(root_module, cls): + ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbors(ns3::aodv::Neighbors const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::Neighbors const &', 'arg0')]) + ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbors(ns3::Time delay) [constructor] + cls.add_constructor([param('ns3::Time', 'delay')]) + ## aodv-neighbor.h: void ns3::aodv::Neighbors::AddArpCache(ns3::Ptr arg0) [member function] + cls.add_method('AddArpCache', + 'void', + [param('ns3::Ptr< ns3::ArpCache >', 'arg0')]) + ## aodv-neighbor.h: void ns3::aodv::Neighbors::Clear() [member function] + cls.add_method('Clear', + 'void', + []) + ## aodv-neighbor.h: void ns3::aodv::Neighbors::DelArpCache(ns3::Ptr arg0) [member function] + cls.add_method('DelArpCache', + 'void', + [param('ns3::Ptr< ns3::ArpCache >', 'arg0')]) + ## aodv-neighbor.h: ns3::Callback ns3::aodv::Neighbors::GetCallback() const [member function] + cls.add_method('GetCallback', + 'ns3::Callback< void, ns3::Ipv4Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', + [], + is_const=True) + ## aodv-neighbor.h: ns3::Time ns3::aodv::Neighbors::GetExpireTime(ns3::Ipv4Address addr) [member function] + cls.add_method('GetExpireTime', + 'ns3::Time', + [param('ns3::Ipv4Address', 'addr')]) + ## aodv-neighbor.h: ns3::Callback ns3::aodv::Neighbors::GetTxErrorCallback() const [member function] + cls.add_method('GetTxErrorCallback', + 'ns3::Callback< void, ns3::WifiMacHeader const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', + [], + is_const=True) + ## aodv-neighbor.h: bool ns3::aodv::Neighbors::IsNeighbor(ns3::Ipv4Address addr) [member function] + cls.add_method('IsNeighbor', + 'bool', + [param('ns3::Ipv4Address', 'addr')]) + ## aodv-neighbor.h: void ns3::aodv::Neighbors::Purge() [member function] + cls.add_method('Purge', + 'void', + []) + ## aodv-neighbor.h: void ns3::aodv::Neighbors::ScheduleTimer() [member function] + cls.add_method('ScheduleTimer', + 'void', + []) + ## aodv-neighbor.h: void ns3::aodv::Neighbors::SetCallback(ns3::Callback cb) [member function] + cls.add_method('SetCallback', + 'void', + [param('ns3::Callback< void, ns3::Ipv4Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')]) + ## aodv-neighbor.h: void ns3::aodv::Neighbors::Update(ns3::Ipv4Address addr, ns3::Time expire) [member function] + cls.add_method('Update', + 'void', + [param('ns3::Ipv4Address', 'addr'), param('ns3::Time', 'expire')]) + return + +def register_Ns3AodvNeighborsNeighbor_methods(root_module, cls): + ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::Neighbor(ns3::aodv::Neighbors::Neighbor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::Neighbors::Neighbor const &', 'arg0')]) + ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::Neighbor(ns3::Ipv4Address ip, ns3::Mac48Address mac, ns3::Time t) [constructor] + cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('ns3::Mac48Address', 'mac'), param('ns3::Time', 't')]) + ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::close [variable] + cls.add_instance_attribute('close', 'bool', is_const=False) + ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::m_expireTime [variable] + cls.add_instance_attribute('m_expireTime', 'ns3::Time', is_const=False) + ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::m_hardwareAddress [variable] + cls.add_instance_attribute('m_hardwareAddress', 'ns3::Mac48Address', is_const=False) + ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::m_neighborAddress [variable] + cls.add_instance_attribute('m_neighborAddress', 'ns3::Ipv4Address', is_const=False) + return + +def register_Ns3AodvQueueEntry_methods(root_module, cls): + cls.add_binary_comparison_operator('==') + ## aodv-rqueue.h: ns3::aodv::QueueEntry::QueueEntry(ns3::aodv::QueueEntry const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::QueueEntry const &', 'arg0')]) + ## aodv-rqueue.h: ns3::aodv::QueueEntry::QueueEntry(ns3::Ptr pa=0, ns3::Ipv4Header const & h=ns3::Ipv4Header(), ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb=ns3::Callback, ns3::Ptr, const ns3::Ipv4Header&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>(), ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb=ns3::Callback, const ns3::Ipv4Header&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>(), ns3::Time exp=ns3::Simulator::Now( )) [constructor] + cls.add_constructor([param('ns3::Ptr< ns3::Packet const >', 'pa', default_value='0'), param('ns3::Ipv4Header const &', 'h', default_value='ns3::Ipv4Header()'), 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', default_value='ns3::Callback, ns3::Ptr, const ns3::Ipv4Header&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>()'), 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', default_value='ns3::Callback, const ns3::Ipv4Header&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>()'), param('ns3::Time', 'exp', default_value='ns3::Simulator::Now( )')]) + ## aodv-rqueue.h: ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::aodv::QueueEntry::GetErrorCallback() const [member function] + cls.add_method('GetErrorCallback', + '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 >', + [], + is_const=True) + ## aodv-rqueue.h: ns3::Time ns3::aodv::QueueEntry::GetExpireTime() const [member function] + cls.add_method('GetExpireTime', + 'ns3::Time', + [], + is_const=True) + ## aodv-rqueue.h: ns3::Ipv4Header ns3::aodv::QueueEntry::GetIpv4Header() const [member function] + cls.add_method('GetIpv4Header', + 'ns3::Ipv4Header', + [], + is_const=True) + ## aodv-rqueue.h: ns3::Ptr ns3::aodv::QueueEntry::GetPacket() const [member function] + cls.add_method('GetPacket', + 'ns3::Ptr< ns3::Packet const >', + [], + is_const=True) + ## aodv-rqueue.h: ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::aodv::QueueEntry::GetUnicastForwardCallback() const [member function] + cls.add_method('GetUnicastForwardCallback', + '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 >', + [], + is_const=True) + ## aodv-rqueue.h: void ns3::aodv::QueueEntry::SetErrorCallback(ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] + cls.add_method('SetErrorCallback', + 'void', + [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')]) + ## aodv-rqueue.h: void ns3::aodv::QueueEntry::SetExpireTime(ns3::Time exp) [member function] + cls.add_method('SetExpireTime', + 'void', + [param('ns3::Time', 'exp')]) + ## aodv-rqueue.h: void ns3::aodv::QueueEntry::SetIpv4Header(ns3::Ipv4Header h) [member function] + cls.add_method('SetIpv4Header', + 'void', + [param('ns3::Ipv4Header', 'h')]) + ## aodv-rqueue.h: void ns3::aodv::QueueEntry::SetPacket(ns3::Ptr p) [member function] + cls.add_method('SetPacket', + 'void', + [param('ns3::Ptr< ns3::Packet const >', 'p')]) + ## aodv-rqueue.h: void ns3::aodv::QueueEntry::SetUnicastForwardCallback(ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb) [member function] + cls.add_method('SetUnicastForwardCallback', + 'void', + [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')]) + return + +def register_Ns3AodvRequestQueue_methods(root_module, cls): + ## aodv-rqueue.h: ns3::aodv::RequestQueue::RequestQueue(ns3::aodv::RequestQueue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::RequestQueue const &', 'arg0')]) + ## aodv-rqueue.h: ns3::aodv::RequestQueue::RequestQueue(uint32_t maxLen, ns3::Time routeToQueueTimeout) [constructor] + cls.add_constructor([param('uint32_t', 'maxLen'), param('ns3::Time', 'routeToQueueTimeout')]) + ## aodv-rqueue.h: bool ns3::aodv::RequestQueue::Dequeue(ns3::Ipv4Address dst, ns3::aodv::QueueEntry & entry) [member function] + cls.add_method('Dequeue', + 'bool', + [param('ns3::Ipv4Address', 'dst'), param('ns3::aodv::QueueEntry &', 'entry')]) + ## aodv-rqueue.h: void ns3::aodv::RequestQueue::DropPacketWithDst(ns3::Ipv4Address dst) [member function] + cls.add_method('DropPacketWithDst', + 'void', + [param('ns3::Ipv4Address', 'dst')]) + ## aodv-rqueue.h: bool ns3::aodv::RequestQueue::Enqueue(ns3::aodv::QueueEntry & entry) [member function] + cls.add_method('Enqueue', + 'bool', + [param('ns3::aodv::QueueEntry &', 'entry')]) + ## aodv-rqueue.h: bool ns3::aodv::RequestQueue::Find(ns3::Ipv4Address dst) [member function] + cls.add_method('Find', + 'bool', + [param('ns3::Ipv4Address', 'dst')]) + ## aodv-rqueue.h: uint32_t ns3::aodv::RequestQueue::GetMaxQueueLen() const [member function] + cls.add_method('GetMaxQueueLen', + 'uint32_t', + [], + is_const=True) + ## aodv-rqueue.h: ns3::Time ns3::aodv::RequestQueue::GetQueueTimeout() const [member function] + cls.add_method('GetQueueTimeout', + 'ns3::Time', + [], + is_const=True) + ## aodv-rqueue.h: uint32_t ns3::aodv::RequestQueue::GetSize() [member function] + cls.add_method('GetSize', + 'uint32_t', + []) + ## aodv-rqueue.h: void ns3::aodv::RequestQueue::SetMaxQueueLen(uint32_t len) [member function] + cls.add_method('SetMaxQueueLen', + 'void', + [param('uint32_t', 'len')]) + ## aodv-rqueue.h: void ns3::aodv::RequestQueue::SetQueueTimeout(ns3::Time t) [member function] + cls.add_method('SetQueueTimeout', + 'void', + [param('ns3::Time', 't')]) + return + +def register_Ns3AodvRerrHeader_methods(root_module, cls): + cls.add_output_stream_operator() + cls.add_binary_comparison_operator('==') + ## aodv-packet.h: ns3::aodv::RerrHeader::RerrHeader(ns3::aodv::RerrHeader const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::RerrHeader const &', 'arg0')]) + ## aodv-packet.h: ns3::aodv::RerrHeader::RerrHeader() [constructor] + cls.add_constructor([]) + ## aodv-packet.h: bool ns3::aodv::RerrHeader::AddUnDestination(ns3::Ipv4Address dst, uint32_t seqNo) [member function] + cls.add_method('AddUnDestination', + 'bool', + [param('ns3::Ipv4Address', 'dst'), param('uint32_t', 'seqNo')]) + ## aodv-packet.h: void ns3::aodv::RerrHeader::Clear() [member function] + cls.add_method('Clear', + 'void', + []) + ## aodv-packet.h: uint32_t ns3::aodv::RerrHeader::Deserialize(ns3::Buffer::Iterator start) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'start')], + is_virtual=True) + ## aodv-packet.h: uint8_t ns3::aodv::RerrHeader::GetDestCount() const [member function] + cls.add_method('GetDestCount', + 'uint8_t', + [], + is_const=True) + ## aodv-packet.h: ns3::TypeId ns3::aodv::RerrHeader::GetInstanceTypeId() const [member function] + cls.add_method('GetInstanceTypeId', + 'ns3::TypeId', + [], + is_const=True, is_virtual=True) + ## aodv-packet.h: bool ns3::aodv::RerrHeader::GetNoDelete() const [member function] + cls.add_method('GetNoDelete', + 'bool', + [], + is_const=True) + ## aodv-packet.h: uint32_t ns3::aodv::RerrHeader::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## aodv-packet.h: void ns3::aodv::RerrHeader::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, is_virtual=True) + ## aodv-packet.h: bool ns3::aodv::RerrHeader::RemoveUnDestination(std::pair & un) [member function] + cls.add_method('RemoveUnDestination', + 'bool', + [param('std::pair< ns3::Ipv4Address, unsigned int > &', 'un')]) + ## aodv-packet.h: void ns3::aodv::RerrHeader::Serialize(ns3::Buffer::Iterator i) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator', 'i')], + is_const=True, is_virtual=True) + ## aodv-packet.h: void ns3::aodv::RerrHeader::SetNoDelete(bool f) [member function] + cls.add_method('SetNoDelete', + 'void', + [param('bool', 'f')]) + return + +def register_Ns3AodvRoutingProtocol_methods(root_module, cls): + ## aodv-routing-protocol.h: ns3::aodv::RoutingProtocol::RoutingProtocol(ns3::aodv::RoutingProtocol const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::RoutingProtocol const &', 'arg0')]) + ## aodv-routing-protocol.h: ns3::aodv::RoutingProtocol::RoutingProtocol() [constructor] + cls.add_constructor([]) + ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + is_virtual=True) + ## aodv-routing-protocol.h: bool ns3::aodv::RoutingProtocol::GetBroadcastEnable() const [member function] + cls.add_method('GetBroadcastEnable', + 'bool', + [], + is_const=True) + ## aodv-routing-protocol.h: bool ns3::aodv::RoutingProtocol::GetDesinationOnlyFlag() const [member function] + cls.add_method('GetDesinationOnlyFlag', + 'bool', + [], + is_const=True) + ## aodv-routing-protocol.h: bool ns3::aodv::RoutingProtocol::GetGratuitousReplyFlag() const [member function] + cls.add_method('GetGratuitousReplyFlag', + 'bool', + [], + is_const=True) + ## aodv-routing-protocol.h: bool ns3::aodv::RoutingProtocol::GetHelloEnable() const [member function] + cls.add_method('GetHelloEnable', + 'bool', + [], + is_const=True) + ## aodv-routing-protocol.h: static ns3::TypeId ns3::aodv::RoutingProtocol::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] + cls.add_method('NotifyAddAddress', + 'void', + [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], + is_virtual=True) + ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::NotifyInterfaceDown(uint32_t interface) [member function] + cls.add_method('NotifyInterfaceDown', + 'void', + [param('uint32_t', 'interface')], + is_virtual=True) + ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::NotifyInterfaceUp(uint32_t interface) [member function] + cls.add_method('NotifyInterfaceUp', + 'void', + [param('uint32_t', 'interface')], + is_virtual=True) + ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] + cls.add_method('NotifyRemoveAddress', + 'void', + [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], + is_virtual=True) + ## aodv-routing-protocol.h: bool ns3::aodv::RoutingProtocol::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, 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')], + is_virtual=True) + ## aodv-routing-protocol.h: ns3::Ptr ns3::aodv::RoutingProtocol::RouteOutput(ns3::Ptr p, ns3::Ipv4Header const & header, uint32_t oif, ns3::Socket::SocketErrno & sockerr) [member function] + cls.add_method('RouteOutput', + 'ns3::Ptr< ns3::Ipv4Route >', + [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('uint32_t', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], + is_virtual=True) + ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetBroadcastEnable(bool f) [member function] + cls.add_method('SetBroadcastEnable', + 'void', + [param('bool', 'f')]) + ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetDesinationOnlyFlag(bool f) [member function] + cls.add_method('SetDesinationOnlyFlag', + 'void', + [param('bool', 'f')]) + ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetGratuitousReplyFlag(bool f) [member function] + cls.add_method('SetGratuitousReplyFlag', + 'void', + [param('bool', 'f')]) + ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetHelloEnable(bool f) [member function] + cls.add_method('SetHelloEnable', + 'void', + [param('bool', 'f')]) + ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetIpv4(ns3::Ptr ipv4) [member function] + cls.add_method('SetIpv4', + 'void', + [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], + is_virtual=True) + ## aodv-routing-protocol.h: ns3::aodv::RoutingProtocol::AODV_PORT [variable] + cls.add_static_attribute('AODV_PORT', 'uint32_t const', is_const=True) + return + +def register_Ns3AodvRoutingTable_methods(root_module, cls): + ## aodv-rtable.h: ns3::aodv::RoutingTable::RoutingTable(ns3::aodv::RoutingTable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::RoutingTable const &', 'arg0')]) + ## aodv-rtable.h: ns3::aodv::RoutingTable::RoutingTable(ns3::Time t) [constructor] + cls.add_constructor([param('ns3::Time', 't')]) + ## aodv-rtable.h: bool ns3::aodv::RoutingTable::AddRoute(ns3::aodv::RoutingTableEntry & r) [member function] + cls.add_method('AddRoute', + 'bool', + [param('ns3::aodv::RoutingTableEntry &', 'r')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTable::Clear() [member function] + cls.add_method('Clear', + 'void', + []) + ## aodv-rtable.h: void ns3::aodv::RoutingTable::DeleteAllRoutesFromInterface(ns3::Ipv4InterfaceAddress iface) [member function] + cls.add_method('DeleteAllRoutesFromInterface', + 'void', + [param('ns3::Ipv4InterfaceAddress', 'iface')]) + ## aodv-rtable.h: bool ns3::aodv::RoutingTable::DeleteRoute(ns3::Ipv4Address dst) [member function] + cls.add_method('DeleteRoute', + 'bool', + [param('ns3::Ipv4Address', 'dst')]) + ## aodv-rtable.h: ns3::Time ns3::aodv::RoutingTable::GetBadLinkLifetime() const [member function] + cls.add_method('GetBadLinkLifetime', + 'ns3::Time', + [], + is_const=True) + ## aodv-rtable.h: void ns3::aodv::RoutingTable::GetListOfDestinationWithNextHop(ns3::Ipv4Address nextHop, std::map, std::allocator > > & unreachable) [member function] + cls.add_method('GetListOfDestinationWithNextHop', + 'void', + [param('ns3::Ipv4Address', 'nextHop'), param('std::map< ns3::Ipv4Address, unsigned int > &', 'unreachable')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTable::InvalidateRoutesWithDst(std::map, std::allocator > > const & unreachable) [member function] + cls.add_method('InvalidateRoutesWithDst', + 'void', + [param('std::map< ns3::Ipv4Address, unsigned int > const &', 'unreachable')]) + ## aodv-rtable.h: bool ns3::aodv::RoutingTable::LookupRoute(ns3::Ipv4Address dst, ns3::aodv::RoutingTableEntry & rt) [member function] + cls.add_method('LookupRoute', + 'bool', + [param('ns3::Ipv4Address', 'dst'), param('ns3::aodv::RoutingTableEntry &', 'rt')]) + ## aodv-rtable.h: bool ns3::aodv::RoutingTable::MarkLinkAsUnidirectional(ns3::Ipv4Address neighbor, ns3::Time blacklistTimeout) [member function] + cls.add_method('MarkLinkAsUnidirectional', + 'bool', + [param('ns3::Ipv4Address', 'neighbor'), param('ns3::Time', 'blacklistTimeout')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTable::Print(std::ostream & os) [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTable::Purge() [member function] + cls.add_method('Purge', + 'void', + []) + ## aodv-rtable.h: void ns3::aodv::RoutingTable::SetBadLinkLifetime(ns3::Time t) [member function] + cls.add_method('SetBadLinkLifetime', + 'void', + [param('ns3::Time', 't')]) + ## aodv-rtable.h: bool ns3::aodv::RoutingTable::SetEntryState(ns3::Ipv4Address dst, ns3::aodv::RouteFlags state) [member function] + cls.add_method('SetEntryState', + 'bool', + [param('ns3::Ipv4Address', 'dst'), param('ns3::aodv::RouteFlags', 'state')]) + ## aodv-rtable.h: bool ns3::aodv::RoutingTable::Update(ns3::aodv::RoutingTableEntry & rt) [member function] + cls.add_method('Update', + 'bool', + [param('ns3::aodv::RoutingTableEntry &', 'rt')]) + return + +def register_Ns3AodvRoutingTableEntry_methods(root_module, cls): + ## aodv-rtable.h: ns3::aodv::RoutingTableEntry::RoutingTableEntry(ns3::aodv::RoutingTableEntry const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::RoutingTableEntry const &', 'arg0')]) + ## aodv-rtable.h: ns3::aodv::RoutingTableEntry::RoutingTableEntry(ns3::Ptr dev=0, ns3::Ipv4Address dst=ns3::Ipv4Address(), bool vSeqNo=false, u_int32_t m_seqNo=0, ns3::Ipv4InterfaceAddress iface=ns3::Ipv4InterfaceAddress(), u_int16_t hops=0, ns3::Ipv4Address nextHop=ns3::Ipv4Address(), ns3::Time lifetime=ns3::Simulator::Now( )) [constructor] + cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev', default_value='0'), param('ns3::Ipv4Address', 'dst', default_value='ns3::Ipv4Address()'), param('bool', 'vSeqNo', default_value='false'), param('u_int32_t', 'm_seqNo', default_value='0'), param('ns3::Ipv4InterfaceAddress', 'iface', default_value='ns3::Ipv4InterfaceAddress()'), param('u_int16_t', 'hops', default_value='0'), param('ns3::Ipv4Address', 'nextHop', default_value='ns3::Ipv4Address()'), param('ns3::Time', 'lifetime', default_value='ns3::Simulator::Now( )')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::DeleteAllPrecursors() [member function] + cls.add_method('DeleteAllPrecursors', + 'void', + []) + ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::DeletePrecursor(ns3::Ipv4Address id) [member function] + cls.add_method('DeletePrecursor', + 'bool', + [param('ns3::Ipv4Address', 'id')]) + ## aodv-rtable.h: ns3::Time ns3::aodv::RoutingTableEntry::GetBlacklistTimeout() const [member function] + cls.add_method('GetBlacklistTimeout', + 'ns3::Time', + [], + is_const=True) + ## aodv-rtable.h: ns3::Ipv4Address ns3::aodv::RoutingTableEntry::GetDestination() const [member function] + cls.add_method('GetDestination', + 'ns3::Ipv4Address', + [], + is_const=True) + ## aodv-rtable.h: ns3::aodv::RouteFlags ns3::aodv::RoutingTableEntry::GetFlag() const [member function] + cls.add_method('GetFlag', + 'ns3::aodv::RouteFlags', + [], + is_const=True) + ## aodv-rtable.h: uint16_t ns3::aodv::RoutingTableEntry::GetHop() const [member function] + cls.add_method('GetHop', + 'uint16_t', + [], + is_const=True) + ## aodv-rtable.h: ns3::Ipv4InterfaceAddress ns3::aodv::RoutingTableEntry::GetInterface() const [member function] + cls.add_method('GetInterface', + 'ns3::Ipv4InterfaceAddress', + [], + is_const=True) + ## aodv-rtable.h: ns3::Time ns3::aodv::RoutingTableEntry::GetLifeTime() const [member function] + cls.add_method('GetLifeTime', + 'ns3::Time', + [], + is_const=True) + ## aodv-rtable.h: ns3::Ipv4Address ns3::aodv::RoutingTableEntry::GetNextHop() const [member function] + cls.add_method('GetNextHop', + 'ns3::Ipv4Address', + [], + is_const=True) + ## aodv-rtable.h: ns3::Ptr ns3::aodv::RoutingTableEntry::GetOutputDevice() const [member function] + cls.add_method('GetOutputDevice', + 'ns3::Ptr< ns3::NetDevice >', + [], + is_const=True) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::GetPrecursors(std::vector > & prec) const [member function] + cls.add_method('GetPrecursors', + 'void', + [param('std::vector< ns3::Ipv4Address > &', 'prec')], + is_const=True) + ## aodv-rtable.h: ns3::Ptr ns3::aodv::RoutingTableEntry::GetRoute() const [member function] + cls.add_method('GetRoute', + 'ns3::Ptr< ns3::Ipv4Route >', + [], + is_const=True) + ## aodv-rtable.h: uint8_t ns3::aodv::RoutingTableEntry::GetRreqCnt() const [member function] + cls.add_method('GetRreqCnt', + 'uint8_t', + [], + is_const=True) + ## aodv-rtable.h: uint32_t ns3::aodv::RoutingTableEntry::GetSeqNo() const [member function] + cls.add_method('GetSeqNo', + 'uint32_t', + [], + is_const=True) + ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::GetValidSeqNo() const [member function] + cls.add_method('GetValidSeqNo', + 'bool', + [], + is_const=True) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::IncrementRreqCnt() [member function] + cls.add_method('IncrementRreqCnt', + 'void', + []) + ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::InsertPrecursor(ns3::Ipv4Address id) [member function] + cls.add_method('InsertPrecursor', + 'bool', + [param('ns3::Ipv4Address', 'id')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::Invalidate(ns3::Time badLinkLifetime) [member function] + cls.add_method('Invalidate', + 'void', + [param('ns3::Time', 'badLinkLifetime')]) + ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::IsPrecursorListEmpty() const [member function] + cls.add_method('IsPrecursorListEmpty', + 'bool', + [], + is_const=True) + ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::IsUnidirectional() const [member function] + cls.add_method('IsUnidirectional', + 'bool', + [], + is_const=True) + ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::LookupPrecursor(ns3::Ipv4Address id) [member function] + cls.add_method('LookupPrecursor', + 'bool', + [param('ns3::Ipv4Address', 'id')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetBalcklistTimeout(ns3::Time t) [member function] + cls.add_method('SetBalcklistTimeout', + 'void', + [param('ns3::Time', 't')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetFlag(ns3::aodv::RouteFlags flag) [member function] + cls.add_method('SetFlag', + 'void', + [param('ns3::aodv::RouteFlags', 'flag')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetHop(uint16_t hop) [member function] + cls.add_method('SetHop', + 'void', + [param('uint16_t', 'hop')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetInterface(ns3::Ipv4InterfaceAddress iface) [member function] + cls.add_method('SetInterface', + 'void', + [param('ns3::Ipv4InterfaceAddress', 'iface')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetLifeTime(ns3::Time lt) [member function] + cls.add_method('SetLifeTime', + 'void', + [param('ns3::Time', 'lt')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetNextHop(ns3::Ipv4Address nextHop) [member function] + cls.add_method('SetNextHop', + 'void', + [param('ns3::Ipv4Address', 'nextHop')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetOutputDevice(ns3::Ptr dev) [member function] + cls.add_method('SetOutputDevice', + 'void', + [param('ns3::Ptr< ns3::NetDevice >', 'dev')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetRoute(ns3::Ptr r) [member function] + cls.add_method('SetRoute', + 'void', + [param('ns3::Ptr< ns3::Ipv4Route >', 'r')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetRreqCnt(uint8_t n) [member function] + cls.add_method('SetRreqCnt', + 'void', + [param('uint8_t', 'n')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetSeqNo(uint32_t sn) [member function] + cls.add_method('SetSeqNo', + 'void', + [param('uint32_t', 'sn')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetUnidirectional(bool u) [member function] + cls.add_method('SetUnidirectional', + 'void', + [param('bool', 'u')]) + ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetValidSeqNo(bool s) [member function] + cls.add_method('SetValidSeqNo', + 'void', + [param('bool', 's')]) + ## aodv-rtable.h: ns3::aodv::RoutingTableEntry::m_ackTimer [variable] + cls.add_instance_attribute('m_ackTimer', 'ns3::Timer', is_const=False) + return + +def register_Ns3AodvRrepAckHeader_methods(root_module, cls): + cls.add_output_stream_operator() + cls.add_binary_comparison_operator('==') + ## aodv-packet.h: ns3::aodv::RrepAckHeader::RrepAckHeader(ns3::aodv::RrepAckHeader const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::RrepAckHeader const &', 'arg0')]) + ## aodv-packet.h: ns3::aodv::RrepAckHeader::RrepAckHeader() [constructor] + cls.add_constructor([]) + ## aodv-packet.h: uint32_t ns3::aodv::RrepAckHeader::Deserialize(ns3::Buffer::Iterator start) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'start')], + is_virtual=True) + ## aodv-packet.h: ns3::TypeId ns3::aodv::RrepAckHeader::GetInstanceTypeId() const [member function] + cls.add_method('GetInstanceTypeId', + 'ns3::TypeId', + [], + is_const=True, is_virtual=True) + ## aodv-packet.h: uint32_t ns3::aodv::RrepAckHeader::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## aodv-packet.h: void ns3::aodv::RrepAckHeader::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, is_virtual=True) + ## aodv-packet.h: void ns3::aodv::RrepAckHeader::Serialize(ns3::Buffer::Iterator start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator', 'start')], + is_const=True, is_virtual=True) + return + +def register_Ns3AodvRrepHeader_methods(root_module, cls): + cls.add_output_stream_operator() + cls.add_binary_comparison_operator('==') + ## aodv-packet.h: ns3::aodv::RrepHeader::RrepHeader(ns3::aodv::RrepHeader const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::RrepHeader const &', 'arg0')]) + ## aodv-packet.h: ns3::aodv::RrepHeader::RrepHeader(uint8_t prefixSize=0, uint8_t hopCount=0, ns3::Ipv4Address dst=ns3::Ipv4Address(), uint32_t dstSeqNo=0, ns3::Ipv4Address origin=ns3::Ipv4Address(), ns3::Time lifetime=ns3::MilliSeconds( )) [constructor] + cls.add_constructor([param('uint8_t', 'prefixSize', default_value='0'), param('uint8_t', 'hopCount', default_value='0'), param('ns3::Ipv4Address', 'dst', default_value='ns3::Ipv4Address()'), param('uint32_t', 'dstSeqNo', default_value='0'), param('ns3::Ipv4Address', 'origin', default_value='ns3::Ipv4Address()'), param('ns3::Time', 'lifetime', default_value='ns3::MilliSeconds(0)')]) + ## aodv-packet.h: uint32_t ns3::aodv::RrepHeader::Deserialize(ns3::Buffer::Iterator start) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'start')], + is_virtual=True) + ## aodv-packet.h: bool ns3::aodv::RrepHeader::GetAckRequired() const [member function] + cls.add_method('GetAckRequired', + 'bool', + [], + is_const=True) + ## aodv-packet.h: ns3::Ipv4Address ns3::aodv::RrepHeader::GetDst() const [member function] + cls.add_method('GetDst', + 'ns3::Ipv4Address', + [], + is_const=True) + ## aodv-packet.h: uint32_t ns3::aodv::RrepHeader::GetDstSeqno() const [member function] + cls.add_method('GetDstSeqno', + 'uint32_t', + [], + is_const=True) + ## aodv-packet.h: uint8_t ns3::aodv::RrepHeader::GetHopCount() const [member function] + cls.add_method('GetHopCount', + 'uint8_t', + [], + is_const=True) + ## aodv-packet.h: ns3::TypeId ns3::aodv::RrepHeader::GetInstanceTypeId() const [member function] + cls.add_method('GetInstanceTypeId', + 'ns3::TypeId', + [], + is_const=True, is_virtual=True) + ## aodv-packet.h: ns3::Time ns3::aodv::RrepHeader::GetLifeTime() const [member function] + cls.add_method('GetLifeTime', + 'ns3::Time', + [], + is_const=True) + ## aodv-packet.h: ns3::Ipv4Address ns3::aodv::RrepHeader::GetOrigin() const [member function] + cls.add_method('GetOrigin', + 'ns3::Ipv4Address', + [], + is_const=True) + ## aodv-packet.h: uint8_t ns3::aodv::RrepHeader::GetPrefixSize() const [member function] + cls.add_method('GetPrefixSize', + 'uint8_t', + [], + is_const=True) + ## aodv-packet.h: uint32_t ns3::aodv::RrepHeader::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## aodv-packet.h: void ns3::aodv::RrepHeader::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, is_virtual=True) + ## aodv-packet.h: void ns3::aodv::RrepHeader::Serialize(ns3::Buffer::Iterator start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator', 'start')], + is_const=True, is_virtual=True) + ## aodv-packet.h: void ns3::aodv::RrepHeader::SetAckRequired(bool f) [member function] + cls.add_method('SetAckRequired', + 'void', + [param('bool', 'f')]) + ## aodv-packet.h: void ns3::aodv::RrepHeader::SetDst(ns3::Ipv4Address a) [member function] + cls.add_method('SetDst', + 'void', + [param('ns3::Ipv4Address', 'a')]) + ## aodv-packet.h: void ns3::aodv::RrepHeader::SetDstSeqno(uint32_t s) [member function] + cls.add_method('SetDstSeqno', + 'void', + [param('uint32_t', 's')]) + ## aodv-packet.h: void ns3::aodv::RrepHeader::SetHello(ns3::Ipv4Address src, uint32_t srcSeqNo, ns3::Time lifetime) [member function] + cls.add_method('SetHello', + 'void', + [param('ns3::Ipv4Address', 'src'), param('uint32_t', 'srcSeqNo'), param('ns3::Time', 'lifetime')]) + ## aodv-packet.h: void ns3::aodv::RrepHeader::SetHopCount(uint8_t count) [member function] + cls.add_method('SetHopCount', + 'void', + [param('uint8_t', 'count')]) + ## aodv-packet.h: void ns3::aodv::RrepHeader::SetLifeTime(ns3::Time t) [member function] + cls.add_method('SetLifeTime', + 'void', + [param('ns3::Time', 't')]) + ## aodv-packet.h: void ns3::aodv::RrepHeader::SetOrigin(ns3::Ipv4Address a) [member function] + cls.add_method('SetOrigin', + 'void', + [param('ns3::Ipv4Address', 'a')]) + ## aodv-packet.h: void ns3::aodv::RrepHeader::SetPrefixSize(uint8_t sz) [member function] + cls.add_method('SetPrefixSize', + 'void', + [param('uint8_t', 'sz')]) + return + +def register_Ns3AodvRreqHeader_methods(root_module, cls): + cls.add_output_stream_operator() + cls.add_binary_comparison_operator('==') + ## aodv-packet.h: ns3::aodv::RreqHeader::RreqHeader(ns3::aodv::RreqHeader const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::RreqHeader const &', 'arg0')]) + ## aodv-packet.h: ns3::aodv::RreqHeader::RreqHeader(uint8_t flags=0, uint8_t reserved=0, uint8_t hopCount=0, uint32_t requestID=0, ns3::Ipv4Address dst=ns3::Ipv4Address(), uint32_t dstSeqNo=0, ns3::Ipv4Address origin=ns3::Ipv4Address(), uint32_t originSeqNo=0) [constructor] + cls.add_constructor([param('uint8_t', 'flags', default_value='0'), param('uint8_t', 'reserved', default_value='0'), param('uint8_t', 'hopCount', default_value='0'), param('uint32_t', 'requestID', default_value='0'), param('ns3::Ipv4Address', 'dst', default_value='ns3::Ipv4Address()'), param('uint32_t', 'dstSeqNo', default_value='0'), param('ns3::Ipv4Address', 'origin', default_value='ns3::Ipv4Address()'), param('uint32_t', 'originSeqNo', default_value='0')]) + ## aodv-packet.h: uint32_t ns3::aodv::RreqHeader::Deserialize(ns3::Buffer::Iterator start) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'start')], + is_virtual=True) + ## aodv-packet.h: bool ns3::aodv::RreqHeader::GetDestinationOnly() const [member function] + cls.add_method('GetDestinationOnly', + 'bool', + [], + is_const=True) + ## aodv-packet.h: ns3::Ipv4Address ns3::aodv::RreqHeader::GetDst() const [member function] + cls.add_method('GetDst', + 'ns3::Ipv4Address', + [], + is_const=True) + ## aodv-packet.h: uint32_t ns3::aodv::RreqHeader::GetDstSeqno() const [member function] + cls.add_method('GetDstSeqno', + 'uint32_t', + [], + is_const=True) + ## aodv-packet.h: bool ns3::aodv::RreqHeader::GetGratiousRrep() const [member function] + cls.add_method('GetGratiousRrep', + 'bool', + [], + is_const=True) + ## aodv-packet.h: uint8_t ns3::aodv::RreqHeader::GetHopCount() const [member function] + cls.add_method('GetHopCount', + 'uint8_t', + [], + is_const=True) + ## aodv-packet.h: uint8_t ns3::aodv::RreqHeader::GetId() const [member function] + cls.add_method('GetId', + 'uint8_t', + [], + is_const=True) + ## aodv-packet.h: ns3::TypeId ns3::aodv::RreqHeader::GetInstanceTypeId() const [member function] + cls.add_method('GetInstanceTypeId', + 'ns3::TypeId', + [], + is_const=True, is_virtual=True) + ## aodv-packet.h: ns3::Ipv4Address ns3::aodv::RreqHeader::GetOrigin() const [member function] + cls.add_method('GetOrigin', + 'ns3::Ipv4Address', + [], + is_const=True) + ## aodv-packet.h: uint32_t ns3::aodv::RreqHeader::GetOriginSeqno() const [member function] + cls.add_method('GetOriginSeqno', + 'uint32_t', + [], + is_const=True) + ## aodv-packet.h: uint32_t ns3::aodv::RreqHeader::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## aodv-packet.h: bool ns3::aodv::RreqHeader::GetUnknownSeqno() const [member function] + cls.add_method('GetUnknownSeqno', + 'bool', + [], + is_const=True) + ## aodv-packet.h: void ns3::aodv::RreqHeader::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, is_virtual=True) + ## aodv-packet.h: void ns3::aodv::RreqHeader::Serialize(ns3::Buffer::Iterator start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator', 'start')], + is_const=True, is_virtual=True) + ## aodv-packet.h: void ns3::aodv::RreqHeader::SetDestinationOnly(bool f) [member function] + cls.add_method('SetDestinationOnly', + 'void', + [param('bool', 'f')]) + ## aodv-packet.h: void ns3::aodv::RreqHeader::SetDst(ns3::Ipv4Address a) [member function] + cls.add_method('SetDst', + 'void', + [param('ns3::Ipv4Address', 'a')]) + ## aodv-packet.h: void ns3::aodv::RreqHeader::SetDstSeqno(uint32_t s) [member function] + cls.add_method('SetDstSeqno', + 'void', + [param('uint32_t', 's')]) + ## aodv-packet.h: void ns3::aodv::RreqHeader::SetGratiousRrep(bool f) [member function] + cls.add_method('SetGratiousRrep', + 'void', + [param('bool', 'f')]) + ## aodv-packet.h: void ns3::aodv::RreqHeader::SetHopCount(uint8_t count) [member function] + cls.add_method('SetHopCount', + 'void', + [param('uint8_t', 'count')]) + ## aodv-packet.h: void ns3::aodv::RreqHeader::SetId(uint32_t id) [member function] + cls.add_method('SetId', + 'void', + [param('uint32_t', 'id')]) + ## aodv-packet.h: void ns3::aodv::RreqHeader::SetOrigin(ns3::Ipv4Address a) [member function] + cls.add_method('SetOrigin', + 'void', + [param('ns3::Ipv4Address', 'a')]) + ## aodv-packet.h: void ns3::aodv::RreqHeader::SetOriginSeqno(uint32_t s) [member function] + cls.add_method('SetOriginSeqno', + 'void', + [param('uint32_t', 's')]) + ## aodv-packet.h: void ns3::aodv::RreqHeader::SetUnknownSeqno(bool f) [member function] + cls.add_method('SetUnknownSeqno', + 'void', + [param('bool', 'f')]) + return + +def register_Ns3AodvTypeHeader_methods(root_module, cls): + cls.add_output_stream_operator() + cls.add_binary_comparison_operator('==') + ## aodv-packet.h: ns3::aodv::TypeHeader::TypeHeader(ns3::aodv::TypeHeader const & arg0) [copy constructor] + cls.add_constructor([param('ns3::aodv::TypeHeader const &', 'arg0')]) + ## aodv-packet.h: ns3::aodv::TypeHeader::TypeHeader(ns3::aodv::MessageType t) [constructor] + cls.add_constructor([param('ns3::aodv::MessageType', 't')]) + ## aodv-packet.h: uint32_t ns3::aodv::TypeHeader::Deserialize(ns3::Buffer::Iterator start) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'start')], + is_virtual=True) + ## aodv-packet.h: ns3::aodv::MessageType ns3::aodv::TypeHeader::Get() const [member function] + cls.add_method('Get', + 'ns3::aodv::MessageType', + [], + is_const=True) + ## aodv-packet.h: ns3::TypeId ns3::aodv::TypeHeader::GetInstanceTypeId() const [member function] + cls.add_method('GetInstanceTypeId', + 'ns3::TypeId', + [], + is_const=True, is_virtual=True) + ## aodv-packet.h: uint32_t ns3::aodv::TypeHeader::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## aodv-packet.h: bool ns3::aodv::TypeHeader::IsValid() const [member function] + cls.add_method('IsValid', + 'bool', + [], + is_const=True) + ## aodv-packet.h: void ns3::aodv::TypeHeader::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, is_virtual=True) + ## aodv-packet.h: void ns3::aodv::TypeHeader::Serialize(ns3::Buffer::Iterator start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator', 'start')], + is_const=True, 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) + 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 + diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_bridge.py b/bindings/python/apidefs/gcc-LP64/ns3_module_bridge.py index 76c1401b9..62f000c37 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_bridge.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_bridge.py @@ -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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_common.py b/bindings/python/apidefs/gcc-LP64/ns3_module_common.py index 2d1c570f5..3d7437323 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_common.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_common.py @@ -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 [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::AsciiWriter', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [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 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::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::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::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 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::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 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::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 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 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::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 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::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 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 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 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::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::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::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 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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_contrib.py b/bindings/python/apidefs/gcc-LP64/ns3_module_contrib.py index e953c1869..bc0acf934 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_contrib.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_contrib.py @@ -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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_core.py b/bindings/python/apidefs/gcc-LP64/ns3_module_core.py index 614bbc12f..19229423b 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_core.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_core.py @@ -4,13 +4,11 @@ def register_types(module): root_module = module.get_root() ## log.h: ns3::LogLevel [enumeration] - module.add_enum('LogLevel', ['LOG_NONE', 'LOG_ERROR', 'LOG_LEVEL_ERROR', 'LOG_WARN', 'LOG_LEVEL_WARN', 'LOG_DEBUG', 'LOG_LEVEL_DEBUG', 'LOG_INFO', 'LOG_LEVEL_INFO', 'LOG_FUNCTION', 'LOG_LEVEL_FUNCTION', 'LOG_LOGIC', 'LOG_LEVEL_LOGIC', 'LOG_ALL', 'LOG_LEVEL_ALL', 'LOG_PREFIX_FUNC', 'LOG_PREFIX_TIME']) + module.add_enum('LogLevel', ['LOG_NONE', 'LOG_ERROR', 'LOG_LEVEL_ERROR', 'LOG_WARN', 'LOG_LEVEL_WARN', 'LOG_DEBUG', 'LOG_LEVEL_DEBUG', 'LOG_INFO', 'LOG_LEVEL_INFO', 'LOG_FUNCTION', 'LOG_LEVEL_FUNCTION', 'LOG_LOGIC', 'LOG_LEVEL_LOGIC', 'LOG_ALL', 'LOG_LEVEL_ALL', 'LOG_PREFIX_FUNC', 'LOG_PREFIX_TIME', 'LOG_PREFIX_NODE']) ## attribute-list.h: ns3::AttributeList [class] module.add_class('AttributeList') ## callback.h: ns3::CallbackBase [class] module.add_class('CallbackBase') - ## callback.h: ns3::CallbackImplBase [class] - module.add_class('CallbackImplBase', allow_subclassing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## command-line.h: ns3::CommandLine [class] module.add_class('CommandLine', allow_subclassing=True) ## system-mutex.h: ns3::CriticalSection [class] @@ -55,8 +53,6 @@ def register_types(module): module.add_class('ObjectRefCount', template_parameters=['ns3::Object', 'ns3::ObjectBase'], parent=root_module['ns3::ObjectBase']) ## random-variable.h: ns3::RandomVariable [class] module.add_class('RandomVariable') - ## ref-count-base.h: ns3::RefCountBase [class] - module.add_class('RefCountBase', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## rng-stream.h: ns3::RngStream [class] module.add_class('RngStream') ## random-variable.h: ns3::SeedManager [class] @@ -67,8 +63,6 @@ def register_types(module): module.add_class('SystemCondition') ## system-mutex.h: ns3::SystemMutex [class] module.add_class('SystemMutex') - ## system-thread.h: ns3::SystemThread [class] - module.add_class('SystemThread') ## system-wall-clock-ms.h: ns3::SystemWallClockMs [class] module.add_class('SystemWallClockMs') ## test.h: ns3::TestCase [class] @@ -79,8 +73,6 @@ def register_types(module): module.add_class('TestSuite', allow_subclassing=True) ## test.h: ns3::TestSuite::TestType [enumeration] module.add_enum('TestType', ['BVT', 'UNIT', 'SYSTEM', 'EXAMPLE', 'PERFORMANCE'], outer_class=root_module['ns3::TestSuite']) - ## trace-source-accessor.h: ns3::TraceSourceAccessor [class] - module.add_class('TraceSourceAccessor', allow_subclassing=True) ## random-variable.h: ns3::TriangularVariable [class] module.add_class('TriangularVariable', parent=root_module['ns3::RandomVariable']) ## type-id.h: ns3::TypeId [class] @@ -103,34 +95,12 @@ def register_types(module): module.add_class('ZipfVariable', parent=root_module['ns3::RandomVariable']) ## empty.h: ns3::empty [class] module.add_class('empty') - ## attribute.h: ns3::AttributeAccessor [class] - module.add_class('AttributeAccessor', parent=root_module['ns3::RefCountBase']) - ## attribute.h: ns3::AttributeChecker [class] - module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, parent=root_module['ns3::RefCountBase']) - ## attribute.h: ns3::AttributeValue [class] - module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, parent=root_module['ns3::RefCountBase']) - ## boolean.h: ns3::BooleanChecker [class] - module.add_class('BooleanChecker', parent=root_module['ns3::AttributeChecker']) - ## boolean.h: ns3::BooleanValue [class] - module.add_class('BooleanValue', parent=root_module['ns3::AttributeValue']) - ## callback.h: ns3::CallbackChecker [class] - module.add_class('CallbackChecker', parent=root_module['ns3::AttributeChecker']) - ## callback.h: ns3::CallbackValue [class] - module.add_class('CallbackValue', parent=root_module['ns3::AttributeValue']) ## random-variable.h: ns3::ConstantVariable [class] module.add_class('ConstantVariable', parent=root_module['ns3::RandomVariable']) ## random-variable.h: ns3::DeterministicVariable [class] module.add_class('DeterministicVariable', parent=root_module['ns3::RandomVariable']) - ## double.h: ns3::DoubleValue [class] - module.add_class('DoubleValue', parent=root_module['ns3::AttributeValue']) ## random-variable.h: ns3::EmpiricalVariable [class] module.add_class('EmpiricalVariable', parent=root_module['ns3::RandomVariable']) - ## attribute.h: ns3::EmptyAttributeValue [class] - module.add_class('EmptyAttributeValue', parent=root_module['ns3::AttributeValue']) - ## enum.h: ns3::EnumChecker [class] - module.add_class('EnumChecker', parent=root_module['ns3::AttributeChecker']) - ## enum.h: ns3::EnumValue [class] - module.add_class('EnumValue', parent=root_module['ns3::AttributeValue']) ## random-variable.h: ns3::ErlangVariable [class] module.add_class('ErlangVariable', parent=root_module['ns3::RandomVariable']) ## random-variable.h: ns3::ExponentialVariable [class] @@ -139,8 +109,6 @@ def register_types(module): module.add_class('GammaVariable', parent=root_module['ns3::RandomVariable']) ## random-variable.h: ns3::IntEmpiricalVariable [class] module.add_class('IntEmpiricalVariable', parent=root_module['ns3::EmpiricalVariable']) - ## integer.h: ns3::IntegerValue [class] - module.add_class('IntegerValue', parent=root_module['ns3::AttributeValue']) ## random-variable.h: ns3::LogNormalVariable [class] module.add_class('LogNormalVariable', parent=root_module['ns3::RandomVariable']) ## random-variable.h: ns3::NormalVariable [class] @@ -149,6 +117,52 @@ def register_types(module): module.add_class('Object', automatic_type_narrowing=True, parent=root_module['ns3::ObjectRefCount< ns3::Object, ns3::ObjectBase >'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## object.h: ns3::Object::AggregateIterator [class] module.add_class('AggregateIterator', outer_class=root_module['ns3::Object']) + ## random-variable.h: ns3::ParetoVariable [class] + module.add_class('ParetoVariable', parent=root_module['ns3::RandomVariable']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::AttributeAccessor', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::AttributeChecker', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::AttributeValue', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::CallbackImplBase', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::RefCountBase', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::SystemThread', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty'], parent=root_module['ns3::empty']) + ## system-thread.h: ns3::SystemThread [class] + module.add_class('SystemThread', parent=root_module['ns3::SimpleRefCount< ns3::SystemThread, ns3::empty >']) + ## trace-source-accessor.h: ns3::TraceSourceAccessor [class] + module.add_class('TraceSourceAccessor', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty >']) + ## attribute.h: ns3::AttributeAccessor [class] + module.add_class('AttributeAccessor', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty >']) + ## attribute.h: ns3::AttributeChecker [class] + module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty >']) + ## attribute.h: ns3::AttributeValue [class] + module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty >']) + ## boolean.h: ns3::BooleanChecker [class] + module.add_class('BooleanChecker', parent=root_module['ns3::AttributeChecker']) + ## boolean.h: ns3::BooleanValue [class] + module.add_class('BooleanValue', parent=root_module['ns3::AttributeValue']) + ## callback.h: ns3::CallbackChecker [class] + module.add_class('CallbackChecker', parent=root_module['ns3::AttributeChecker']) + ## callback.h: ns3::CallbackImplBase [class] + module.add_class('CallbackImplBase', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty >'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) + ## callback.h: ns3::CallbackValue [class] + module.add_class('CallbackValue', parent=root_module['ns3::AttributeValue']) + ## double.h: ns3::DoubleValue [class] + module.add_class('DoubleValue', parent=root_module['ns3::AttributeValue']) + ## attribute.h: ns3::EmptyAttributeValue [class] + module.add_class('EmptyAttributeValue', parent=root_module['ns3::AttributeValue']) + ## enum.h: ns3::EnumChecker [class] + module.add_class('EnumChecker', parent=root_module['ns3::AttributeChecker']) + ## enum.h: ns3::EnumValue [class] + module.add_class('EnumValue', parent=root_module['ns3::AttributeValue']) + ## integer.h: ns3::IntegerValue [class] + module.add_class('IntegerValue', parent=root_module['ns3::AttributeValue']) ## object-factory.h: ns3::ObjectFactoryChecker [class] module.add_class('ObjectFactoryChecker', parent=root_module['ns3::AttributeChecker']) ## object-factory.h: ns3::ObjectFactoryValue [class] @@ -159,8 +173,6 @@ def register_types(module): module.add_class('ObjectVectorChecker', parent=root_module['ns3::AttributeChecker']) ## object-vector.h: ns3::ObjectVectorValue [class] module.add_class('ObjectVectorValue', parent=root_module['ns3::AttributeValue']) - ## random-variable.h: ns3::ParetoVariable [class] - module.add_class('ParetoVariable', parent=root_module['ns3::RandomVariable']) ## pointer.h: ns3::PointerChecker [class] module.add_class('PointerChecker', parent=root_module['ns3::AttributeChecker']) ## pointer.h: ns3::PointerValue [class] @@ -169,6 +181,8 @@ def register_types(module): module.add_class('RandomVariableChecker', parent=root_module['ns3::AttributeChecker']) ## random-variable.h: ns3::RandomVariableValue [class] module.add_class('RandomVariableValue', parent=root_module['ns3::AttributeValue']) + ## ref-count-base.h: ns3::RefCountBase [class] + module.add_class('RefCountBase', automatic_type_narrowing=True, parent=root_module['ns3::SimpleRefCount< ns3::RefCountBase, ns3::empty >'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## string.h: ns3::StringChecker [class] module.add_class('StringChecker', parent=root_module['ns3::AttributeChecker']) ## string.h: ns3::StringValue [class] @@ -197,9 +211,9 @@ def register_types(module): root_module['ns3::TracedValue< unsigned int >'].implicitly_converts_to(root_module['ns3::BooleanValue']) ## traced-value.h: ns3::TracedValue [class] root_module['ns3::TracedValue< unsigned int >'].implicitly_converts_to(root_module['ns3::EnumValue']) - module.add_container('std::list< ns3::Ptr< ns3::RadvdPrefix > >', 'ns3::Ptr< ns3::RadvdPrefix >', container_type='list') module.add_container('std::list< ns3::Ptr< ns3::Packet > >', 'ns3::Ptr< ns3::Packet >', container_type='list') module.add_container('std::vector< ns3::Ptr< ns3::FlowProbe > >', 'ns3::Ptr< ns3::FlowProbe >', container_type='vector') + module.add_container('std::list< ns3::Ptr< ns3::RadvdPrefix > >', 'ns3::Ptr< ns3::RadvdPrefix >', container_type='list') module.add_container('std::vector< ns3::Ptr< ns3::NetDevice > >', 'ns3::Ptr< ns3::NetDevice >', container_type='vector') typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector') typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*') @@ -232,12 +246,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') @@ -271,12 +297,20 @@ 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() module.add_container('std::vector< ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit > >', 'ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit >', container_type='vector') module.add_container('std::vector< ns3::Ptr< ns3::dot11s::PeerLink > >', 'ns3::Ptr< ns3::dot11s::PeerLink >', container_type='vector') +def register_types_ns3_dpd(module): + root_module = module.get_root() + + def register_types_ns3_flame(module): root_module = module.get_root() @@ -292,7 +326,6 @@ def register_types_ns3_olsr(module): def register_methods(root_module): register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) - register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase']) register_Ns3CommandLine_methods(root_module, root_module['ns3::CommandLine']) register_Ns3CriticalSection_methods(root_module, root_module['ns3::CriticalSection']) register_Ns3GlobalValue_methods(root_module, root_module['ns3::GlobalValue']) @@ -308,18 +341,15 @@ def register_methods(root_module): register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory']) register_Ns3ObjectRefCount__Ns3Object_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectRefCount< ns3::Object, ns3::ObjectBase >']) register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable']) - register_Ns3RefCountBase_methods(root_module, root_module['ns3::RefCountBase']) register_Ns3RngStream_methods(root_module, root_module['ns3::RngStream']) register_Ns3SeedManager_methods(root_module, root_module['ns3::SeedManager']) register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable']) register_Ns3SystemCondition_methods(root_module, root_module['ns3::SystemCondition']) register_Ns3SystemMutex_methods(root_module, root_module['ns3::SystemMutex']) - register_Ns3SystemThread_methods(root_module, root_module['ns3::SystemThread']) register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs']) register_Ns3TestCase_methods(root_module, root_module['ns3::TestCase']) register_Ns3TestRunner_methods(root_module, root_module['ns3::TestRunner']) register_Ns3TestSuite_methods(root_module, root_module['ns3::TestSuite']) - register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) @@ -330,39 +360,69 @@ def register_methods(root_module): register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) + register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable']) + register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable']) + register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable']) + register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable']) + register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable']) + register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable']) + register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable']) + register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable']) + register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable']) + register_Ns3Object_methods(root_module, root_module['ns3::Object']) + register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator']) + register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable']) + register_Ns3SimpleRefCount__Ns3AsciiWriter_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::AsciiWriter, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3FlowClassifier_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::FlowClassifier, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3FlowProbe_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::FlowProbe, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3InterferenceHelperEvent_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::InterferenceHelper::Event, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3Ipv6MulticastRoute_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv6MulticastRoute, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3Ipv6Route_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv6Route, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3MeshWifiInterfaceMacPlugin_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::MeshWifiInterfaceMacPlugin, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3PbbAddressBlock_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbAddressBlock, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3PbbMessage_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbMessage, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3PbbPacket_Ns3Header_methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbPacket, ns3::Header >']) + register_Ns3SimpleRefCount__Ns3PbbTlv_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbTlv, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3RadvdInterface_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::RadvdInterface, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3RadvdPrefix_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::RadvdPrefix, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3RefCountBase_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::RefCountBase, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3SystemThread_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::SystemThread, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty >']) + register_Ns3SimpleRefCount__Ns3Dot11sIeBeaconTimingUnit_Ns3Empty_methods(root_module, root_module['ns3::SimpleRefCount< ns3::dot11s::IeBeaconTimingUnit, ns3::empty >']) + register_Ns3SystemThread_methods(root_module, root_module['ns3::SystemThread']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker']) register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue']) register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker']) register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue']) register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker']) + register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase']) register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue']) - register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable']) - register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable']) register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue']) - register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable']) register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue']) register_Ns3EnumChecker_methods(root_module, root_module['ns3::EnumChecker']) register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue']) - register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable']) - register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable']) - register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable']) - register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable']) register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue']) - register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable']) - register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable']) - register_Ns3Object_methods(root_module, root_module['ns3::Object']) - register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator']) register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker']) register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue']) register_Ns3ObjectVectorAccessor_methods(root_module, root_module['ns3::ObjectVectorAccessor']) register_Ns3ObjectVectorChecker_methods(root_module, root_module['ns3::ObjectVectorChecker']) register_Ns3ObjectVectorValue_methods(root_module, root_module['ns3::ObjectVectorValue']) - register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable']) register_Ns3PointerChecker_methods(root_module, root_module['ns3::PointerChecker']) register_Ns3PointerValue_methods(root_module, root_module['ns3::PointerValue']) register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker']) register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue']) + register_Ns3RefCountBase_methods(root_module, root_module['ns3::RefCountBase']) register_Ns3StringChecker_methods(root_module, root_module['ns3::StringChecker']) register_Ns3StringValue_methods(root_module, root_module['ns3::StringValue']) register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker']) @@ -433,18 +493,6 @@ def register_Ns3CallbackBase_methods(root_module, cls): is_static=True, visibility='protected') return -def register_Ns3CallbackImplBase_methods(root_module, cls): - ## callback.h: ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')]) - ## callback.h: ns3::CallbackImplBase::CallbackImplBase() [constructor] - cls.add_constructor([]) - ## callback.h: bool ns3::CallbackImplBase::IsEqual(ns3::Ptr other) const [member function] - cls.add_method('IsEqual', - 'bool', - [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - def register_Ns3CommandLine_methods(root_module, cls): ## command-line.h: ns3::CommandLine::CommandLine() [constructor] cls.add_constructor([]) @@ -779,13 +827,6 @@ def register_Ns3RandomVariable_methods(root_module, cls): is_const=True) return -def register_Ns3RefCountBase_methods(root_module, cls): - ## ref-count-base.h: ns3::RefCountBase::RefCountBase() [constructor] - cls.add_constructor([]) - ## ref-count-base.h: ns3::RefCountBase::RefCountBase(ns3::RefCountBase const & o) [copy constructor] - cls.add_constructor([param('ns3::RefCountBase const &', 'o')]) - return - def register_Ns3RngStream_methods(root_module, cls): ## rng-stream.h: ns3::RngStream::RngStream() [constructor] cls.add_constructor([]) @@ -964,39 +1005,6 @@ def register_Ns3SystemMutex_methods(root_module, cls): []) return -def register_Ns3SystemThread_methods(root_module, cls): - ## system-thread.h: ns3::SystemThread::SystemThread(ns3::SystemThread const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SystemThread const &', 'arg0')]) - ## system-thread.h: ns3::SystemThread::SystemThread(ns3::Callback callback) [constructor] - cls.add_constructor([param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## system-thread.h: bool ns3::SystemThread::Break() [member function] - cls.add_method('Break', - 'bool', - []) - ## system-thread.h: void ns3::SystemThread::Join() [member function] - cls.add_method('Join', - 'void', - []) - ## system-thread.h: void ns3::SystemThread::Ref() const [member function] - cls.add_method('Ref', - 'void', - [], - is_const=True) - ## system-thread.h: void ns3::SystemThread::Shutdown() [member function] - cls.add_method('Shutdown', - 'void', - []) - ## system-thread.h: void ns3::SystemThread::Start() [member function] - cls.add_method('Start', - 'void', - []) - ## system-thread.h: void ns3::SystemThread::Unref() const [member function] - cls.add_method('Unref', - 'void', - [], - is_const=True) - return - def register_Ns3SystemWallClockMs_methods(root_module, cls): ## system-wall-clock-ms.h: ns3::SystemWallClockMs::SystemWallClockMs(ns3::SystemWallClockMs const & arg0) [copy constructor] cls.add_constructor([param('ns3::SystemWallClockMs const &', 'arg0')]) @@ -1306,43 +1314,6 @@ def register_Ns3TestSuite_methods(root_module, cls): visibility='protected', is_virtual=True) return -def register_Ns3TraceSourceAccessor_methods(root_module, cls): - ## trace-source-accessor.h: ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) - ## trace-source-accessor.h: ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] - cls.add_constructor([]) - ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] - cls.add_method('Connect', - 'bool', - [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] - cls.add_method('ConnectWithoutContext', - 'bool', - [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] - cls.add_method('Disconnect', - 'bool', - [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] - cls.add_method('DisconnectWithoutContext', - 'bool', - [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## trace-source-accessor.h: void ns3::TraceSourceAccessor::Ref() const [member function] - cls.add_method('Ref', - 'void', - [], - is_const=True) - ## trace-source-accessor.h: void ns3::TraceSourceAccessor::Unref() const [member function] - cls.add_method('Unref', - 'void', - [], - is_const=True) - return - def register_Ns3TriangularVariable_methods(root_module, cls): ## random-variable.h: ns3::TriangularVariable::TriangularVariable(ns3::TriangularVariable const & arg0) [copy constructor] cls.add_constructor([param('ns3::TriangularVariable const &', 'arg0')]) @@ -1640,6 +1611,822 @@ def register_Ns3Empty_methods(root_module, cls): cls.add_constructor([param('ns3::empty const &', 'arg0')]) return +def register_Ns3ConstantVariable_methods(root_module, cls): + ## random-variable.h: ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')]) + ## random-variable.h: ns3::ConstantVariable::ConstantVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h: ns3::ConstantVariable::ConstantVariable(double c) [constructor] + cls.add_constructor([param('double', 'c')]) + ## random-variable.h: void ns3::ConstantVariable::SetConstant(double c) [member function] + cls.add_method('SetConstant', + 'void', + [param('double', 'c')]) + return + +def register_Ns3DeterministicVariable_methods(root_module, cls): + ## random-variable.h: ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')]) + ## random-variable.h: ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor] + cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')]) + return + +def register_Ns3EmpiricalVariable_methods(root_module, cls): + ## random-variable.h: ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')]) + ## random-variable.h: ns3::EmpiricalVariable::EmpiricalVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h: void ns3::EmpiricalVariable::CDF(double v, double c) [member function] + cls.add_method('CDF', + 'void', + [param('double', 'v'), param('double', 'c')]) + return + +def register_Ns3ErlangVariable_methods(root_module, cls): + ## random-variable.h: ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')]) + ## random-variable.h: ns3::ErlangVariable::ErlangVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h: ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor] + cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')]) + ## random-variable.h: double ns3::ErlangVariable::GetValue() const [member function] + cls.add_method('GetValue', + 'double', + [], + is_const=True) + ## random-variable.h: double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function] + cls.add_method('GetValue', + 'double', + [param('unsigned int', 'k'), param('double', 'lambda')], + is_const=True) + return + +def register_Ns3ExponentialVariable_methods(root_module, cls): + ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')]) + ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(double m) [constructor] + cls.add_constructor([param('double', 'm')]) + ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 'b')]) + return + +def register_Ns3GammaVariable_methods(root_module, cls): + ## random-variable.h: ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')]) + ## random-variable.h: ns3::GammaVariable::GammaVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h: ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor] + cls.add_constructor([param('double', 'alpha'), param('double', 'beta')]) + ## random-variable.h: double ns3::GammaVariable::GetValue() const [member function] + cls.add_method('GetValue', + 'double', + [], + is_const=True) + ## random-variable.h: double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'alpha'), param('double', 'beta')], + is_const=True) + return + +def register_Ns3IntEmpiricalVariable_methods(root_module, cls): + ## random-variable.h: ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')]) + ## random-variable.h: ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor] + cls.add_constructor([]) + return + +def register_Ns3LogNormalVariable_methods(root_module, cls): + ## random-variable.h: ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')]) + ## random-variable.h: ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor] + cls.add_constructor([param('double', 'mu'), param('double', 'sigma')]) + return + +def register_Ns3NormalVariable_methods(root_module, cls): + ## random-variable.h: ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')]) + ## random-variable.h: ns3::NormalVariable::NormalVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h: ns3::NormalVariable::NormalVariable(double m, double v) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 'v')]) + ## random-variable.h: ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')]) + return + +def register_Ns3Object_methods(root_module, cls): + ## object.h: ns3::Object::Object() [constructor] + cls.add_constructor([]) + ## object.h: void ns3::Object::AggregateObject(ns3::Ptr other) [member function] + cls.add_method('AggregateObject', + 'void', + [param('ns3::Ptr< ns3::Object >', 'other')]) + ## object.h: void ns3::Object::Dispose() [member function] + cls.add_method('Dispose', + 'void', + []) + ## object.h: ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function] + cls.add_method('GetAggregateIterator', + 'ns3::Object::AggregateIterator', + [], + is_const=True) + ## object.h: ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function] + cls.add_method('GetInstanceTypeId', + 'ns3::TypeId', + [], + is_const=True, is_virtual=True) + ## object.h: ns3::Ptr ns3::Object::GetObject(ns3::TypeId tid) const [member function] + cls.add_method('GetObject', + 'ns3::Ptr< ns3::Object >', + [param('ns3::TypeId', 'tid')], + is_const=True, template_parameters=['ns3::Object'], custom_template_method_name='GetObject') + ## object.h: static ns3::TypeId ns3::Object::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## object.h: void ns3::Object::Start() [member function] + cls.add_method('Start', + 'void', + []) + ## object.h: ns3::Object::Object(ns3::Object const & o) [copy constructor] + cls.add_constructor([param('ns3::Object const &', 'o')], + visibility='protected') + ## object.h: void ns3::Object::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## object.h: void ns3::Object::DoStart() [member function] + cls.add_method('DoStart', + 'void', + [], + visibility='protected', is_virtual=True) + ## object.h: void ns3::Object::NotifyNewAggregate() [member function] + cls.add_method('NotifyNewAggregate', + 'void', + [], + visibility='protected', is_virtual=True) + ## object.h: void ns3::Object::DoDelete() [member function] + cls.add_method('DoDelete', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3ObjectAggregateIterator_methods(root_module, cls): + ## object.h: ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')]) + ## object.h: ns3::Object::AggregateIterator::AggregateIterator() [constructor] + cls.add_constructor([]) + ## object.h: bool ns3::Object::AggregateIterator::HasNext() const [member function] + cls.add_method('HasNext', + 'bool', + [], + is_const=True) + ## object.h: ns3::Ptr ns3::Object::AggregateIterator::Next() [member function] + cls.add_method('Next', + 'ns3::Ptr< ns3::Object const >', + []) + return + +def register_Ns3ParetoVariable_methods(root_module, cls): + ## random-variable.h: ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')]) + ## random-variable.h: ns3::ParetoVariable::ParetoVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m) [constructor] + cls.add_constructor([param('double', 'm')]) + ## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 's')]) + ## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')]) + return + +def register_Ns3SimpleRefCount__Ns3AsciiWriter_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::AsciiWriter, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3FlowClassifier_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::FlowClassifier, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3FlowProbe_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::FlowProbe, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3InterferenceHelperEvent_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::InterferenceHelper::Event, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3Ipv6MulticastRoute_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv6MulticastRoute, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3Ipv6Route_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv6Route, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3MeshWifiInterfaceMacPlugin_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::MeshWifiInterfaceMacPlugin, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3PbbAddressBlock_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::PbbAddressBlock, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3PbbMessage_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::PbbMessage, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3PbbPacket_Ns3Header_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::PbbPacket, ns3::Header > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3PbbTlv_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::PbbTlv, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3RadvdInterface_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::RadvdInterface, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3RadvdPrefix_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::RadvdPrefix, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3RefCountBase_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::RefCountBase, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3SystemThread_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::SystemThread, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SimpleRefCount__Ns3Dot11sIeBeaconTimingUnit_Ns3Empty_methods(root_module, cls): + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] + cls.add_constructor([]) + ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::dot11s::IeBeaconTimingUnit, ns3::empty > const &', 'o')]) + ## simple-ref-count.h: uint32_t ns3::SimpleRefCount::GetReferenceCount() const [member function] + cls.add_method('GetReferenceCount', + 'uint32_t', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## simple-ref-count.h: void ns3::SimpleRefCount::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + return + +def register_Ns3SystemThread_methods(root_module, cls): + ## system-thread.h: ns3::SystemThread::SystemThread(ns3::SystemThread const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SystemThread const &', 'arg0')]) + ## system-thread.h: ns3::SystemThread::SystemThread(ns3::Callback callback) [constructor] + cls.add_constructor([param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) + ## system-thread.h: bool ns3::SystemThread::Break() [member function] + cls.add_method('Break', + 'bool', + []) + ## system-thread.h: void ns3::SystemThread::Join() [member function] + cls.add_method('Join', + 'void', + []) + ## system-thread.h: void ns3::SystemThread::Shutdown() [member function] + cls.add_method('Shutdown', + 'void', + []) + ## system-thread.h: void ns3::SystemThread::Start() [member function] + cls.add_method('Start', + 'void', + []) + return + +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h: ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h: ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3AttributeAccessor_methods(root_module, cls): ## attribute.h: ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor] cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')]) @@ -1774,6 +2561,18 @@ def register_Ns3CallbackChecker_methods(root_module, cls): cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')]) return +def register_Ns3CallbackImplBase_methods(root_module, cls): + ## callback.h: ns3::CallbackImplBase::CallbackImplBase() [constructor] + cls.add_constructor([]) + ## callback.h: ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor] + cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')]) + ## callback.h: bool ns3::CallbackImplBase::IsEqual(ns3::Ptr other) const [member function] + cls.add_method('IsEqual', + 'bool', + [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3CallbackValue_methods(root_module, cls): ## callback.h: ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor] cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')]) @@ -1802,26 +2601,6 @@ def register_Ns3CallbackValue_methods(root_module, cls): [param('ns3::CallbackBase', 'base')]) return -def register_Ns3ConstantVariable_methods(root_module, cls): - ## random-variable.h: ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')]) - ## random-variable.h: ns3::ConstantVariable::ConstantVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::ConstantVariable::ConstantVariable(double c) [constructor] - cls.add_constructor([param('double', 'c')]) - ## random-variable.h: void ns3::ConstantVariable::SetConstant(double c) [member function] - cls.add_method('SetConstant', - 'void', - [param('double', 'c')]) - return - -def register_Ns3DeterministicVariable_methods(root_module, cls): - ## random-variable.h: ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')]) - ## random-variable.h: ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor] - cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')]) - return - def register_Ns3DoubleValue_methods(root_module, cls): ## double.h: ns3::DoubleValue::DoubleValue() [constructor] cls.add_constructor([]) @@ -1855,17 +2634,6 @@ def register_Ns3DoubleValue_methods(root_module, cls): [param('double const &', 'value')]) return -def register_Ns3EmpiricalVariable_methods(root_module, cls): - ## random-variable.h: ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')]) - ## random-variable.h: ns3::EmpiricalVariable::EmpiricalVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: void ns3::EmpiricalVariable::CDF(double v, double c) [member function] - cls.add_method('CDF', - 'void', - [param('double', 'v'), param('double', 'c')]) - return - def register_Ns3EmptyAttributeValue_methods(root_module, cls): ## attribute.h: ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor] cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')]) @@ -1966,62 +2734,6 @@ def register_Ns3EnumValue_methods(root_module, cls): [param('int', 'v')]) return -def register_Ns3ErlangVariable_methods(root_module, cls): - ## random-variable.h: ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')]) - ## random-variable.h: ns3::ErlangVariable::ErlangVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor] - cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')]) - ## random-variable.h: double ns3::ErlangVariable::GetValue() const [member function] - cls.add_method('GetValue', - 'double', - [], - is_const=True) - ## random-variable.h: double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function] - cls.add_method('GetValue', - 'double', - [param('unsigned int', 'k'), param('double', 'lambda')], - is_const=True) - return - -def register_Ns3ExponentialVariable_methods(root_module, cls): - ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')]) - ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(double m) [constructor] - cls.add_constructor([param('double', 'm')]) - ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 'b')]) - return - -def register_Ns3GammaVariable_methods(root_module, cls): - ## random-variable.h: ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')]) - ## random-variable.h: ns3::GammaVariable::GammaVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor] - cls.add_constructor([param('double', 'alpha'), param('double', 'beta')]) - ## random-variable.h: double ns3::GammaVariable::GetValue() const [member function] - cls.add_method('GetValue', - 'double', - [], - is_const=True) - ## random-variable.h: double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function] - cls.add_method('GetValue', - 'double', - [param('double', 'alpha'), param('double', 'beta')], - is_const=True) - return - -def register_Ns3IntEmpiricalVariable_methods(root_module, cls): - ## random-variable.h: ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')]) - ## random-variable.h: ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor] - cls.add_constructor([]) - return - def register_Ns3IntegerValue_methods(root_module, cls): ## integer.h: ns3::IntegerValue::IntegerValue() [constructor] cls.add_constructor([]) @@ -2055,91 +2767,6 @@ def register_Ns3IntegerValue_methods(root_module, cls): [param('int64_t const &', 'value')]) return -def register_Ns3LogNormalVariable_methods(root_module, cls): - ## random-variable.h: ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')]) - ## random-variable.h: ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor] - cls.add_constructor([param('double', 'mu'), param('double', 'sigma')]) - return - -def register_Ns3NormalVariable_methods(root_module, cls): - ## random-variable.h: ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')]) - ## random-variable.h: ns3::NormalVariable::NormalVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::NormalVariable::NormalVariable(double m, double v) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 'v')]) - ## random-variable.h: ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')]) - return - -def register_Ns3Object_methods(root_module, cls): - ## object.h: ns3::Object::Object() [constructor] - cls.add_constructor([]) - ## object.h: void ns3::Object::AggregateObject(ns3::Ptr other) [member function] - cls.add_method('AggregateObject', - 'void', - [param('ns3::Ptr< ns3::Object >', 'other')]) - ## object.h: void ns3::Object::Dispose() [member function] - cls.add_method('Dispose', - 'void', - []) - ## object.h: ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function] - cls.add_method('GetAggregateIterator', - 'ns3::Object::AggregateIterator', - [], - is_const=True) - ## object.h: ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## object.h: ns3::Ptr ns3::Object::GetObject(ns3::TypeId tid) const [member function] - cls.add_method('GetObject', - 'ns3::Ptr< ns3::Object >', - [param('ns3::TypeId', 'tid')], - is_const=True, template_parameters=['ns3::Object'], custom_template_method_name='GetObject') - ## object.h: static ns3::TypeId ns3::Object::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## object.h: ns3::Object::Object(ns3::Object const & o) [copy constructor] - cls.add_constructor([param('ns3::Object const &', 'o')], - visibility='protected') - ## object.h: void ns3::Object::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## object.h: void ns3::Object::NotifyNewAggregate() [member function] - cls.add_method('NotifyNewAggregate', - 'void', - [], - visibility='protected', is_virtual=True) - ## object.h: void ns3::Object::DoDelete() [member function] - cls.add_method('DoDelete', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3ObjectAggregateIterator_methods(root_module, cls): - ## object.h: ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')]) - ## object.h: ns3::Object::AggregateIterator::AggregateIterator() [constructor] - cls.add_constructor([]) - ## object.h: bool ns3::Object::AggregateIterator::HasNext() const [member function] - cls.add_method('HasNext', - 'bool', - [], - is_const=True) - ## object.h: ns3::Ptr ns3::Object::AggregateIterator::Next() [member function] - cls.add_method('Next', - 'ns3::Ptr< ns3::Object const >', - []) - return - def register_Ns3ObjectFactoryChecker_methods(root_module, cls): ## object-factory.h: ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor] cls.add_constructor([]) @@ -2271,19 +2898,6 @@ def register_Ns3ObjectVectorValue_methods(root_module, cls): is_const=True, is_virtual=True) return -def register_Ns3ParetoVariable_methods(root_module, cls): - ## random-variable.h: ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')]) - ## random-variable.h: ns3::ParetoVariable::ParetoVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m) [constructor] - cls.add_constructor([param('double', 'm')]) - ## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 's')]) - ## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')]) - return - def register_Ns3PointerChecker_methods(root_module, cls): ## pointer.h: ns3::PointerChecker::PointerChecker() [constructor] cls.add_constructor([]) @@ -2369,6 +2983,13 @@ def register_Ns3RandomVariableValue_methods(root_module, cls): [param('ns3::RandomVariable const &', 'value')]) return +def register_Ns3RefCountBase_methods(root_module, cls): + ## ref-count-base.h: ns3::RefCountBase::RefCountBase() [constructor] + cls.add_constructor([]) + ## ref-count-base.h: ns3::RefCountBase::RefCountBase(ns3::RefCountBase const & arg0) [copy constructor] + cls.add_constructor([param('ns3::RefCountBase const &', 'arg0')]) + return + def register_Ns3StringChecker_methods(root_module, cls): ## string.h: ns3::StringChecker::StringChecker() [constructor] cls.add_constructor([]) @@ -2800,7 +3421,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) @@ -2871,9 +3494,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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_csma.py b/bindings/python/apidefs/gcc-LP64/ns3_module_csma.py index f70b6d99b..7e81d1b4d 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_csma.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_csma.py @@ -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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_dot11s.py b/bindings/python/apidefs/gcc-LP64/ns3_module_dot11s.py index 5fe75dbac..a935498ff 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_dot11s.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_dot11s.py @@ -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 [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::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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_dpd.py b/bindings/python/apidefs/gcc-LP64/ns3_module_dpd.py new file mode 100644 index 000000000..e77c3ffc5 --- /dev/null +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_dpd.py @@ -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 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 + diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_emu.py b/bindings/python/apidefs/gcc-LP64/ns3_module_emu.py index b69d9fbaf..45ab5bf00 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_emu.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_emu.py @@ -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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_flame.py b/bindings/python/apidefs/gcc-LP64/ns3_module_flame.py index 453d1c01d..1d519277d 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_flame.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_flame.py @@ -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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_flow_monitor.py b/bindings/python/apidefs/gcc-LP64/ns3_module_flow_monitor.py index 1b8d38400..41626e609 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_flow_monitor.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_flow_monitor.py @@ -5,10 +5,18 @@ def register_types(module): ## histogram.h: ns3::Histogram [class] module.add_class('Histogram') + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::FlowClassifier', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [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, std::allocator > > 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 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 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 monitor, ns3::Ptr classifier, ns3::Ptr 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, std::allocator > > 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 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 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 monitor, ns3::Ptr classifier, ns3::Ptr 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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_global_routing.py b/bindings/python/apidefs/gcc-LP64/ns3_module_global_routing.py index 4f44b1996..cb341be15 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_global_routing.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_global_routing.py @@ -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 p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback,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 p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, 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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_helper.py b/bindings/python/apidefs/gcc-LP64/ns3_module_helper.py index b527b38a6..358877f13 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_helper.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_helper.py @@ -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::AodvHelper::Create(ns3::Ptr 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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_internet_stack.py b/bindings/python/apidefs/gcc-LP64/ns3_module_internet_stack.py index f7fa01726..6e647e8a6 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_internet_stack.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_internet_stack.py @@ -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::Ipv4Interface::GetArpCache() const [member function] + cls.add_method('GetArpCache', + 'ns3::Ptr< ns3::ArpCache >', + [], + is_const=True) + ## ipv4-interface.h: ns3::Ptr 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 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 arg0) [member function] + cls.add_method('SetArpCache', + 'void', + [param('ns3::Ptr< ns3::ArpCache >', 'arg0')]) + ## ipv4-interface.h: void ns3::Ipv4Interface::SetDevice(ns3::Ptr 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 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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_list_routing.py b/bindings/python/apidefs/gcc-LP64/ns3_module_list_routing.py index 36415514e..55af6b3b5 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_list_routing.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_list_routing.py @@ -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 p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback,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 p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, 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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_mesh.py b/bindings/python/apidefs/gcc-LP64/ns3_module_mesh.py index ba7867490..25bd6a670 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_mesh.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_mesh.py @@ -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 [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::MeshWifiInterfaceMacPlugin', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [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 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 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 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 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 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 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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_mobility.py b/bindings/python/apidefs/gcc-LP64/ns3_module_mobility.py index 37f4e096e..fd921e345 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_mobility.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_mobility.py @@ -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::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 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 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::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 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 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::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 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 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::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 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 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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_nix_vector_routing.py b/bindings/python/apidefs/gcc-LP64/ns3_module_nix_vector_routing.py index f027a698f..f764da24f 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_nix_vector_routing.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_nix_vector_routing.py @@ -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 p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback,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 p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, 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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_node.py b/bindings/python/apidefs/gcc-LP64/ns3_module_node.py index 36d872341..ad45bb39d 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_node.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_node.py @@ -59,66 +59,36 @@ def register_types(module): module.add_class('PacketSocketAddress') ## packet-socket-address.h: ns3::PacketSocketAddress [class] root_module['ns3::PacketSocketAddress'].implicitly_converts_to(root_module['ns3::Address']) - ## packetbb.h: ns3::PbbAddressBlock [class] - module.add_class('PbbAddressBlock', allow_subclassing=True) - ## packetbb.h: ns3::PbbAddressBlockIpv4 [class] - module.add_class('PbbAddressBlockIpv4', parent=root_module['ns3::PbbAddressBlock']) - ## packetbb.h: ns3::PbbAddressBlockIpv6 [class] - module.add_class('PbbAddressBlockIpv6', parent=root_module['ns3::PbbAddressBlock']) ## packetbb.h: ns3::PbbAddressTlvBlock [class] module.add_class('PbbAddressTlvBlock') - ## packetbb.h: ns3::PbbMessage [class] - module.add_class('PbbMessage', allow_subclassing=True) - ## packetbb.h: ns3::PbbMessageIpv4 [class] - module.add_class('PbbMessageIpv4', parent=root_module['ns3::PbbMessage']) - ## packetbb.h: ns3::PbbMessageIpv6 [class] - module.add_class('PbbMessageIpv6', parent=root_module['ns3::PbbMessage']) - ## packetbb.h: ns3::PbbTlv [class] - module.add_class('PbbTlv') ## packetbb.h: ns3::PbbTlvBlock [class] module.add_class('PbbTlvBlock') - ## ipv4-address.h: ns3::Ipv4AddressChecker [class] - module.add_class('Ipv4AddressChecker', parent=root_module['ns3::AttributeChecker']) - ## ipv4-address.h: ns3::Ipv4AddressValue [class] - module.add_class('Ipv4AddressValue', parent=root_module['ns3::AttributeValue']) ## ipv4-header.h: ns3::Ipv4Header [class] module.add_class('Ipv4Header', parent=root_module['ns3::Header']) - ## ipv4-address.h: ns3::Ipv4MaskChecker [class] - module.add_class('Ipv4MaskChecker', parent=root_module['ns3::AttributeChecker']) - ## ipv4-address.h: ns3::Ipv4MaskValue [class] - module.add_class('Ipv4MaskValue', parent=root_module['ns3::AttributeValue']) - ## ipv4-route.h: ns3::Ipv4MulticastRoute [class] - module.add_class('Ipv4MulticastRoute', parent=root_module['ns3::RefCountBase']) - ## ipv4-route.h: ns3::Ipv4Route [class] - module.add_class('Ipv4Route', parent=root_module['ns3::RefCountBase']) - ## ipv6-address.h: ns3::Ipv6AddressChecker [class] - module.add_class('Ipv6AddressChecker', parent=root_module['ns3::AttributeChecker']) - ## ipv6-address.h: ns3::Ipv6AddressValue [class] - module.add_class('Ipv6AddressValue', parent=root_module['ns3::AttributeValue']) ## ipv6-header.h: ns3::Ipv6Header [class] module.add_class('Ipv6Header', parent=root_module['ns3::Header']) ## ipv6-header.h: ns3::Ipv6Header::NextHeader_e [enumeration] module.add_enum('NextHeader_e', ['IPV6_EXT_HOP_BY_HOP', 'IPV6_IPV4', 'IPV6_TCP', 'IPV6_UDP', 'IPV6_IPV6', 'IPV6_EXT_ROUTING', 'IPV6_EXT_FRAGMENTATION', 'IPV6_EXT_CONFIDENTIALITY', 'IPV6_EXT_AUTHENTIFICATION', 'IPV6_ICMPV6', 'IPV6_EXT_END', 'IPV6_EXT_DESTINATION', 'IPV6_SCTP', 'IPV6_EXT_MOBILITY', 'IPV6_UDP_LITE'], outer_class=root_module['ns3::Ipv6Header']) - ## ipv6-route.h: ns3::Ipv6MulticastRoute [class] - module.add_class('Ipv6MulticastRoute', parent=root_module['ns3::RefCountBase']) - ## ipv6-address.h: ns3::Ipv6PrefixChecker [class] - module.add_class('Ipv6PrefixChecker', parent=root_module['ns3::AttributeChecker']) - ## ipv6-address.h: ns3::Ipv6PrefixValue [class] - module.add_class('Ipv6PrefixValue', parent=root_module['ns3::AttributeValue']) - ## ipv6-route.h: ns3::Ipv6Route [class] - module.add_class('Ipv6Route', parent=root_module['ns3::RefCountBase']) ## llc-snap-header.h: ns3::LlcSnapHeader [class] module.add_class('LlcSnapHeader', parent=root_module['ns3::Header']) - ## mac48-address.h: ns3::Mac48AddressChecker [class] - module.add_class('Mac48AddressChecker', parent=root_module['ns3::AttributeChecker']) - ## mac48-address.h: ns3::Mac48AddressValue [class] - module.add_class('Mac48AddressValue', parent=root_module['ns3::AttributeValue']) - ## packetbb.h: ns3::PbbAddressTlv [class] - module.add_class('PbbAddressTlv', parent=root_module['ns3::PbbTlv']) - ## packetbb.h: ns3::PbbPacket [class] - module.add_class('PbbPacket', parent=root_module['ns3::Header']) ## queue.h: ns3::Queue [class] module.add_class('Queue', parent=root_module['ns3::Object']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::Ipv4MulticastRoute', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::Ipv4Route', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::Ipv6MulticastRoute', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::Ipv6Route', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::PbbAddressBlock', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::PbbMessage', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::PbbPacket', 'ns3::Header'], parent=root_module['ns3::Header']) + ## simple-ref-count.h: ns3::SimpleRefCount [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::PbbTlv', 'ns3::empty'], parent=root_module['ns3::empty']) ## socket.h: ns3::Socket [class] module.add_class('Socket', parent=root_module['ns3::Object']) ## socket.h: ns3::Socket::SocketErrno [enumeration] @@ -139,10 +109,6 @@ def register_types(module): module.add_class('UdpSocket', parent=root_module['ns3::Socket']) ## udp-socket-factory.h: ns3::UdpSocketFactory [class] module.add_class('UdpSocketFactory', parent=root_module['ns3::SocketFactory']) - ## address.h: ns3::AddressChecker [class] - module.add_class('AddressChecker', parent=root_module['ns3::AttributeChecker']) - ## address.h: ns3::AddressValue [class] - module.add_class('AddressValue', parent=root_module['ns3::AttributeValue']) ## application.h: ns3::Application [class] module.add_class('Application', parent=root_module['ns3::Object']) ## channel.h: ns3::Channel [class] @@ -157,16 +123,44 @@ def register_types(module): module.add_class('EthernetTrailer', parent=root_module['ns3::Trailer']) ## ipv4.h: ns3::Ipv4 [class] module.add_class('Ipv4', parent=root_module['ns3::Object']) + ## ipv4-address.h: ns3::Ipv4AddressChecker [class] + module.add_class('Ipv4AddressChecker', parent=root_module['ns3::AttributeChecker']) + ## ipv4-address.h: ns3::Ipv4AddressValue [class] + module.add_class('Ipv4AddressValue', parent=root_module['ns3::AttributeValue']) + ## ipv4-address.h: ns3::Ipv4MaskChecker [class] + module.add_class('Ipv4MaskChecker', parent=root_module['ns3::AttributeChecker']) + ## ipv4-address.h: ns3::Ipv4MaskValue [class] + module.add_class('Ipv4MaskValue', parent=root_module['ns3::AttributeValue']) + ## ipv4-route.h: ns3::Ipv4MulticastRoute [class] + module.add_class('Ipv4MulticastRoute', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty >']) ## ipv4-raw-socket-factory.h: ns3::Ipv4RawSocketFactory [class] module.add_class('Ipv4RawSocketFactory', parent=root_module['ns3::SocketFactory']) + ## ipv4-route.h: ns3::Ipv4Route [class] + module.add_class('Ipv4Route', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty >']) ## ipv4-routing-protocol.h: ns3::Ipv4RoutingProtocol [class] module.add_class('Ipv4RoutingProtocol', parent=root_module['ns3::Object']) ## ipv6.h: ns3::Ipv6 [class] module.add_class('Ipv6', parent=root_module['ns3::Object']) + ## ipv6-address.h: ns3::Ipv6AddressChecker [class] + module.add_class('Ipv6AddressChecker', parent=root_module['ns3::AttributeChecker']) + ## ipv6-address.h: ns3::Ipv6AddressValue [class] + module.add_class('Ipv6AddressValue', parent=root_module['ns3::AttributeValue']) + ## ipv6-route.h: ns3::Ipv6MulticastRoute [class] + module.add_class('Ipv6MulticastRoute', parent=root_module['ns3::SimpleRefCount< ns3::Ipv6MulticastRoute, ns3::empty >']) + ## ipv6-address.h: ns3::Ipv6PrefixChecker [class] + module.add_class('Ipv6PrefixChecker', parent=root_module['ns3::AttributeChecker']) + ## ipv6-address.h: ns3::Ipv6PrefixValue [class] + module.add_class('Ipv6PrefixValue', parent=root_module['ns3::AttributeValue']) ## ipv6-raw-socket-factory.h: ns3::Ipv6RawSocketFactory [class] module.add_class('Ipv6RawSocketFactory', parent=root_module['ns3::SocketFactory']) + ## ipv6-route.h: ns3::Ipv6Route [class] + module.add_class('Ipv6Route', parent=root_module['ns3::SimpleRefCount< ns3::Ipv6Route, ns3::empty >']) ## ipv6-routing-protocol.h: ns3::Ipv6RoutingProtocol [class] module.add_class('Ipv6RoutingProtocol', parent=root_module['ns3::Object']) + ## mac48-address.h: ns3::Mac48AddressChecker [class] + module.add_class('Mac48AddressChecker', parent=root_module['ns3::AttributeChecker']) + ## mac48-address.h: ns3::Mac48AddressValue [class] + module.add_class('Mac48AddressValue', parent=root_module['ns3::AttributeValue']) ## net-device.h: ns3::NetDevice [class] module.add_class('NetDevice', parent=root_module['ns3::Object']) ## net-device.h: ns3::NetDevice::PacketType [enumeration] @@ -175,10 +169,32 @@ def register_types(module): module.add_class('Node', parent=root_module['ns3::Object']) ## packet-socket-factory.h: ns3::PacketSocketFactory [class] module.add_class('PacketSocketFactory', parent=root_module['ns3::SocketFactory']) + ## packetbb.h: ns3::PbbAddressBlock [class] + module.add_class('PbbAddressBlock', parent=root_module['ns3::SimpleRefCount< ns3::PbbAddressBlock, ns3::empty >']) + ## packetbb.h: ns3::PbbAddressBlockIpv4 [class] + module.add_class('PbbAddressBlockIpv4', parent=root_module['ns3::PbbAddressBlock']) + ## packetbb.h: ns3::PbbAddressBlockIpv6 [class] + module.add_class('PbbAddressBlockIpv6', parent=root_module['ns3::PbbAddressBlock']) + ## packetbb.h: ns3::PbbMessage [class] + module.add_class('PbbMessage', parent=root_module['ns3::SimpleRefCount< ns3::PbbMessage, ns3::empty >']) + ## packetbb.h: ns3::PbbMessageIpv4 [class] + module.add_class('PbbMessageIpv4', parent=root_module['ns3::PbbMessage']) + ## packetbb.h: ns3::PbbMessageIpv6 [class] + module.add_class('PbbMessageIpv6', parent=root_module['ns3::PbbMessage']) + ## packetbb.h: ns3::PbbPacket [class] + module.add_class('PbbPacket', parent=root_module['ns3::SimpleRefCount< ns3::PbbPacket, ns3::Header >']) + ## packetbb.h: ns3::PbbTlv [class] + module.add_class('PbbTlv', parent=root_module['ns3::SimpleRefCount< ns3::PbbTlv, ns3::empty >']) ## simple-channel.h: ns3::SimpleChannel [class] module.add_class('SimpleChannel', parent=root_module['ns3::Channel']) ## simple-net-device.h: ns3::SimpleNetDevice [class] module.add_class('SimpleNetDevice', parent=root_module['ns3::NetDevice']) + ## address.h: ns3::AddressChecker [class] + module.add_class('AddressChecker', parent=root_module['ns3::AttributeChecker']) + ## address.h: ns3::AddressValue [class] + module.add_class('AddressValue', parent=root_module['ns3::AttributeValue']) + ## packetbb.h: ns3::PbbAddressTlv [class] + module.add_class('PbbAddressTlv', parent=root_module['ns3::PbbTlv']) module.add_container('ns3::olsr::MprSet', 'ns3::Ipv4Address', container_type='set') module.add_container('std::vector< ns3::Ipv4Address >', 'ns3::Ipv4Address', container_type='vector') @@ -200,12 +216,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') @@ -236,11 +264,19 @@ 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() module.add_container('std::vector< ns3::Mac48Address >', 'ns3::Mac48Address', container_type='vector') +def register_types_ns3_dpd(module): + root_module = module.get_root() + + def register_types_ns3_flame(module): root_module = module.get_root() @@ -269,34 +305,11 @@ def register_methods(root_module): register_Ns3Mac64Address_methods(root_module, root_module['ns3::Mac64Address']) register_Ns3NodeList_methods(root_module, root_module['ns3::NodeList']) register_Ns3PacketSocketAddress_methods(root_module, root_module['ns3::PacketSocketAddress']) - register_Ns3PbbAddressBlock_methods(root_module, root_module['ns3::PbbAddressBlock']) - register_Ns3PbbAddressBlockIpv4_methods(root_module, root_module['ns3::PbbAddressBlockIpv4']) - register_Ns3PbbAddressBlockIpv6_methods(root_module, root_module['ns3::PbbAddressBlockIpv6']) register_Ns3PbbAddressTlvBlock_methods(root_module, root_module['ns3::PbbAddressTlvBlock']) - register_Ns3PbbMessage_methods(root_module, root_module['ns3::PbbMessage']) - register_Ns3PbbMessageIpv4_methods(root_module, root_module['ns3::PbbMessageIpv4']) - register_Ns3PbbMessageIpv6_methods(root_module, root_module['ns3::PbbMessageIpv6']) - register_Ns3PbbTlv_methods(root_module, root_module['ns3::PbbTlv']) register_Ns3PbbTlvBlock_methods(root_module, root_module['ns3::PbbTlvBlock']) - register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) - register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue']) register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header']) - register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker']) - register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue']) - register_Ns3Ipv4MulticastRoute_methods(root_module, root_module['ns3::Ipv4MulticastRoute']) - register_Ns3Ipv4Route_methods(root_module, root_module['ns3::Ipv4Route']) - register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker']) - register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue']) register_Ns3Ipv6Header_methods(root_module, root_module['ns3::Ipv6Header']) - register_Ns3Ipv6MulticastRoute_methods(root_module, root_module['ns3::Ipv6MulticastRoute']) - register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker']) - register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue']) - register_Ns3Ipv6Route_methods(root_module, root_module['ns3::Ipv6Route']) register_Ns3LlcSnapHeader_methods(root_module, root_module['ns3::LlcSnapHeader']) - register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) - register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue']) - register_Ns3PbbAddressTlv_methods(root_module, root_module['ns3::PbbAddressTlv']) - register_Ns3PbbPacket_methods(root_module, root_module['ns3::PbbPacket']) register_Ns3Queue_methods(root_module, root_module['ns3::Queue']) register_Ns3Socket_methods(root_module, root_module['ns3::Socket']) register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) @@ -307,24 +320,47 @@ def register_methods(root_module): register_Ns3TcpSocketFactory_methods(root_module, root_module['ns3::TcpSocketFactory']) register_Ns3UdpSocket_methods(root_module, root_module['ns3::UdpSocket']) register_Ns3UdpSocketFactory_methods(root_module, root_module['ns3::UdpSocketFactory']) - register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker']) - register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue']) register_Ns3Application_methods(root_module, root_module['ns3::Application']) register_Ns3Channel_methods(root_module, root_module['ns3::Channel']) register_Ns3DropTailQueue_methods(root_module, root_module['ns3::DropTailQueue']) register_Ns3EthernetHeader_methods(root_module, root_module['ns3::EthernetHeader']) register_Ns3EthernetTrailer_methods(root_module, root_module['ns3::EthernetTrailer']) register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4']) + register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) + register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue']) + register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker']) + register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue']) + register_Ns3Ipv4MulticastRoute_methods(root_module, root_module['ns3::Ipv4MulticastRoute']) register_Ns3Ipv4RawSocketFactory_methods(root_module, root_module['ns3::Ipv4RawSocketFactory']) + register_Ns3Ipv4Route_methods(root_module, root_module['ns3::Ipv4Route']) register_Ns3Ipv4RoutingProtocol_methods(root_module, root_module['ns3::Ipv4RoutingProtocol']) register_Ns3Ipv6_methods(root_module, root_module['ns3::Ipv6']) + register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker']) + register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue']) + register_Ns3Ipv6MulticastRoute_methods(root_module, root_module['ns3::Ipv6MulticastRoute']) + register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker']) + register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue']) register_Ns3Ipv6RawSocketFactory_methods(root_module, root_module['ns3::Ipv6RawSocketFactory']) + register_Ns3Ipv6Route_methods(root_module, root_module['ns3::Ipv6Route']) register_Ns3Ipv6RoutingProtocol_methods(root_module, root_module['ns3::Ipv6RoutingProtocol']) + register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) + register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue']) register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice']) register_Ns3Node_methods(root_module, root_module['ns3::Node']) register_Ns3PacketSocketFactory_methods(root_module, root_module['ns3::PacketSocketFactory']) + register_Ns3PbbAddressBlock_methods(root_module, root_module['ns3::PbbAddressBlock']) + register_Ns3PbbAddressBlockIpv4_methods(root_module, root_module['ns3::PbbAddressBlockIpv4']) + register_Ns3PbbAddressBlockIpv6_methods(root_module, root_module['ns3::PbbAddressBlockIpv6']) + register_Ns3PbbMessage_methods(root_module, root_module['ns3::PbbMessage']) + register_Ns3PbbMessageIpv4_methods(root_module, root_module['ns3::PbbMessageIpv4']) + register_Ns3PbbMessageIpv6_methods(root_module, root_module['ns3::PbbMessageIpv6']) + register_Ns3PbbPacket_methods(root_module, root_module['ns3::PbbPacket']) + register_Ns3PbbTlv_methods(root_module, root_module['ns3::PbbTlv']) register_Ns3SimpleChannel_methods(root_module, root_module['ns3::SimpleChannel']) register_Ns3SimpleNetDevice_methods(root_module, root_module['ns3::SimpleNetDevice']) + register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker']) + register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue']) + register_Ns3PbbAddressTlv_methods(root_module, root_module['ns3::PbbAddressTlv']) return def register_Ns3Address_methods(root_module, cls): @@ -1254,341 +1290,6 @@ def register_Ns3PacketSocketAddress_methods(root_module, cls): [param('uint32_t', 'device')]) return -def register_Ns3PbbAddressBlock_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('!=') - ## packetbb.h: ns3::PbbAddressBlock::PbbAddressBlock(ns3::PbbAddressBlock const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbAddressBlock const &', 'arg0')]) - ## packetbb.h: ns3::PbbAddressBlock::PbbAddressBlock() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Address ns3::PbbAddressBlock::AddressBack() const [member function] - cls.add_method('AddressBack', - 'ns3::Address', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressBegin() [member function] - cls.add_method('AddressBegin', - 'std::_List_iterator< ns3::Address >', - []) - ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::AddressBegin() const [member function] - cls.add_method('AddressBegin', - 'std::_List_const_iterator< ns3::Address >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::AddressClear() [member function] - cls.add_method('AddressClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbAddressBlock::AddressEmpty() const [member function] - cls.add_method('AddressEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressEnd() [member function] - cls.add_method('AddressEnd', - 'std::_List_iterator< ns3::Address >', - []) - ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::AddressEnd() const [member function] - cls.add_method('AddressEnd', - 'std::_List_const_iterator< ns3::Address >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressErase(std::_List_iterator position) [member function] - cls.add_method('AddressErase', - 'std::_List_iterator< ns3::Address >', - [param('std::_List_iterator< ns3::Address >', 'position')]) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressErase(std::_List_iterator first, std::_List_iterator last) [member function] - cls.add_method('AddressErase', - 'std::_List_iterator< ns3::Address >', - [param('std::_List_iterator< ns3::Address >', 'first'), param('std::_List_iterator< ns3::Address >', 'last')]) - ## packetbb.h: ns3::Address ns3::PbbAddressBlock::AddressFront() const [member function] - cls.add_method('AddressFront', - 'ns3::Address', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressInsert(std::_List_iterator position, ns3::Address const value) [member function] - cls.add_method('AddressInsert', - 'std::_List_iterator< ns3::Address >', - [param('std::_List_iterator< ns3::Address >', 'position'), param('ns3::Address const', 'value')]) - ## packetbb.h: void ns3::PbbAddressBlock::AddressPopBack() [member function] - cls.add_method('AddressPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::AddressPopFront() [member function] - cls.add_method('AddressPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::AddressPushBack(ns3::Address address) [member function] - cls.add_method('AddressPushBack', - 'void', - [param('ns3::Address', 'address')]) - ## packetbb.h: void ns3::PbbAddressBlock::AddressPushFront(ns3::Address address) [member function] - cls.add_method('AddressPushFront', - 'void', - [param('ns3::Address', 'address')]) - ## packetbb.h: int ns3::PbbAddressBlock::AddressSize() const [member function] - cls.add_method('AddressSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::Deserialize(ns3::Buffer::Iterator & start) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')]) - ## packetbb.h: uint32_t ns3::PbbAddressBlock::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbAddressBlock::PrefixBack() const [member function] - cls.add_method('PrefixBack', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixBegin() [member function] - cls.add_method('PrefixBegin', - 'std::_List_iterator< unsigned char >', - []) - ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::PrefixBegin() const [member function] - cls.add_method('PrefixBegin', - 'std::_List_const_iterator< unsigned char >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::PrefixClear() [member function] - cls.add_method('PrefixClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbAddressBlock::PrefixEmpty() const [member function] - cls.add_method('PrefixEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixEnd() [member function] - cls.add_method('PrefixEnd', - 'std::_List_iterator< unsigned char >', - []) - ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::PrefixEnd() const [member function] - cls.add_method('PrefixEnd', - 'std::_List_const_iterator< unsigned char >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixErase(std::_List_iterator position) [member function] - cls.add_method('PrefixErase', - 'std::_List_iterator< unsigned char >', - [param('std::_List_iterator< unsigned char >', 'position')]) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixErase(std::_List_iterator first, std::_List_iterator last) [member function] - cls.add_method('PrefixErase', - 'std::_List_iterator< unsigned char >', - [param('std::_List_iterator< unsigned char >', 'first'), param('std::_List_iterator< unsigned char >', 'last')]) - ## packetbb.h: uint8_t ns3::PbbAddressBlock::PrefixFront() const [member function] - cls.add_method('PrefixFront', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixInsert(std::_List_iterator position, uint8_t const value) [member function] - cls.add_method('PrefixInsert', - 'std::_List_iterator< unsigned char >', - [param('std::_List_iterator< unsigned char >', 'position'), param('uint8_t const', 'value')]) - ## packetbb.h: void ns3::PbbAddressBlock::PrefixPopBack() [member function] - cls.add_method('PrefixPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::PrefixPopFront() [member function] - cls.add_method('PrefixPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::PrefixPushBack(uint8_t prefix) [member function] - cls.add_method('PrefixPushBack', - 'void', - [param('uint8_t', 'prefix')]) - ## packetbb.h: void ns3::PbbAddressBlock::PrefixPushFront(uint8_t prefix) [member function] - cls.add_method('PrefixPushFront', - 'void', - [param('uint8_t', 'prefix')]) - ## packetbb.h: int ns3::PbbAddressBlock::PrefixSize() const [member function] - cls.add_method('PrefixSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::Print(std::ostream & os, int level) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os'), param('int', 'level')], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::Ref() const [member function] - cls.add_method('Ref', - 'void', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::Serialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True) - ## packetbb.h: ns3::Ptr ns3::PbbAddressBlock::TlvBack() [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbAddressTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbAddressBlock::TlvBack() const [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbAddressTlv > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvBegin() [member function] - cls.add_method('TlvBegin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressBlock::TlvBegin() const [member function] - cls.add_method('TlvBegin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::TlvClear() [member function] - cls.add_method('TlvClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbAddressBlock::TlvEmpty() const [member function] - cls.add_method('TlvEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvEnd() [member function] - cls.add_method('TlvEnd', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressBlock::TlvEnd() const [member function] - cls.add_method('TlvEnd', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvErase(std::_List_iterator > position) [member function] - cls.add_method('TlvErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvErase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('TlvErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'last')]) - ## packetbb.h: ns3::Ptr ns3::PbbAddressBlock::TlvFront() [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbAddressTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbAddressBlock::TlvFront() const [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbAddressTlv > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvInsert(std::_List_iterator > position, ns3::Ptr const value) [member function] - cls.add_method('TlvInsert', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position'), param('ns3::Ptr< ns3::PbbTlv > const', 'value')]) - ## packetbb.h: void ns3::PbbAddressBlock::TlvPopBack() [member function] - cls.add_method('TlvPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::TlvPopFront() [member function] - cls.add_method('TlvPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::TlvPushBack(ns3::Ptr address) [member function] - cls.add_method('TlvPushBack', - 'void', - [param('ns3::Ptr< ns3::PbbAddressTlv >', 'address')]) - ## packetbb.h: void ns3::PbbAddressBlock::TlvPushFront(ns3::Ptr address) [member function] - cls.add_method('TlvPushFront', - 'void', - [param('ns3::Ptr< ns3::PbbAddressTlv >', 'address')]) - ## packetbb.h: int ns3::PbbAddressBlock::TlvSize() const [member function] - cls.add_method('TlvSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::Unref() const [member function] - cls.add_method('Unref', - 'void', - [], - is_const=True) - ## packetbb.h: ns3::Address ns3::PbbAddressBlock::DeserializeAddress(uint8_t * buffer) const [member function] - cls.add_method('DeserializeAddress', - 'ns3::Address', - [param('uint8_t *', 'buffer')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: uint8_t ns3::PbbAddressBlock::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'uint8_t', - [], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlock::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function] - cls.add_method('PrintAddress', - 'void', - [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlock::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function] - cls.add_method('SerializeAddress', - 'void', - [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbAddressBlockIpv4_methods(root_module, cls): - ## packetbb.h: ns3::PbbAddressBlockIpv4::PbbAddressBlockIpv4(ns3::PbbAddressBlockIpv4 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbAddressBlockIpv4 const &', 'arg0')]) - ## packetbb.h: ns3::PbbAddressBlockIpv4::PbbAddressBlockIpv4() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Address ns3::PbbAddressBlockIpv4::DeserializeAddress(uint8_t * buffer) const [member function] - cls.add_method('DeserializeAddress', - 'ns3::Address', - [param('uint8_t *', 'buffer')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: uint8_t ns3::PbbAddressBlockIpv4::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'uint8_t', - [], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlockIpv4::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function] - cls.add_method('PrintAddress', - 'void', - [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlockIpv4::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function] - cls.add_method('SerializeAddress', - 'void', - [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbAddressBlockIpv6_methods(root_module, cls): - ## packetbb.h: ns3::PbbAddressBlockIpv6::PbbAddressBlockIpv6(ns3::PbbAddressBlockIpv6 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbAddressBlockIpv6 const &', 'arg0')]) - ## packetbb.h: ns3::PbbAddressBlockIpv6::PbbAddressBlockIpv6() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Address ns3::PbbAddressBlockIpv6::DeserializeAddress(uint8_t * buffer) const [member function] - cls.add_method('DeserializeAddress', - 'ns3::Address', - [param('uint8_t *', 'buffer')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: uint8_t ns3::PbbAddressBlockIpv6::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'uint8_t', - [], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlockIpv6::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function] - cls.add_method('PrintAddress', - 'void', - [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlockIpv6::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function] - cls.add_method('SerializeAddress', - 'void', - [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_const=True, visibility='protected', is_virtual=True) - return - def register_Ns3PbbAddressTlvBlock_methods(root_module, cls): cls.add_binary_comparison_operator('==') cls.add_binary_comparison_operator('!=') @@ -1692,480 +1393,6 @@ def register_Ns3PbbAddressTlvBlock_methods(root_module, cls): is_const=True) return -def register_Ns3PbbMessage_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('!=') - ## packetbb.h: ns3::PbbMessage::PbbMessage(ns3::PbbMessage const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbMessage const &', 'arg0')]) - ## packetbb.h: ns3::PbbMessage::PbbMessage() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Ptr ns3::PbbMessage::AddressBlockBack() [member function] - cls.add_method('AddressBlockBack', - 'ns3::Ptr< ns3::PbbAddressBlock >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbMessage::AddressBlockBack() const [member function] - cls.add_method('AddressBlockBack', - 'ns3::Ptr< ns3::PbbAddressBlock > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockBegin() [member function] - cls.add_method('AddressBlockBegin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::AddressBlockBegin() const [member function] - cls.add_method('AddressBlockBegin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::AddressBlockClear() [member function] - cls.add_method('AddressBlockClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbMessage::AddressBlockEmpty() const [member function] - cls.add_method('AddressBlockEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockEnd() [member function] - cls.add_method('AddressBlockEnd', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::AddressBlockEnd() const [member function] - cls.add_method('AddressBlockEnd', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockErase(std::_List_iterator > position) [member function] - cls.add_method('AddressBlockErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockErase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('AddressBlockErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', 'last')]) - ## packetbb.h: ns3::Ptr ns3::PbbMessage::AddressBlockFront() [member function] - cls.add_method('AddressBlockFront', - 'ns3::Ptr< ns3::PbbAddressBlock >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbMessage::AddressBlockFront() const [member function] - cls.add_method('AddressBlockFront', - 'ns3::Ptr< ns3::PbbAddressBlock > const', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::AddressBlockPopBack() [member function] - cls.add_method('AddressBlockPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbMessage::AddressBlockPopFront() [member function] - cls.add_method('AddressBlockPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbMessage::AddressBlockPushBack(ns3::Ptr block) [member function] - cls.add_method('AddressBlockPushBack', - 'void', - [param('ns3::Ptr< ns3::PbbAddressBlock >', 'block')]) - ## packetbb.h: void ns3::PbbMessage::AddressBlockPushFront(ns3::Ptr block) [member function] - cls.add_method('AddressBlockPushFront', - 'void', - [param('ns3::Ptr< ns3::PbbAddressBlock >', 'block')]) - ## packetbb.h: int ns3::PbbMessage::AddressBlockSize() const [member function] - cls.add_method('AddressBlockSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::Deserialize(ns3::Buffer::Iterator & start) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')]) - ## packetbb.h: static ns3::Ptr ns3::PbbMessage::DeserializeMessage(ns3::Buffer::Iterator & start) [member function] - cls.add_method('DeserializeMessage', - 'ns3::Ptr< ns3::PbbMessage >', - [param('ns3::Buffer::Iterator &', 'start')], - is_static=True) - ## packetbb.h: uint8_t ns3::PbbMessage::GetHopCount() const [member function] - cls.add_method('GetHopCount', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbMessage::GetHopLimit() const [member function] - cls.add_method('GetHopLimit', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: ns3::Address ns3::PbbMessage::GetOriginatorAddress() const [member function] - cls.add_method('GetOriginatorAddress', - 'ns3::Address', - [], - is_const=True) - ## packetbb.h: uint16_t ns3::PbbMessage::GetSequenceNumber() const [member function] - cls.add_method('GetSequenceNumber', - 'uint16_t', - [], - is_const=True) - ## packetbb.h: uint32_t ns3::PbbMessage::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbMessage::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbMessage::HasHopCount() const [member function] - cls.add_method('HasHopCount', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbMessage::HasHopLimit() const [member function] - cls.add_method('HasHopLimit', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbMessage::HasOriginatorAddress() const [member function] - cls.add_method('HasOriginatorAddress', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbMessage::HasSequenceNumber() const [member function] - cls.add_method('HasSequenceNumber', - 'bool', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::Print(std::ostream & os, int level) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os'), param('int', 'level')], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::Ref() const [member function] - cls.add_method('Ref', - 'void', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::Serialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::SetHopCount(uint8_t hopcount) [member function] - cls.add_method('SetHopCount', - 'void', - [param('uint8_t', 'hopcount')]) - ## packetbb.h: void ns3::PbbMessage::SetHopLimit(uint8_t hoplimit) [member function] - cls.add_method('SetHopLimit', - 'void', - [param('uint8_t', 'hoplimit')]) - ## packetbb.h: void ns3::PbbMessage::SetOriginatorAddress(ns3::Address address) [member function] - cls.add_method('SetOriginatorAddress', - 'void', - [param('ns3::Address', 'address')]) - ## packetbb.h: void ns3::PbbMessage::SetSequenceNumber(uint16_t seqnum) [member function] - cls.add_method('SetSequenceNumber', - 'void', - [param('uint16_t', 'seqnum')]) - ## packetbb.h: void ns3::PbbMessage::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - ## packetbb.h: ns3::Ptr ns3::PbbMessage::TlvBack() [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbMessage::TlvBack() const [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbTlv > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvBegin() [member function] - cls.add_method('TlvBegin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::TlvBegin() const [member function] - cls.add_method('TlvBegin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::TlvClear() [member function] - cls.add_method('TlvClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbMessage::TlvEmpty() const [member function] - cls.add_method('TlvEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvEnd() [member function] - cls.add_method('TlvEnd', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::TlvEnd() const [member function] - cls.add_method('TlvEnd', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvErase(std::_List_iterator > position) [member function] - cls.add_method('TlvErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvErase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('TlvErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'last')]) - ## packetbb.h: ns3::Ptr ns3::PbbMessage::TlvFront() [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbMessage::TlvFront() const [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbTlv > const', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::TlvPopBack() [member function] - cls.add_method('TlvPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbMessage::TlvPopFront() [member function] - cls.add_method('TlvPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbMessage::TlvPushBack(ns3::Ptr tlv) [member function] - cls.add_method('TlvPushBack', - 'void', - [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) - ## packetbb.h: void ns3::PbbMessage::TlvPushFront(ns3::Ptr tlv) [member function] - cls.add_method('TlvPushFront', - 'void', - [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) - ## packetbb.h: int ns3::PbbMessage::TlvSize() const [member function] - cls.add_method('TlvSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::Unref() const [member function] - cls.add_method('Unref', - 'void', - [], - is_const=True) - ## packetbb.h: ns3::Ptr ns3::PbbMessage::AddressBlockDeserialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('AddressBlockDeserialize', - 'ns3::Ptr< ns3::PbbAddressBlock >', - [param('ns3::Buffer::Iterator &', 'start')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::Address ns3::PbbMessage::DeserializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('DeserializeOriginatorAddress', - 'ns3::Address', - [param('ns3::Buffer::Iterator &', 'start')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::PbbAddressLength ns3::PbbMessage::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'ns3::PbbAddressLength', - [], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessage::PrintOriginatorAddress(std::ostream & os) const [member function] - cls.add_method('PrintOriginatorAddress', - 'void', - [param('std::ostream &', 'os')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessage::SerializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('SerializeOriginatorAddress', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbMessageIpv4_methods(root_module, cls): - ## packetbb.h: ns3::PbbMessageIpv4::PbbMessageIpv4(ns3::PbbMessageIpv4 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbMessageIpv4 const &', 'arg0')]) - ## packetbb.h: ns3::PbbMessageIpv4::PbbMessageIpv4() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Ptr ns3::PbbMessageIpv4::AddressBlockDeserialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('AddressBlockDeserialize', - 'ns3::Ptr< ns3::PbbAddressBlock >', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::Address ns3::PbbMessageIpv4::DeserializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('DeserializeOriginatorAddress', - 'ns3::Address', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::PbbAddressLength ns3::PbbMessageIpv4::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'ns3::PbbAddressLength', - [], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessageIpv4::PrintOriginatorAddress(std::ostream & os) const [member function] - cls.add_method('PrintOriginatorAddress', - 'void', - [param('std::ostream &', 'os')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessageIpv4::SerializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('SerializeOriginatorAddress', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbMessageIpv6_methods(root_module, cls): - ## packetbb.h: ns3::PbbMessageIpv6::PbbMessageIpv6(ns3::PbbMessageIpv6 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbMessageIpv6 const &', 'arg0')]) - ## packetbb.h: ns3::PbbMessageIpv6::PbbMessageIpv6() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Ptr ns3::PbbMessageIpv6::AddressBlockDeserialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('AddressBlockDeserialize', - 'ns3::Ptr< ns3::PbbAddressBlock >', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::Address ns3::PbbMessageIpv6::DeserializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('DeserializeOriginatorAddress', - 'ns3::Address', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::PbbAddressLength ns3::PbbMessageIpv6::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'ns3::PbbAddressLength', - [], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessageIpv6::PrintOriginatorAddress(std::ostream & os) const [member function] - cls.add_method('PrintOriginatorAddress', - 'void', - [param('std::ostream &', 'os')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessageIpv6::SerializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('SerializeOriginatorAddress', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbTlv_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('!=') - ## packetbb.h: ns3::PbbTlv::PbbTlv(ns3::PbbTlv const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbTlv const &', 'arg0')]) - ## packetbb.h: ns3::PbbTlv::PbbTlv() [constructor] - cls.add_constructor([]) - ## packetbb.h: void ns3::PbbTlv::Deserialize(ns3::Buffer::Iterator & start) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')]) - ## packetbb.h: uint32_t ns3::PbbTlv::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbTlv::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbTlv::GetTypeExt() const [member function] - cls.add_method('GetTypeExt', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: ns3::Buffer ns3::PbbTlv::GetValue() const [member function] - cls.add_method('GetValue', - 'ns3::Buffer', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbTlv::HasTypeExt() const [member function] - cls.add_method('HasTypeExt', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbTlv::HasValue() const [member function] - cls.add_method('HasValue', - 'bool', - [], - is_const=True) - ## packetbb.h: void ns3::PbbTlv::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packetbb.h: void ns3::PbbTlv::Print(std::ostream & os, int level) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os'), param('int', 'level')], - is_const=True) - ## packetbb.h: void ns3::PbbTlv::Ref() const [member function] - cls.add_method('Ref', - 'void', - [], - is_const=True) - ## packetbb.h: void ns3::PbbTlv::Serialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True) - ## packetbb.h: void ns3::PbbTlv::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - ## packetbb.h: void ns3::PbbTlv::SetTypeExt(uint8_t type) [member function] - cls.add_method('SetTypeExt', - 'void', - [param('uint8_t', 'type')]) - ## packetbb.h: void ns3::PbbTlv::SetValue(ns3::Buffer start) [member function] - cls.add_method('SetValue', - 'void', - [param('ns3::Buffer', 'start')]) - ## packetbb.h: void ns3::PbbTlv::SetValue(uint8_t const * buffer, uint32_t size) [member function] - cls.add_method('SetValue', - 'void', - [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) - ## packetbb.h: void ns3::PbbTlv::Unref() const [member function] - cls.add_method('Unref', - 'void', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbTlv::GetIndexStart() const [member function] - cls.add_method('GetIndexStart', - 'uint8_t', - [], - is_const=True, visibility='protected') - ## packetbb.h: uint8_t ns3::PbbTlv::GetIndexStop() const [member function] - cls.add_method('GetIndexStop', - 'uint8_t', - [], - is_const=True, visibility='protected') - ## packetbb.h: bool ns3::PbbTlv::HasIndexStart() const [member function] - cls.add_method('HasIndexStart', - 'bool', - [], - is_const=True, visibility='protected') - ## packetbb.h: bool ns3::PbbTlv::HasIndexStop() const [member function] - cls.add_method('HasIndexStop', - 'bool', - [], - is_const=True, visibility='protected') - ## packetbb.h: bool ns3::PbbTlv::IsMultivalue() const [member function] - cls.add_method('IsMultivalue', - 'bool', - [], - is_const=True, visibility='protected') - ## packetbb.h: void ns3::PbbTlv::SetIndexStart(uint8_t index) [member function] - cls.add_method('SetIndexStart', - 'void', - [param('uint8_t', 'index')], - visibility='protected') - ## packetbb.h: void ns3::PbbTlv::SetIndexStop(uint8_t index) [member function] - cls.add_method('SetIndexStop', - 'void', - [param('uint8_t', 'index')], - visibility='protected') - ## packetbb.h: void ns3::PbbTlv::SetMultivalue(bool isMultivalue) [member function] - cls.add_method('SetMultivalue', - 'void', - [param('bool', 'isMultivalue')], - visibility='protected') - return - def register_Ns3PbbTlvBlock_methods(root_module, cls): cls.add_binary_comparison_operator('==') cls.add_binary_comparison_operator('!=') @@ -2269,46 +1496,6 @@ def register_Ns3PbbTlvBlock_methods(root_module, cls): is_const=True) return -def register_Ns3Ipv4AddressChecker_methods(root_module, cls): - ## ipv4-address.h: ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor] - cls.add_constructor([]) - ## ipv4-address.h: ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')]) - return - -def register_Ns3Ipv4AddressValue_methods(root_module, cls): - ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor] - cls.add_constructor([]) - ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')]) - ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor] - cls.add_constructor([param('ns3::Ipv4Address const &', 'value')]) - ## ipv4-address.h: ns3::Ptr ns3::Ipv4AddressValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## ipv4-address.h: bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-address.h: std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## ipv4-address.h: void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Ipv4Address const &', 'value')]) - return - def register_Ns3Ipv4Header_methods(root_module, cls): ## ipv4-header.h: ns3::Ipv4Header::Ipv4Header(ns3::Ipv4Header const & arg0) [copy constructor] cls.add_constructor([param('ns3::Ipv4Header const &', 'arg0')]) @@ -2453,177 +1640,6 @@ def register_Ns3Ipv4Header_methods(root_module, cls): [param('uint8_t', 'ttl')]) return -def register_Ns3Ipv4MaskChecker_methods(root_module, cls): - ## ipv4-address.h: ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor] - cls.add_constructor([]) - ## ipv4-address.h: ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')]) - return - -def register_Ns3Ipv4MaskValue_methods(root_module, cls): - ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor] - cls.add_constructor([]) - ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')]) - ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor] - cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')]) - ## ipv4-address.h: ns3::Ptr ns3::Ipv4MaskValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## ipv4-address.h: bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## ipv4-address.h: ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Ipv4Mask', - [], - is_const=True) - ## ipv4-address.h: std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## ipv4-address.h: void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Ipv4Mask const &', 'value')]) - return - -def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): - ## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4MulticastRoute const &', 'arg0')]) - ## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute() [constructor] - cls.add_constructor([]) - ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetGroup() const [member function] - cls.add_method('GetGroup', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetOrigin() const [member function] - cls.add_method('GetOrigin', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] - cls.add_method('GetOutputTtl', - 'uint32_t', - [param('uint32_t', 'oif')], - is_const=True) - ## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] - cls.add_method('GetParent', - 'uint32_t', - [], - is_const=True) - ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetGroup(ns3::Ipv4Address const group) [member function] - cls.add_method('SetGroup', - 'void', - [param('ns3::Ipv4Address const', 'group')]) - ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetOrigin(ns3::Ipv4Address const origin) [member function] - cls.add_method('SetOrigin', - 'void', - [param('ns3::Ipv4Address const', 'origin')]) - ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetOutputTtl(uint32_t oif, uint32_t ttl) [member function] - cls.add_method('SetOutputTtl', - 'void', - [param('uint32_t', 'oif'), param('uint32_t', 'ttl')]) - ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetParent(uint32_t iif) [member function] - cls.add_method('SetParent', - 'void', - [param('uint32_t', 'iif')]) - ## ipv4-route.h: ns3::Ipv4MulticastRoute::MAX_INTERFACES [variable] - cls.add_static_attribute('MAX_INTERFACES', 'uint32_t const', is_const=True) - ## ipv4-route.h: ns3::Ipv4MulticastRoute::MAX_TTL [variable] - cls.add_static_attribute('MAX_TTL', 'uint32_t const', is_const=True) - return - -def register_Ns3Ipv4Route_methods(root_module, cls): - cls.add_output_stream_operator() - ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4Route const &', 'arg0')]) - ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route() [constructor] - cls.add_constructor([]) - ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetGateway() const [member function] - cls.add_method('GetGateway', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-route.h: ns3::Ptr ns3::Ipv4Route::GetOutputDevice() const [member function] - cls.add_method('GetOutputDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetSource() const [member function] - cls.add_method('GetSource', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-route.h: void ns3::Ipv4Route::SetDestination(ns3::Ipv4Address dest) [member function] - cls.add_method('SetDestination', - 'void', - [param('ns3::Ipv4Address', 'dest')]) - ## ipv4-route.h: void ns3::Ipv4Route::SetGateway(ns3::Ipv4Address gw) [member function] - cls.add_method('SetGateway', - 'void', - [param('ns3::Ipv4Address', 'gw')]) - ## ipv4-route.h: void ns3::Ipv4Route::SetOutputDevice(ns3::Ptr outputDevice) [member function] - cls.add_method('SetOutputDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'outputDevice')]) - ## ipv4-route.h: void ns3::Ipv4Route::SetSource(ns3::Ipv4Address src) [member function] - cls.add_method('SetSource', - 'void', - [param('ns3::Ipv4Address', 'src')]) - return - -def register_Ns3Ipv6AddressChecker_methods(root_module, cls): - ## ipv6-address.h: ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor] - cls.add_constructor([]) - ## ipv6-address.h: ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')]) - return - -def register_Ns3Ipv6AddressValue_methods(root_module, cls): - ## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor] - cls.add_constructor([]) - ## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')]) - ## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor] - cls.add_constructor([param('ns3::Ipv6Address const &', 'value')]) - ## ipv6-address.h: ns3::Ptr ns3::Ipv6AddressValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## ipv6-address.h: bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## ipv6-address.h: ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-address.h: std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## ipv6-address.h: void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Ipv6Address const &', 'value')]) - return - def register_Ns3Ipv6Header_methods(root_module, cls): ## ipv6-header.h: ns3::Ipv6Header::Ipv6Header(ns3::Ipv6Header const & arg0) [copy constructor] cls.add_constructor([param('ns3::Ipv6Header const &', 'arg0')]) @@ -2724,138 +1740,6 @@ def register_Ns3Ipv6Header_methods(root_module, cls): [param('uint8_t', 'traffic')]) return -def register_Ns3Ipv6MulticastRoute_methods(root_module, cls): - cls.add_output_stream_operator() - ## ipv6-route.h: ns3::Ipv6MulticastRoute::Ipv6MulticastRoute(ns3::Ipv6MulticastRoute const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6MulticastRoute const &', 'arg0')]) - ## ipv6-route.h: ns3::Ipv6MulticastRoute::Ipv6MulticastRoute() [constructor] - cls.add_constructor([]) - ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6MulticastRoute::GetGroup() const [member function] - cls.add_method('GetGroup', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6MulticastRoute::GetOrigin() const [member function] - cls.add_method('GetOrigin', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-route.h: uint32_t ns3::Ipv6MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] - cls.add_method('GetOutputTtl', - 'uint32_t', - [param('uint32_t', 'oif')], - is_const=True) - ## ipv6-route.h: uint32_t ns3::Ipv6MulticastRoute::GetParent() const [member function] - cls.add_method('GetParent', - 'uint32_t', - [], - is_const=True) - ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetGroup(ns3::Ipv6Address const group) [member function] - cls.add_method('SetGroup', - 'void', - [param('ns3::Ipv6Address const', 'group')]) - ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetOrigin(ns3::Ipv6Address const origin) [member function] - cls.add_method('SetOrigin', - 'void', - [param('ns3::Ipv6Address const', 'origin')]) - ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetOutputTtl(uint32_t oif, uint32_t ttl) [member function] - cls.add_method('SetOutputTtl', - 'void', - [param('uint32_t', 'oif'), param('uint32_t', 'ttl')]) - ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetParent(uint32_t iif) [member function] - cls.add_method('SetParent', - 'void', - [param('uint32_t', 'iif')]) - ## ipv6-route.h: ns3::Ipv6MulticastRoute::MAX_INTERFACES [variable] - cls.add_static_attribute('MAX_INTERFACES', 'uint32_t const', is_const=True) - ## ipv6-route.h: ns3::Ipv6MulticastRoute::MAX_TTL [variable] - cls.add_static_attribute('MAX_TTL', 'uint32_t const', is_const=True) - return - -def register_Ns3Ipv6PrefixChecker_methods(root_module, cls): - ## ipv6-address.h: ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor] - cls.add_constructor([]) - ## ipv6-address.h: ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')]) - return - -def register_Ns3Ipv6PrefixValue_methods(root_module, cls): - ## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor] - cls.add_constructor([]) - ## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')]) - ## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor] - cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')]) - ## ipv6-address.h: ns3::Ptr ns3::Ipv6PrefixValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## ipv6-address.h: bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## ipv6-address.h: ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Ipv6Prefix', - [], - is_const=True) - ## ipv6-address.h: std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## ipv6-address.h: void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Ipv6Prefix const &', 'value')]) - return - -def register_Ns3Ipv6Route_methods(root_module, cls): - cls.add_output_stream_operator() - ## ipv6-route.h: ns3::Ipv6Route::Ipv6Route(ns3::Ipv6Route const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6Route const &', 'arg0')]) - ## ipv6-route.h: ns3::Ipv6Route::Ipv6Route() [constructor] - cls.add_constructor([]) - ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6Route::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6Route::GetGateway() const [member function] - cls.add_method('GetGateway', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-route.h: ns3::Ptr ns3::Ipv6Route::GetOutputDevice() const [member function] - cls.add_method('GetOutputDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6Route::GetSource() const [member function] - cls.add_method('GetSource', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-route.h: void ns3::Ipv6Route::SetDestination(ns3::Ipv6Address dest) [member function] - cls.add_method('SetDestination', - 'void', - [param('ns3::Ipv6Address', 'dest')]) - ## ipv6-route.h: void ns3::Ipv6Route::SetGateway(ns3::Ipv6Address gw) [member function] - cls.add_method('SetGateway', - 'void', - [param('ns3::Ipv6Address', 'gw')]) - ## ipv6-route.h: void ns3::Ipv6Route::SetOutputDevice(ns3::Ptr outputDevice) [member function] - cls.add_method('SetOutputDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'outputDevice')]) - ## ipv6-route.h: void ns3::Ipv6Route::SetSource(ns3::Ipv6Address src) [member function] - cls.add_method('SetSource', - 'void', - [param('ns3::Ipv6Address', 'src')]) - return - def register_Ns3LlcSnapHeader_methods(root_module, cls): ## llc-snap-header.h: ns3::LlcSnapHeader::LlcSnapHeader(ns3::LlcSnapHeader const & arg0) [copy constructor] cls.add_constructor([param('ns3::LlcSnapHeader const &', 'arg0')]) @@ -2901,311 +1785,6 @@ def register_Ns3LlcSnapHeader_methods(root_module, cls): [param('uint16_t', 'type')]) return -def register_Ns3Mac48AddressChecker_methods(root_module, cls): - ## mac48-address.h: ns3::Mac48AddressChecker::Mac48AddressChecker() [constructor] - cls.add_constructor([]) - ## mac48-address.h: ns3::Mac48AddressChecker::Mac48AddressChecker(ns3::Mac48AddressChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Mac48AddressChecker const &', 'arg0')]) - return - -def register_Ns3Mac48AddressValue_methods(root_module, cls): - ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue() [constructor] - cls.add_constructor([]) - ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48AddressValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Mac48AddressValue const &', 'arg0')]) - ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48Address const & value) [constructor] - cls.add_constructor([param('ns3::Mac48Address const &', 'value')]) - ## mac48-address.h: ns3::Ptr ns3::Mac48AddressValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## mac48-address.h: bool ns3::Mac48AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## mac48-address.h: ns3::Mac48Address ns3::Mac48AddressValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Mac48Address', - [], - is_const=True) - ## mac48-address.h: std::string ns3::Mac48AddressValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## mac48-address.h: void ns3::Mac48AddressValue::Set(ns3::Mac48Address const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Mac48Address const &', 'value')]) - return - -def register_Ns3PbbAddressTlv_methods(root_module, cls): - ## packetbb.h: ns3::PbbAddressTlv::PbbAddressTlv() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::PbbAddressTlv::PbbAddressTlv(ns3::PbbAddressTlv const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbAddressTlv const &', 'arg0')]) - ## packetbb.h: uint8_t ns3::PbbAddressTlv::GetIndexStart() const [member function] - cls.add_method('GetIndexStart', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbAddressTlv::GetIndexStop() const [member function] - cls.add_method('GetIndexStop', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbAddressTlv::HasIndexStart() const [member function] - cls.add_method('HasIndexStart', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbAddressTlv::HasIndexStop() const [member function] - cls.add_method('HasIndexStop', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbAddressTlv::IsMultivalue() const [member function] - cls.add_method('IsMultivalue', - 'bool', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressTlv::SetIndexStart(uint8_t index) [member function] - cls.add_method('SetIndexStart', - 'void', - [param('uint8_t', 'index')]) - ## packetbb.h: void ns3::PbbAddressTlv::SetIndexStop(uint8_t index) [member function] - cls.add_method('SetIndexStop', - 'void', - [param('uint8_t', 'index')]) - ## packetbb.h: void ns3::PbbAddressTlv::SetMultivalue(bool isMultivalue) [member function] - cls.add_method('SetMultivalue', - 'void', - [param('bool', 'isMultivalue')]) - return - -def register_Ns3PbbPacket_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('!=') - ## packetbb.h: ns3::PbbPacket::PbbPacket(ns3::PbbPacket const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbPacket const &', 'arg0')]) - ## packetbb.h: ns3::PbbPacket::PbbPacket() [constructor] - cls.add_constructor([]) - ## packetbb.h: uint32_t ns3::PbbPacket::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > position) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'last')]) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > position) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', 'last')]) - ## packetbb.h: ns3::TypeId ns3::PbbPacket::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## packetbb.h: uint16_t ns3::PbbPacket::GetSequenceNumber() const [member function] - cls.add_method('GetSequenceNumber', - 'uint16_t', - [], - is_const=True) - ## packetbb.h: uint32_t ns3::PbbPacket::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## packetbb.h: static ns3::TypeId ns3::PbbPacket::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## packetbb.h: uint8_t ns3::PbbPacket::GetVersion() const [member function] - cls.add_method('GetVersion', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbPacket::HasSequenceNumber() const [member function] - cls.add_method('HasSequenceNumber', - 'bool', - [], - is_const=True) - ## packetbb.h: ns3::Ptr ns3::PbbPacket::MessageBack() [member function] - cls.add_method('MessageBack', - 'ns3::Ptr< ns3::PbbMessage >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbPacket::MessageBack() const [member function] - cls.add_method('MessageBack', - 'ns3::Ptr< ns3::PbbMessage > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::MessageBegin() [member function] - cls.add_method('MessageBegin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::MessageBegin() const [member function] - cls.add_method('MessageBegin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbMessage > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::MessageClear() [member function] - cls.add_method('MessageClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbPacket::MessageEmpty() const [member function] - cls.add_method('MessageEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::MessageEnd() [member function] - cls.add_method('MessageEnd', - 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::MessageEnd() const [member function] - cls.add_method('MessageEnd', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbMessage > >', - [], - is_const=True) - ## packetbb.h: ns3::Ptr ns3::PbbPacket::MessageFront() [member function] - cls.add_method('MessageFront', - 'ns3::Ptr< ns3::PbbMessage >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbPacket::MessageFront() const [member function] - cls.add_method('MessageFront', - 'ns3::Ptr< ns3::PbbMessage > const', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::MessagePopBack() [member function] - cls.add_method('MessagePopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbPacket::MessagePopFront() [member function] - cls.add_method('MessagePopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbPacket::MessagePushBack(ns3::Ptr message) [member function] - cls.add_method('MessagePushBack', - 'void', - [param('ns3::Ptr< ns3::PbbMessage >', 'message')]) - ## packetbb.h: void ns3::PbbPacket::MessagePushFront(ns3::Ptr message) [member function] - cls.add_method('MessagePushFront', - 'void', - [param('ns3::Ptr< ns3::PbbMessage >', 'message')]) - ## packetbb.h: int ns3::PbbPacket::MessageSize() const [member function] - cls.add_method('MessageSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## packetbb.h: void ns3::PbbPacket::Ref() const [member function] - cls.add_method('Ref', - 'void', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## packetbb.h: void ns3::PbbPacket::SetSequenceNumber(uint16_t number) [member function] - cls.add_method('SetSequenceNumber', - 'void', - [param('uint16_t', 'number')]) - ## packetbb.h: ns3::Ptr ns3::PbbPacket::TlvBack() [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbPacket::TlvBack() const [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbTlv > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::TlvBegin() [member function] - cls.add_method('TlvBegin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::TlvBegin() const [member function] - cls.add_method('TlvBegin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::TlvClear() [member function] - cls.add_method('TlvClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbPacket::TlvEmpty() const [member function] - cls.add_method('TlvEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::TlvEnd() [member function] - cls.add_method('TlvEnd', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::TlvEnd() const [member function] - cls.add_method('TlvEnd', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', - [], - is_const=True) - ## packetbb.h: ns3::Ptr ns3::PbbPacket::TlvFront() [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbPacket::TlvFront() const [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbTlv > const', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::TlvPopBack() [member function] - cls.add_method('TlvPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbPacket::TlvPopFront() [member function] - cls.add_method('TlvPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbPacket::TlvPushBack(ns3::Ptr tlv) [member function] - cls.add_method('TlvPushBack', - 'void', - [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) - ## packetbb.h: void ns3::PbbPacket::TlvPushFront(ns3::Ptr tlv) [member function] - cls.add_method('TlvPushFront', - 'void', - [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) - ## packetbb.h: int ns3::PbbPacket::TlvSize() const [member function] - cls.add_method('TlvSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::Unref() const [member function] - cls.add_method('Unref', - 'void', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::SerializePacketTlv(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('SerializePacketTlv', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected') - return - def register_Ns3Queue_methods(root_module, cls): ## queue.h: ns3::Queue::Queue(ns3::Queue const & arg0) [copy constructor] cls.add_constructor([param('ns3::Queue const &', 'arg0')]) @@ -3855,46 +2434,6 @@ def register_Ns3UdpSocketFactory_methods(root_module, cls): is_static=True) return -def register_Ns3AddressChecker_methods(root_module, cls): - ## address.h: ns3::AddressChecker::AddressChecker() [constructor] - cls.add_constructor([]) - ## address.h: ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')]) - return - -def register_Ns3AddressValue_methods(root_module, cls): - ## address.h: ns3::AddressValue::AddressValue() [constructor] - cls.add_constructor([]) - ## address.h: ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AddressValue const &', 'arg0')]) - ## address.h: ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor] - cls.add_constructor([param('ns3::Address const &', 'value')]) - ## address.h: ns3::Ptr ns3::AddressValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## address.h: bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## address.h: ns3::Address ns3::AddressValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Address', - [], - is_const=True) - ## address.h: std::string ns3::AddressValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## address.h: void ns3::AddressValue::Set(ns3::Address const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Address const &', 'value')]) - return - def register_Ns3Application_methods(root_module, cls): ## application.h: ns3::Application::Application(ns3::Application const & arg0) [copy constructor] cls.add_constructor([param('ns3::Application const &', 'arg0')]) @@ -3914,27 +2453,24 @@ def register_Ns3Application_methods(root_module, cls): cls.add_method('SetNode', 'void', [param('ns3::Ptr< ns3::Node >', 'node')]) - ## application.h: void ns3::Application::Start(ns3::Time const & startTime) [member function] - cls.add_method('Start', + ## application.h: void ns3::Application::SetStartTime(ns3::Time start) [member function] + cls.add_method('SetStartTime', 'void', - [param('ns3::Time const &', 'startTime')]) - ## application.h: void ns3::Application::Start(ns3::RandomVariable const & startVariable) [member function] - cls.add_method('Start', + [param('ns3::Time', 'start')]) + ## application.h: void ns3::Application::SetStopTime(ns3::Time stop) [member function] + cls.add_method('SetStopTime', 'void', - [param('ns3::RandomVariable const &', 'startVariable')]) - ## application.h: void ns3::Application::Stop(ns3::Time const & stopTime) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'stopTime')]) - ## application.h: void ns3::Application::Stop(ns3::RandomVariable const & stopVariable) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::RandomVariable const &', 'stopVariable')]) + [param('ns3::Time', 'stop')]) ## application.h: void ns3::Application::DoDispose() [member function] cls.add_method('DoDispose', 'void', [], visibility='protected', is_virtual=True) + ## application.h: void ns3::Application::DoStart() [member function] + cls.add_method('DoStart', + 'void', + [], + visibility='protected', is_virtual=True) ## application.h: void ns3::Application::StartApplication() [member function] cls.add_method('StartApplication', 'void', @@ -4282,6 +2818,133 @@ def register_Ns3Ipv4_methods(root_module, cls): is_pure_virtual=True, visibility='private', is_virtual=True) return +def register_Ns3Ipv4AddressChecker_methods(root_module, cls): + ## ipv4-address.h: ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor] + cls.add_constructor([]) + ## ipv4-address.h: ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')]) + return + +def register_Ns3Ipv4AddressValue_methods(root_module, cls): + ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor] + cls.add_constructor([]) + ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')]) + ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor] + cls.add_constructor([param('ns3::Ipv4Address const &', 'value')]) + ## ipv4-address.h: ns3::Ptr ns3::Ipv4AddressValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## ipv4-address.h: bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] + cls.add_method('DeserializeFromString', + 'bool', + [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_virtual=True) + ## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function] + cls.add_method('Get', + 'ns3::Ipv4Address', + [], + is_const=True) + ## ipv4-address.h: std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr checker) const [member function] + cls.add_method('SerializeToString', + 'std::string', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True, is_virtual=True) + ## ipv4-address.h: void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::Ipv4Address const &', 'value')]) + return + +def register_Ns3Ipv4MaskChecker_methods(root_module, cls): + ## ipv4-address.h: ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor] + cls.add_constructor([]) + ## ipv4-address.h: ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')]) + return + +def register_Ns3Ipv4MaskValue_methods(root_module, cls): + ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor] + cls.add_constructor([]) + ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')]) + ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor] + cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')]) + ## ipv4-address.h: ns3::Ptr ns3::Ipv4MaskValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## ipv4-address.h: bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] + cls.add_method('DeserializeFromString', + 'bool', + [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_virtual=True) + ## ipv4-address.h: ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function] + cls.add_method('Get', + 'ns3::Ipv4Mask', + [], + is_const=True) + ## ipv4-address.h: std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr checker) const [member function] + cls.add_method('SerializeToString', + 'std::string', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True, is_virtual=True) + ## ipv4-address.h: void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::Ipv4Mask const &', 'value')]) + return + +def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): + ## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv4MulticastRoute const &', 'arg0')]) + ## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute() [constructor] + cls.add_constructor([]) + ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetGroup() const [member function] + cls.add_method('GetGroup', + 'ns3::Ipv4Address', + [], + is_const=True) + ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetOrigin() const [member function] + cls.add_method('GetOrigin', + 'ns3::Ipv4Address', + [], + is_const=True) + ## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] + cls.add_method('GetOutputTtl', + 'uint32_t', + [param('uint32_t', 'oif')], + is_const=True) + ## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] + cls.add_method('GetParent', + 'uint32_t', + [], + is_const=True) + ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetGroup(ns3::Ipv4Address const group) [member function] + cls.add_method('SetGroup', + 'void', + [param('ns3::Ipv4Address const', 'group')]) + ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetOrigin(ns3::Ipv4Address const origin) [member function] + cls.add_method('SetOrigin', + 'void', + [param('ns3::Ipv4Address const', 'origin')]) + ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetOutputTtl(uint32_t oif, uint32_t ttl) [member function] + cls.add_method('SetOutputTtl', + 'void', + [param('uint32_t', 'oif'), param('uint32_t', 'ttl')]) + ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetParent(uint32_t iif) [member function] + cls.add_method('SetParent', + 'void', + [param('uint32_t', 'iif')]) + ## ipv4-route.h: ns3::Ipv4MulticastRoute::MAX_INTERFACES [variable] + cls.add_static_attribute('MAX_INTERFACES', 'uint32_t const', is_const=True) + ## ipv4-route.h: ns3::Ipv4MulticastRoute::MAX_TTL [variable] + cls.add_static_attribute('MAX_TTL', 'uint32_t const', is_const=True) + return + def register_Ns3Ipv4RawSocketFactory_methods(root_module, cls): ## ipv4-raw-socket-factory.h: ns3::Ipv4RawSocketFactory::Ipv4RawSocketFactory() [constructor] cls.add_constructor([]) @@ -4294,6 +2957,50 @@ def register_Ns3Ipv4RawSocketFactory_methods(root_module, cls): is_static=True) return +def register_Ns3Ipv4Route_methods(root_module, cls): + cls.add_output_stream_operator() + ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv4Route const &', 'arg0')]) + ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route() [constructor] + cls.add_constructor([]) + ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetDestination() const [member function] + cls.add_method('GetDestination', + 'ns3::Ipv4Address', + [], + is_const=True) + ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetGateway() const [member function] + cls.add_method('GetGateway', + 'ns3::Ipv4Address', + [], + is_const=True) + ## ipv4-route.h: ns3::Ptr ns3::Ipv4Route::GetOutputDevice() const [member function] + cls.add_method('GetOutputDevice', + 'ns3::Ptr< ns3::NetDevice >', + [], + is_const=True) + ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetSource() const [member function] + cls.add_method('GetSource', + 'ns3::Ipv4Address', + [], + is_const=True) + ## ipv4-route.h: void ns3::Ipv4Route::SetDestination(ns3::Ipv4Address dest) [member function] + cls.add_method('SetDestination', + 'void', + [param('ns3::Ipv4Address', 'dest')]) + ## ipv4-route.h: void ns3::Ipv4Route::SetGateway(ns3::Ipv4Address gw) [member function] + cls.add_method('SetGateway', + 'void', + [param('ns3::Ipv4Address', 'gw')]) + ## ipv4-route.h: void ns3::Ipv4Route::SetOutputDevice(ns3::Ptr outputDevice) [member function] + cls.add_method('SetOutputDevice', + 'void', + [param('ns3::Ptr< ns3::NetDevice >', 'outputDevice')]) + ## ipv4-route.h: void ns3::Ipv4Route::SetSource(ns3::Ipv4Address src) [member function] + cls.add_method('SetSource', + 'void', + [param('ns3::Ipv4Address', 'src')]) + return + def register_Ns3Ipv4RoutingProtocol_methods(root_module, cls): ## ipv4-routing-protocol.h: ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol() [constructor] cls.add_constructor([]) @@ -4324,7 +3031,7 @@ def register_Ns3Ipv4RoutingProtocol_methods(root_module, cls): 'void', [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], is_pure_virtual=True, is_virtual=True) - ## ipv4-routing-protocol.h: bool ns3::Ipv4RoutingProtocol::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback,const ns3::Ipv4Header&,ns3::Socket::SocketErrno,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function] + ## ipv4-routing-protocol.h: bool ns3::Ipv4RoutingProtocol::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, 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')], @@ -4465,6 +3172,134 @@ def register_Ns3Ipv6_methods(root_module, cls): is_pure_virtual=True, visibility='private', is_virtual=True) return +def register_Ns3Ipv6AddressChecker_methods(root_module, cls): + ## ipv6-address.h: ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor] + cls.add_constructor([]) + ## ipv6-address.h: ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')]) + return + +def register_Ns3Ipv6AddressValue_methods(root_module, cls): + ## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor] + cls.add_constructor([]) + ## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')]) + ## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor] + cls.add_constructor([param('ns3::Ipv6Address const &', 'value')]) + ## ipv6-address.h: ns3::Ptr ns3::Ipv6AddressValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## ipv6-address.h: bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] + cls.add_method('DeserializeFromString', + 'bool', + [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_virtual=True) + ## ipv6-address.h: ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function] + cls.add_method('Get', + 'ns3::Ipv6Address', + [], + is_const=True) + ## ipv6-address.h: std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr checker) const [member function] + cls.add_method('SerializeToString', + 'std::string', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True, is_virtual=True) + ## ipv6-address.h: void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::Ipv6Address const &', 'value')]) + return + +def register_Ns3Ipv6MulticastRoute_methods(root_module, cls): + cls.add_output_stream_operator() + ## ipv6-route.h: ns3::Ipv6MulticastRoute::Ipv6MulticastRoute(ns3::Ipv6MulticastRoute const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv6MulticastRoute const &', 'arg0')]) + ## ipv6-route.h: ns3::Ipv6MulticastRoute::Ipv6MulticastRoute() [constructor] + cls.add_constructor([]) + ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6MulticastRoute::GetGroup() const [member function] + cls.add_method('GetGroup', + 'ns3::Ipv6Address', + [], + is_const=True) + ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6MulticastRoute::GetOrigin() const [member function] + cls.add_method('GetOrigin', + 'ns3::Ipv6Address', + [], + is_const=True) + ## ipv6-route.h: uint32_t ns3::Ipv6MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] + cls.add_method('GetOutputTtl', + 'uint32_t', + [param('uint32_t', 'oif')], + is_const=True) + ## ipv6-route.h: uint32_t ns3::Ipv6MulticastRoute::GetParent() const [member function] + cls.add_method('GetParent', + 'uint32_t', + [], + is_const=True) + ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetGroup(ns3::Ipv6Address const group) [member function] + cls.add_method('SetGroup', + 'void', + [param('ns3::Ipv6Address const', 'group')]) + ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetOrigin(ns3::Ipv6Address const origin) [member function] + cls.add_method('SetOrigin', + 'void', + [param('ns3::Ipv6Address const', 'origin')]) + ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetOutputTtl(uint32_t oif, uint32_t ttl) [member function] + cls.add_method('SetOutputTtl', + 'void', + [param('uint32_t', 'oif'), param('uint32_t', 'ttl')]) + ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetParent(uint32_t iif) [member function] + cls.add_method('SetParent', + 'void', + [param('uint32_t', 'iif')]) + ## ipv6-route.h: ns3::Ipv6MulticastRoute::MAX_INTERFACES [variable] + cls.add_static_attribute('MAX_INTERFACES', 'uint32_t const', is_const=True) + ## ipv6-route.h: ns3::Ipv6MulticastRoute::MAX_TTL [variable] + cls.add_static_attribute('MAX_TTL', 'uint32_t const', is_const=True) + return + +def register_Ns3Ipv6PrefixChecker_methods(root_module, cls): + ## ipv6-address.h: ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor] + cls.add_constructor([]) + ## ipv6-address.h: ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')]) + return + +def register_Ns3Ipv6PrefixValue_methods(root_module, cls): + ## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor] + cls.add_constructor([]) + ## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')]) + ## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor] + cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')]) + ## ipv6-address.h: ns3::Ptr ns3::Ipv6PrefixValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## ipv6-address.h: bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] + cls.add_method('DeserializeFromString', + 'bool', + [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_virtual=True) + ## ipv6-address.h: ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function] + cls.add_method('Get', + 'ns3::Ipv6Prefix', + [], + is_const=True) + ## ipv6-address.h: std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr checker) const [member function] + cls.add_method('SerializeToString', + 'std::string', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True, is_virtual=True) + ## ipv6-address.h: void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::Ipv6Prefix const &', 'value')]) + return + def register_Ns3Ipv6RawSocketFactory_methods(root_module, cls): ## ipv6-raw-socket-factory.h: ns3::Ipv6RawSocketFactory::Ipv6RawSocketFactory() [constructor] cls.add_constructor([]) @@ -4477,6 +3312,50 @@ def register_Ns3Ipv6RawSocketFactory_methods(root_module, cls): is_static=True) return +def register_Ns3Ipv6Route_methods(root_module, cls): + cls.add_output_stream_operator() + ## ipv6-route.h: ns3::Ipv6Route::Ipv6Route(ns3::Ipv6Route const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv6Route const &', 'arg0')]) + ## ipv6-route.h: ns3::Ipv6Route::Ipv6Route() [constructor] + cls.add_constructor([]) + ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6Route::GetDestination() const [member function] + cls.add_method('GetDestination', + 'ns3::Ipv6Address', + [], + is_const=True) + ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6Route::GetGateway() const [member function] + cls.add_method('GetGateway', + 'ns3::Ipv6Address', + [], + is_const=True) + ## ipv6-route.h: ns3::Ptr ns3::Ipv6Route::GetOutputDevice() const [member function] + cls.add_method('GetOutputDevice', + 'ns3::Ptr< ns3::NetDevice >', + [], + is_const=True) + ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6Route::GetSource() const [member function] + cls.add_method('GetSource', + 'ns3::Ipv6Address', + [], + is_const=True) + ## ipv6-route.h: void ns3::Ipv6Route::SetDestination(ns3::Ipv6Address dest) [member function] + cls.add_method('SetDestination', + 'void', + [param('ns3::Ipv6Address', 'dest')]) + ## ipv6-route.h: void ns3::Ipv6Route::SetGateway(ns3::Ipv6Address gw) [member function] + cls.add_method('SetGateway', + 'void', + [param('ns3::Ipv6Address', 'gw')]) + ## ipv6-route.h: void ns3::Ipv6Route::SetOutputDevice(ns3::Ptr outputDevice) [member function] + cls.add_method('SetOutputDevice', + 'void', + [param('ns3::Ptr< ns3::NetDevice >', 'outputDevice')]) + ## ipv6-route.h: void ns3::Ipv6Route::SetSource(ns3::Ipv6Address src) [member function] + cls.add_method('SetSource', + 'void', + [param('ns3::Ipv6Address', 'src')]) + return + def register_Ns3Ipv6RoutingProtocol_methods(root_module, cls): ## ipv6-routing-protocol.h: ns3::Ipv6RoutingProtocol::Ipv6RoutingProtocol() [constructor] cls.add_constructor([]) @@ -4534,6 +3413,46 @@ def register_Ns3Ipv6RoutingProtocol_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return +def register_Ns3Mac48AddressChecker_methods(root_module, cls): + ## mac48-address.h: ns3::Mac48AddressChecker::Mac48AddressChecker() [constructor] + cls.add_constructor([]) + ## mac48-address.h: ns3::Mac48AddressChecker::Mac48AddressChecker(ns3::Mac48AddressChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Mac48AddressChecker const &', 'arg0')]) + return + +def register_Ns3Mac48AddressValue_methods(root_module, cls): + ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue() [constructor] + cls.add_constructor([]) + ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48AddressValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Mac48AddressValue const &', 'arg0')]) + ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48Address const & value) [constructor] + cls.add_constructor([param('ns3::Mac48Address const &', 'value')]) + ## mac48-address.h: ns3::Ptr ns3::Mac48AddressValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## mac48-address.h: bool ns3::Mac48AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] + cls.add_method('DeserializeFromString', + 'bool', + [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_virtual=True) + ## mac48-address.h: ns3::Mac48Address ns3::Mac48AddressValue::Get() const [member function] + cls.add_method('Get', + 'ns3::Mac48Address', + [], + is_const=True) + ## mac48-address.h: std::string ns3::Mac48AddressValue::SerializeToString(ns3::Ptr checker) const [member function] + cls.add_method('SerializeToString', + 'std::string', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True, is_virtual=True) + ## mac48-address.h: void ns3::Mac48AddressValue::Set(ns3::Mac48Address const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::Mac48Address const &', 'value')]) + return + def register_Ns3NetDevice_methods(root_module, cls): ## net-device.h: ns3::NetDevice::NetDevice() [constructor] cls.add_constructor([]) @@ -4734,6 +3653,11 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) + ## node.h: void ns3::Node::DoStart() [member function] + cls.add_method('DoStart', + 'void', + [], + visibility='protected', is_virtual=True) ## node.h: void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] cls.add_method('NotifyDeviceAdded', 'void', @@ -4758,6 +3682,996 @@ def register_Ns3PacketSocketFactory_methods(root_module, cls): is_static=True) return +def register_Ns3PbbAddressBlock_methods(root_module, cls): + cls.add_binary_comparison_operator('==') + cls.add_binary_comparison_operator('!=') + ## packetbb.h: ns3::PbbAddressBlock::PbbAddressBlock(ns3::PbbAddressBlock const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbAddressBlock const &', 'arg0')]) + ## packetbb.h: ns3::PbbAddressBlock::PbbAddressBlock() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::Address ns3::PbbAddressBlock::AddressBack() const [member function] + cls.add_method('AddressBack', + 'ns3::Address', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressBegin() [member function] + cls.add_method('AddressBegin', + 'std::_List_iterator< ns3::Address >', + []) + ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::AddressBegin() const [member function] + cls.add_method('AddressBegin', + 'std::_List_const_iterator< ns3::Address >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::AddressClear() [member function] + cls.add_method('AddressClear', + 'void', + []) + ## packetbb.h: bool ns3::PbbAddressBlock::AddressEmpty() const [member function] + cls.add_method('AddressEmpty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressEnd() [member function] + cls.add_method('AddressEnd', + 'std::_List_iterator< ns3::Address >', + []) + ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::AddressEnd() const [member function] + cls.add_method('AddressEnd', + 'std::_List_const_iterator< ns3::Address >', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressErase(std::_List_iterator position) [member function] + cls.add_method('AddressErase', + 'std::_List_iterator< ns3::Address >', + [param('std::_List_iterator< ns3::Address >', 'position')]) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressErase(std::_List_iterator first, std::_List_iterator last) [member function] + cls.add_method('AddressErase', + 'std::_List_iterator< ns3::Address >', + [param('std::_List_iterator< ns3::Address >', 'first'), param('std::_List_iterator< ns3::Address >', 'last')]) + ## packetbb.h: ns3::Address ns3::PbbAddressBlock::AddressFront() const [member function] + cls.add_method('AddressFront', + 'ns3::Address', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressInsert(std::_List_iterator position, ns3::Address const value) [member function] + cls.add_method('AddressInsert', + 'std::_List_iterator< ns3::Address >', + [param('std::_List_iterator< ns3::Address >', 'position'), param('ns3::Address const', 'value')]) + ## packetbb.h: void ns3::PbbAddressBlock::AddressPopBack() [member function] + cls.add_method('AddressPopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbAddressBlock::AddressPopFront() [member function] + cls.add_method('AddressPopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbAddressBlock::AddressPushBack(ns3::Address address) [member function] + cls.add_method('AddressPushBack', + 'void', + [param('ns3::Address', 'address')]) + ## packetbb.h: void ns3::PbbAddressBlock::AddressPushFront(ns3::Address address) [member function] + cls.add_method('AddressPushFront', + 'void', + [param('ns3::Address', 'address')]) + ## packetbb.h: int ns3::PbbAddressBlock::AddressSize() const [member function] + cls.add_method('AddressSize', + 'int', + [], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::Deserialize(ns3::Buffer::Iterator & start) [member function] + cls.add_method('Deserialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')]) + ## packetbb.h: uint32_t ns3::PbbAddressBlock::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True) + ## packetbb.h: uint8_t ns3::PbbAddressBlock::PrefixBack() const [member function] + cls.add_method('PrefixBack', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixBegin() [member function] + cls.add_method('PrefixBegin', + 'std::_List_iterator< unsigned char >', + []) + ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::PrefixBegin() const [member function] + cls.add_method('PrefixBegin', + 'std::_List_const_iterator< unsigned char >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::PrefixClear() [member function] + cls.add_method('PrefixClear', + 'void', + []) + ## packetbb.h: bool ns3::PbbAddressBlock::PrefixEmpty() const [member function] + cls.add_method('PrefixEmpty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixEnd() [member function] + cls.add_method('PrefixEnd', + 'std::_List_iterator< unsigned char >', + []) + ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::PrefixEnd() const [member function] + cls.add_method('PrefixEnd', + 'std::_List_const_iterator< unsigned char >', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixErase(std::_List_iterator position) [member function] + cls.add_method('PrefixErase', + 'std::_List_iterator< unsigned char >', + [param('std::_List_iterator< unsigned char >', 'position')]) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixErase(std::_List_iterator first, std::_List_iterator last) [member function] + cls.add_method('PrefixErase', + 'std::_List_iterator< unsigned char >', + [param('std::_List_iterator< unsigned char >', 'first'), param('std::_List_iterator< unsigned char >', 'last')]) + ## packetbb.h: uint8_t ns3::PbbAddressBlock::PrefixFront() const [member function] + cls.add_method('PrefixFront', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixInsert(std::_List_iterator position, uint8_t const value) [member function] + cls.add_method('PrefixInsert', + 'std::_List_iterator< unsigned char >', + [param('std::_List_iterator< unsigned char >', 'position'), param('uint8_t const', 'value')]) + ## packetbb.h: void ns3::PbbAddressBlock::PrefixPopBack() [member function] + cls.add_method('PrefixPopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbAddressBlock::PrefixPopFront() [member function] + cls.add_method('PrefixPopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbAddressBlock::PrefixPushBack(uint8_t prefix) [member function] + cls.add_method('PrefixPushBack', + 'void', + [param('uint8_t', 'prefix')]) + ## packetbb.h: void ns3::PbbAddressBlock::PrefixPushFront(uint8_t prefix) [member function] + cls.add_method('PrefixPushFront', + 'void', + [param('uint8_t', 'prefix')]) + ## packetbb.h: int ns3::PbbAddressBlock::PrefixSize() const [member function] + cls.add_method('PrefixSize', + 'int', + [], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::Print(std::ostream & os, int level) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os'), param('int', 'level')], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::Serialize(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True) + ## packetbb.h: ns3::Ptr ns3::PbbAddressBlock::TlvBack() [member function] + cls.add_method('TlvBack', + 'ns3::Ptr< ns3::PbbAddressTlv >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbAddressBlock::TlvBack() const [member function] + cls.add_method('TlvBack', + 'ns3::Ptr< ns3::PbbAddressTlv > const', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvBegin() [member function] + cls.add_method('TlvBegin', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressBlock::TlvBegin() const [member function] + cls.add_method('TlvBegin', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::TlvClear() [member function] + cls.add_method('TlvClear', + 'void', + []) + ## packetbb.h: bool ns3::PbbAddressBlock::TlvEmpty() const [member function] + cls.add_method('TlvEmpty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvEnd() [member function] + cls.add_method('TlvEnd', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressBlock::TlvEnd() const [member function] + cls.add_method('TlvEnd', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvErase(std::_List_iterator > position) [member function] + cls.add_method('TlvErase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position')]) + ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvErase(std::_List_iterator > first, std::_List_iterator > last) [member function] + cls.add_method('TlvErase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'last')]) + ## packetbb.h: ns3::Ptr ns3::PbbAddressBlock::TlvFront() [member function] + cls.add_method('TlvFront', + 'ns3::Ptr< ns3::PbbAddressTlv >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbAddressBlock::TlvFront() const [member function] + cls.add_method('TlvFront', + 'ns3::Ptr< ns3::PbbAddressTlv > const', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvInsert(std::_List_iterator > position, ns3::Ptr const value) [member function] + cls.add_method('TlvInsert', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position'), param('ns3::Ptr< ns3::PbbTlv > const', 'value')]) + ## packetbb.h: void ns3::PbbAddressBlock::TlvPopBack() [member function] + cls.add_method('TlvPopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbAddressBlock::TlvPopFront() [member function] + cls.add_method('TlvPopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbAddressBlock::TlvPushBack(ns3::Ptr address) [member function] + cls.add_method('TlvPushBack', + 'void', + [param('ns3::Ptr< ns3::PbbAddressTlv >', 'address')]) + ## packetbb.h: void ns3::PbbAddressBlock::TlvPushFront(ns3::Ptr address) [member function] + cls.add_method('TlvPushFront', + 'void', + [param('ns3::Ptr< ns3::PbbAddressTlv >', 'address')]) + ## packetbb.h: int ns3::PbbAddressBlock::TlvSize() const [member function] + cls.add_method('TlvSize', + 'int', + [], + is_const=True) + ## packetbb.h: ns3::Address ns3::PbbAddressBlock::DeserializeAddress(uint8_t * buffer) const [member function] + cls.add_method('DeserializeAddress', + 'ns3::Address', + [param('uint8_t *', 'buffer')], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: uint8_t ns3::PbbAddressBlock::GetAddressLength() const [member function] + cls.add_method('GetAddressLength', + 'uint8_t', + [], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbAddressBlock::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function] + cls.add_method('PrintAddress', + 'void', + [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbAddressBlock::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function] + cls.add_method('SerializeAddress', + 'void', + [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + return + +def register_Ns3PbbAddressBlockIpv4_methods(root_module, cls): + ## packetbb.h: ns3::PbbAddressBlockIpv4::PbbAddressBlockIpv4(ns3::PbbAddressBlockIpv4 const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbAddressBlockIpv4 const &', 'arg0')]) + ## packetbb.h: ns3::PbbAddressBlockIpv4::PbbAddressBlockIpv4() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::Address ns3::PbbAddressBlockIpv4::DeserializeAddress(uint8_t * buffer) const [member function] + cls.add_method('DeserializeAddress', + 'ns3::Address', + [param('uint8_t *', 'buffer')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: uint8_t ns3::PbbAddressBlockIpv4::GetAddressLength() const [member function] + cls.add_method('GetAddressLength', + 'uint8_t', + [], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbAddressBlockIpv4::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function] + cls.add_method('PrintAddress', + 'void', + [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbAddressBlockIpv4::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function] + cls.add_method('SerializeAddress', + 'void', + [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')], + is_const=True, visibility='protected', is_virtual=True) + return + +def register_Ns3PbbAddressBlockIpv6_methods(root_module, cls): + ## packetbb.h: ns3::PbbAddressBlockIpv6::PbbAddressBlockIpv6(ns3::PbbAddressBlockIpv6 const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbAddressBlockIpv6 const &', 'arg0')]) + ## packetbb.h: ns3::PbbAddressBlockIpv6::PbbAddressBlockIpv6() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::Address ns3::PbbAddressBlockIpv6::DeserializeAddress(uint8_t * buffer) const [member function] + cls.add_method('DeserializeAddress', + 'ns3::Address', + [param('uint8_t *', 'buffer')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: uint8_t ns3::PbbAddressBlockIpv6::GetAddressLength() const [member function] + cls.add_method('GetAddressLength', + 'uint8_t', + [], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbAddressBlockIpv6::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function] + cls.add_method('PrintAddress', + 'void', + [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbAddressBlockIpv6::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function] + cls.add_method('SerializeAddress', + 'void', + [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')], + is_const=True, visibility='protected', is_virtual=True) + return + +def register_Ns3PbbMessage_methods(root_module, cls): + cls.add_binary_comparison_operator('==') + cls.add_binary_comparison_operator('!=') + ## packetbb.h: ns3::PbbMessage::PbbMessage(ns3::PbbMessage const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbMessage const &', 'arg0')]) + ## packetbb.h: ns3::PbbMessage::PbbMessage() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::Ptr ns3::PbbMessage::AddressBlockBack() [member function] + cls.add_method('AddressBlockBack', + 'ns3::Ptr< ns3::PbbAddressBlock >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbMessage::AddressBlockBack() const [member function] + cls.add_method('AddressBlockBack', + 'ns3::Ptr< ns3::PbbAddressBlock > const', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockBegin() [member function] + cls.add_method('AddressBlockBegin', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::AddressBlockBegin() const [member function] + cls.add_method('AddressBlockBegin', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::AddressBlockClear() [member function] + cls.add_method('AddressBlockClear', + 'void', + []) + ## packetbb.h: bool ns3::PbbMessage::AddressBlockEmpty() const [member function] + cls.add_method('AddressBlockEmpty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockEnd() [member function] + cls.add_method('AddressBlockEnd', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::AddressBlockEnd() const [member function] + cls.add_method('AddressBlockEnd', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockErase(std::_List_iterator > position) [member function] + cls.add_method('AddressBlockErase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', 'position')]) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockErase(std::_List_iterator > first, std::_List_iterator > last) [member function] + cls.add_method('AddressBlockErase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', 'last')]) + ## packetbb.h: ns3::Ptr ns3::PbbMessage::AddressBlockFront() [member function] + cls.add_method('AddressBlockFront', + 'ns3::Ptr< ns3::PbbAddressBlock >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbMessage::AddressBlockFront() const [member function] + cls.add_method('AddressBlockFront', + 'ns3::Ptr< ns3::PbbAddressBlock > const', + [], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::AddressBlockPopBack() [member function] + cls.add_method('AddressBlockPopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbMessage::AddressBlockPopFront() [member function] + cls.add_method('AddressBlockPopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbMessage::AddressBlockPushBack(ns3::Ptr block) [member function] + cls.add_method('AddressBlockPushBack', + 'void', + [param('ns3::Ptr< ns3::PbbAddressBlock >', 'block')]) + ## packetbb.h: void ns3::PbbMessage::AddressBlockPushFront(ns3::Ptr block) [member function] + cls.add_method('AddressBlockPushFront', + 'void', + [param('ns3::Ptr< ns3::PbbAddressBlock >', 'block')]) + ## packetbb.h: int ns3::PbbMessage::AddressBlockSize() const [member function] + cls.add_method('AddressBlockSize', + 'int', + [], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::Deserialize(ns3::Buffer::Iterator & start) [member function] + cls.add_method('Deserialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')]) + ## packetbb.h: static ns3::Ptr ns3::PbbMessage::DeserializeMessage(ns3::Buffer::Iterator & start) [member function] + cls.add_method('DeserializeMessage', + 'ns3::Ptr< ns3::PbbMessage >', + [param('ns3::Buffer::Iterator &', 'start')], + is_static=True) + ## packetbb.h: uint8_t ns3::PbbMessage::GetHopCount() const [member function] + cls.add_method('GetHopCount', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: uint8_t ns3::PbbMessage::GetHopLimit() const [member function] + cls.add_method('GetHopLimit', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: ns3::Address ns3::PbbMessage::GetOriginatorAddress() const [member function] + cls.add_method('GetOriginatorAddress', + 'ns3::Address', + [], + is_const=True) + ## packetbb.h: uint16_t ns3::PbbMessage::GetSequenceNumber() const [member function] + cls.add_method('GetSequenceNumber', + 'uint16_t', + [], + is_const=True) + ## packetbb.h: uint32_t ns3::PbbMessage::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True) + ## packetbb.h: uint8_t ns3::PbbMessage::GetType() const [member function] + cls.add_method('GetType', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbMessage::HasHopCount() const [member function] + cls.add_method('HasHopCount', + 'bool', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbMessage::HasHopLimit() const [member function] + cls.add_method('HasHopLimit', + 'bool', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbMessage::HasOriginatorAddress() const [member function] + cls.add_method('HasOriginatorAddress', + 'bool', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbMessage::HasSequenceNumber() const [member function] + cls.add_method('HasSequenceNumber', + 'bool', + [], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::Print(std::ostream & os, int level) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os'), param('int', 'level')], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::Serialize(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::SetHopCount(uint8_t hopcount) [member function] + cls.add_method('SetHopCount', + 'void', + [param('uint8_t', 'hopcount')]) + ## packetbb.h: void ns3::PbbMessage::SetHopLimit(uint8_t hoplimit) [member function] + cls.add_method('SetHopLimit', + 'void', + [param('uint8_t', 'hoplimit')]) + ## packetbb.h: void ns3::PbbMessage::SetOriginatorAddress(ns3::Address address) [member function] + cls.add_method('SetOriginatorAddress', + 'void', + [param('ns3::Address', 'address')]) + ## packetbb.h: void ns3::PbbMessage::SetSequenceNumber(uint16_t seqnum) [member function] + cls.add_method('SetSequenceNumber', + 'void', + [param('uint16_t', 'seqnum')]) + ## packetbb.h: void ns3::PbbMessage::SetType(uint8_t type) [member function] + cls.add_method('SetType', + 'void', + [param('uint8_t', 'type')]) + ## packetbb.h: ns3::Ptr ns3::PbbMessage::TlvBack() [member function] + cls.add_method('TlvBack', + 'ns3::Ptr< ns3::PbbTlv >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbMessage::TlvBack() const [member function] + cls.add_method('TlvBack', + 'ns3::Ptr< ns3::PbbTlv > const', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvBegin() [member function] + cls.add_method('TlvBegin', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::TlvBegin() const [member function] + cls.add_method('TlvBegin', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::TlvClear() [member function] + cls.add_method('TlvClear', + 'void', + []) + ## packetbb.h: bool ns3::PbbMessage::TlvEmpty() const [member function] + cls.add_method('TlvEmpty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvEnd() [member function] + cls.add_method('TlvEnd', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::TlvEnd() const [member function] + cls.add_method('TlvEnd', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvErase(std::_List_iterator > position) [member function] + cls.add_method('TlvErase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'position')]) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvErase(std::_List_iterator > first, std::_List_iterator > last) [member function] + cls.add_method('TlvErase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'last')]) + ## packetbb.h: ns3::Ptr ns3::PbbMessage::TlvFront() [member function] + cls.add_method('TlvFront', + 'ns3::Ptr< ns3::PbbTlv >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbMessage::TlvFront() const [member function] + cls.add_method('TlvFront', + 'ns3::Ptr< ns3::PbbTlv > const', + [], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::TlvPopBack() [member function] + cls.add_method('TlvPopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbMessage::TlvPopFront() [member function] + cls.add_method('TlvPopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbMessage::TlvPushBack(ns3::Ptr tlv) [member function] + cls.add_method('TlvPushBack', + 'void', + [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) + ## packetbb.h: void ns3::PbbMessage::TlvPushFront(ns3::Ptr tlv) [member function] + cls.add_method('TlvPushFront', + 'void', + [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) + ## packetbb.h: int ns3::PbbMessage::TlvSize() const [member function] + cls.add_method('TlvSize', + 'int', + [], + is_const=True) + ## packetbb.h: ns3::Ptr ns3::PbbMessage::AddressBlockDeserialize(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('AddressBlockDeserialize', + 'ns3::Ptr< ns3::PbbAddressBlock >', + [param('ns3::Buffer::Iterator &', 'start')], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: ns3::Address ns3::PbbMessage::DeserializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('DeserializeOriginatorAddress', + 'ns3::Address', + [param('ns3::Buffer::Iterator &', 'start')], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: ns3::PbbAddressLength ns3::PbbMessage::GetAddressLength() const [member function] + cls.add_method('GetAddressLength', + 'ns3::PbbAddressLength', + [], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbMessage::PrintOriginatorAddress(std::ostream & os) const [member function] + cls.add_method('PrintOriginatorAddress', + 'void', + [param('std::ostream &', 'os')], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbMessage::SerializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('SerializeOriginatorAddress', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + return + +def register_Ns3PbbMessageIpv4_methods(root_module, cls): + ## packetbb.h: ns3::PbbMessageIpv4::PbbMessageIpv4(ns3::PbbMessageIpv4 const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbMessageIpv4 const &', 'arg0')]) + ## packetbb.h: ns3::PbbMessageIpv4::PbbMessageIpv4() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::Ptr ns3::PbbMessageIpv4::AddressBlockDeserialize(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('AddressBlockDeserialize', + 'ns3::Ptr< ns3::PbbAddressBlock >', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: ns3::Address ns3::PbbMessageIpv4::DeserializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('DeserializeOriginatorAddress', + 'ns3::Address', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: ns3::PbbAddressLength ns3::PbbMessageIpv4::GetAddressLength() const [member function] + cls.add_method('GetAddressLength', + 'ns3::PbbAddressLength', + [], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbMessageIpv4::PrintOriginatorAddress(std::ostream & os) const [member function] + cls.add_method('PrintOriginatorAddress', + 'void', + [param('std::ostream &', 'os')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbMessageIpv4::SerializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('SerializeOriginatorAddress', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True, visibility='protected', is_virtual=True) + return + +def register_Ns3PbbMessageIpv6_methods(root_module, cls): + ## packetbb.h: ns3::PbbMessageIpv6::PbbMessageIpv6(ns3::PbbMessageIpv6 const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbMessageIpv6 const &', 'arg0')]) + ## packetbb.h: ns3::PbbMessageIpv6::PbbMessageIpv6() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::Ptr ns3::PbbMessageIpv6::AddressBlockDeserialize(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('AddressBlockDeserialize', + 'ns3::Ptr< ns3::PbbAddressBlock >', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: ns3::Address ns3::PbbMessageIpv6::DeserializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('DeserializeOriginatorAddress', + 'ns3::Address', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: ns3::PbbAddressLength ns3::PbbMessageIpv6::GetAddressLength() const [member function] + cls.add_method('GetAddressLength', + 'ns3::PbbAddressLength', + [], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbMessageIpv6::PrintOriginatorAddress(std::ostream & os) const [member function] + cls.add_method('PrintOriginatorAddress', + 'void', + [param('std::ostream &', 'os')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbMessageIpv6::SerializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('SerializeOriginatorAddress', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True, visibility='protected', is_virtual=True) + return + +def register_Ns3PbbPacket_methods(root_module, cls): + cls.add_binary_comparison_operator('==') + cls.add_binary_comparison_operator('!=') + ## packetbb.h: ns3::PbbPacket::PbbPacket(ns3::PbbPacket const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbPacket const &', 'arg0')]) + ## packetbb.h: ns3::PbbPacket::PbbPacket() [constructor] + cls.add_constructor([]) + ## packetbb.h: uint32_t ns3::PbbPacket::Deserialize(ns3::Buffer::Iterator start) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'start')], + is_virtual=True) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > position) [member function] + cls.add_method('Erase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'position')]) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > first, std::_List_iterator > last) [member function] + cls.add_method('Erase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'last')]) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > position) [member function] + cls.add_method('Erase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', 'position')]) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > first, std::_List_iterator > last) [member function] + cls.add_method('Erase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', 'last')]) + ## packetbb.h: ns3::TypeId ns3::PbbPacket::GetInstanceTypeId() const [member function] + cls.add_method('GetInstanceTypeId', + 'ns3::TypeId', + [], + is_const=True, is_virtual=True) + ## packetbb.h: uint16_t ns3::PbbPacket::GetSequenceNumber() const [member function] + cls.add_method('GetSequenceNumber', + 'uint16_t', + [], + is_const=True) + ## packetbb.h: uint32_t ns3::PbbPacket::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## packetbb.h: static ns3::TypeId ns3::PbbPacket::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## packetbb.h: uint8_t ns3::PbbPacket::GetVersion() const [member function] + cls.add_method('GetVersion', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbPacket::HasSequenceNumber() const [member function] + cls.add_method('HasSequenceNumber', + 'bool', + [], + is_const=True) + ## packetbb.h: ns3::Ptr ns3::PbbPacket::MessageBack() [member function] + cls.add_method('MessageBack', + 'ns3::Ptr< ns3::PbbMessage >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbPacket::MessageBack() const [member function] + cls.add_method('MessageBack', + 'ns3::Ptr< ns3::PbbMessage > const', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::MessageBegin() [member function] + cls.add_method('MessageBegin', + 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::MessageBegin() const [member function] + cls.add_method('MessageBegin', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbMessage > >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbPacket::MessageClear() [member function] + cls.add_method('MessageClear', + 'void', + []) + ## packetbb.h: bool ns3::PbbPacket::MessageEmpty() const [member function] + cls.add_method('MessageEmpty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::MessageEnd() [member function] + cls.add_method('MessageEnd', + 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::MessageEnd() const [member function] + cls.add_method('MessageEnd', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbMessage > >', + [], + is_const=True) + ## packetbb.h: ns3::Ptr ns3::PbbPacket::MessageFront() [member function] + cls.add_method('MessageFront', + 'ns3::Ptr< ns3::PbbMessage >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbPacket::MessageFront() const [member function] + cls.add_method('MessageFront', + 'ns3::Ptr< ns3::PbbMessage > const', + [], + is_const=True) + ## packetbb.h: void ns3::PbbPacket::MessagePopBack() [member function] + cls.add_method('MessagePopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbPacket::MessagePopFront() [member function] + cls.add_method('MessagePopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbPacket::MessagePushBack(ns3::Ptr message) [member function] + cls.add_method('MessagePushBack', + 'void', + [param('ns3::Ptr< ns3::PbbMessage >', 'message')]) + ## packetbb.h: void ns3::PbbPacket::MessagePushFront(ns3::Ptr message) [member function] + cls.add_method('MessagePushFront', + 'void', + [param('ns3::Ptr< ns3::PbbMessage >', 'message')]) + ## packetbb.h: int ns3::PbbPacket::MessageSize() const [member function] + cls.add_method('MessageSize', + 'int', + [], + is_const=True) + ## packetbb.h: void ns3::PbbPacket::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, is_virtual=True) + ## packetbb.h: void ns3::PbbPacket::Serialize(ns3::Buffer::Iterator start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator', 'start')], + is_const=True, is_virtual=True) + ## packetbb.h: void ns3::PbbPacket::SetSequenceNumber(uint16_t number) [member function] + cls.add_method('SetSequenceNumber', + 'void', + [param('uint16_t', 'number')]) + ## packetbb.h: ns3::Ptr ns3::PbbPacket::TlvBack() [member function] + cls.add_method('TlvBack', + 'ns3::Ptr< ns3::PbbTlv >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbPacket::TlvBack() const [member function] + cls.add_method('TlvBack', + 'ns3::Ptr< ns3::PbbTlv > const', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::TlvBegin() [member function] + cls.add_method('TlvBegin', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::TlvBegin() const [member function] + cls.add_method('TlvBegin', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbPacket::TlvClear() [member function] + cls.add_method('TlvClear', + 'void', + []) + ## packetbb.h: bool ns3::PbbPacket::TlvEmpty() const [member function] + cls.add_method('TlvEmpty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::TlvEnd() [member function] + cls.add_method('TlvEnd', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::TlvEnd() const [member function] + cls.add_method('TlvEnd', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', + [], + is_const=True) + ## packetbb.h: ns3::Ptr ns3::PbbPacket::TlvFront() [member function] + cls.add_method('TlvFront', + 'ns3::Ptr< ns3::PbbTlv >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbPacket::TlvFront() const [member function] + cls.add_method('TlvFront', + 'ns3::Ptr< ns3::PbbTlv > const', + [], + is_const=True) + ## packetbb.h: void ns3::PbbPacket::TlvPopBack() [member function] + cls.add_method('TlvPopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbPacket::TlvPopFront() [member function] + cls.add_method('TlvPopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbPacket::TlvPushBack(ns3::Ptr tlv) [member function] + cls.add_method('TlvPushBack', + 'void', + [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) + ## packetbb.h: void ns3::PbbPacket::TlvPushFront(ns3::Ptr tlv) [member function] + cls.add_method('TlvPushFront', + 'void', + [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) + ## packetbb.h: int ns3::PbbPacket::TlvSize() const [member function] + cls.add_method('TlvSize', + 'int', + [], + is_const=True) + ## packetbb.h: void ns3::PbbPacket::SerializePacketTlv(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('SerializePacketTlv', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True, visibility='protected') + return + +def register_Ns3PbbTlv_methods(root_module, cls): + cls.add_binary_comparison_operator('==') + cls.add_binary_comparison_operator('!=') + ## packetbb.h: ns3::PbbTlv::PbbTlv(ns3::PbbTlv const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbTlv const &', 'arg0')]) + ## packetbb.h: ns3::PbbTlv::PbbTlv() [constructor] + cls.add_constructor([]) + ## packetbb.h: void ns3::PbbTlv::Deserialize(ns3::Buffer::Iterator & start) [member function] + cls.add_method('Deserialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')]) + ## packetbb.h: uint32_t ns3::PbbTlv::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True) + ## packetbb.h: uint8_t ns3::PbbTlv::GetType() const [member function] + cls.add_method('GetType', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: uint8_t ns3::PbbTlv::GetTypeExt() const [member function] + cls.add_method('GetTypeExt', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: ns3::Buffer ns3::PbbTlv::GetValue() const [member function] + cls.add_method('GetValue', + 'ns3::Buffer', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbTlv::HasTypeExt() const [member function] + cls.add_method('HasTypeExt', + 'bool', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbTlv::HasValue() const [member function] + cls.add_method('HasValue', + 'bool', + [], + is_const=True) + ## packetbb.h: void ns3::PbbTlv::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True) + ## packetbb.h: void ns3::PbbTlv::Print(std::ostream & os, int level) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os'), param('int', 'level')], + is_const=True) + ## packetbb.h: void ns3::PbbTlv::Serialize(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True) + ## packetbb.h: void ns3::PbbTlv::SetType(uint8_t type) [member function] + cls.add_method('SetType', + 'void', + [param('uint8_t', 'type')]) + ## packetbb.h: void ns3::PbbTlv::SetTypeExt(uint8_t type) [member function] + cls.add_method('SetTypeExt', + 'void', + [param('uint8_t', 'type')]) + ## packetbb.h: void ns3::PbbTlv::SetValue(ns3::Buffer start) [member function] + cls.add_method('SetValue', + 'void', + [param('ns3::Buffer', 'start')]) + ## packetbb.h: void ns3::PbbTlv::SetValue(uint8_t const * buffer, uint32_t size) [member function] + cls.add_method('SetValue', + 'void', + [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) + ## packetbb.h: uint8_t ns3::PbbTlv::GetIndexStart() const [member function] + cls.add_method('GetIndexStart', + 'uint8_t', + [], + is_const=True, visibility='protected') + ## packetbb.h: uint8_t ns3::PbbTlv::GetIndexStop() const [member function] + cls.add_method('GetIndexStop', + 'uint8_t', + [], + is_const=True, visibility='protected') + ## packetbb.h: bool ns3::PbbTlv::HasIndexStart() const [member function] + cls.add_method('HasIndexStart', + 'bool', + [], + is_const=True, visibility='protected') + ## packetbb.h: bool ns3::PbbTlv::HasIndexStop() const [member function] + cls.add_method('HasIndexStop', + 'bool', + [], + is_const=True, visibility='protected') + ## packetbb.h: bool ns3::PbbTlv::IsMultivalue() const [member function] + cls.add_method('IsMultivalue', + 'bool', + [], + is_const=True, visibility='protected') + ## packetbb.h: void ns3::PbbTlv::SetIndexStart(uint8_t index) [member function] + cls.add_method('SetIndexStart', + 'void', + [param('uint8_t', 'index')], + visibility='protected') + ## packetbb.h: void ns3::PbbTlv::SetIndexStop(uint8_t index) [member function] + cls.add_method('SetIndexStop', + 'void', + [param('uint8_t', 'index')], + visibility='protected') + ## packetbb.h: void ns3::PbbTlv::SetMultivalue(bool isMultivalue) [member function] + cls.add_method('SetMultivalue', + 'void', + [param('bool', 'isMultivalue')], + visibility='protected') + return + def register_Ns3SimpleChannel_methods(root_module, cls): ## simple-channel.h: ns3::SimpleChannel::SimpleChannel(ns3::SimpleChannel const & arg0) [copy constructor] cls.add_constructor([param('ns3::SimpleChannel const &', 'arg0')]) @@ -4933,6 +4847,90 @@ def register_Ns3SimpleNetDevice_methods(root_module, cls): visibility='protected', is_virtual=True) return +def register_Ns3AddressChecker_methods(root_module, cls): + ## address.h: ns3::AddressChecker::AddressChecker() [constructor] + cls.add_constructor([]) + ## address.h: ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')]) + return + +def register_Ns3AddressValue_methods(root_module, cls): + ## address.h: ns3::AddressValue::AddressValue() [constructor] + cls.add_constructor([]) + ## address.h: ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AddressValue const &', 'arg0')]) + ## address.h: ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor] + cls.add_constructor([param('ns3::Address const &', 'value')]) + ## address.h: ns3::Ptr ns3::AddressValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## address.h: bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] + cls.add_method('DeserializeFromString', + 'bool', + [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_virtual=True) + ## address.h: ns3::Address ns3::AddressValue::Get() const [member function] + cls.add_method('Get', + 'ns3::Address', + [], + is_const=True) + ## address.h: std::string ns3::AddressValue::SerializeToString(ns3::Ptr checker) const [member function] + cls.add_method('SerializeToString', + 'std::string', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True, is_virtual=True) + ## address.h: void ns3::AddressValue::Set(ns3::Address const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::Address const &', 'value')]) + return + +def register_Ns3PbbAddressTlv_methods(root_module, cls): + ## packetbb.h: ns3::PbbAddressTlv::PbbAddressTlv() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::PbbAddressTlv::PbbAddressTlv(ns3::PbbAddressTlv const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbAddressTlv const &', 'arg0')]) + ## packetbb.h: uint8_t ns3::PbbAddressTlv::GetIndexStart() const [member function] + cls.add_method('GetIndexStart', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: uint8_t ns3::PbbAddressTlv::GetIndexStop() const [member function] + cls.add_method('GetIndexStop', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbAddressTlv::HasIndexStart() const [member function] + cls.add_method('HasIndexStart', + 'bool', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbAddressTlv::HasIndexStop() const [member function] + cls.add_method('HasIndexStop', + 'bool', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbAddressTlv::IsMultivalue() const [member function] + cls.add_method('IsMultivalue', + 'bool', + [], + is_const=True) + ## packetbb.h: void ns3::PbbAddressTlv::SetIndexStart(uint8_t index) [member function] + cls.add_method('SetIndexStart', + 'void', + [param('uint8_t', 'index')]) + ## packetbb.h: void ns3::PbbAddressTlv::SetIndexStop(uint8_t index) [member function] + cls.add_method('SetIndexStop', + 'void', + [param('uint8_t', 'index')]) + ## packetbb.h: void ns3::PbbAddressTlv::SetMultivalue(bool isMultivalue) [member function] + cls.add_method('SetMultivalue', + 'void', + [param('bool', 'isMultivalue')]) + return + def register_functions(root_module): module = root_module ## address.h: extern ns3::Ptr ns3::MakeAddressChecker() [free function] @@ -4994,7 +4992,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) @@ -5013,9 +5013,15 @@ def register_functions_ns3_addressUtils(module, root_module): [param('ns3::Address const &', 'ad')]) 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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_olsr.py b/bindings/python/apidefs/gcc-LP64/ns3_module_olsr.py index c90959202..05d89bd07 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_olsr.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_olsr.py @@ -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 p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback,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 p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, 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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_onoff.py b/bindings/python/apidefs/gcc-LP64/ns3_module_onoff.py index d22c42dca..011c5194c 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_onoff.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_onoff.py @@ -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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_packet_sink.py b/bindings/python/apidefs/gcc-LP64/ns3_module_packet_sink.py index 49390d9ed..b6632d1ed 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_packet_sink.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_packet_sink.py @@ -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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_ping6.py b/bindings/python/apidefs/gcc-LP64/ns3_module_ping6.py index f66bb20fb..77f0004db 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_ping6.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_ping6.py @@ -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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_point_to_point.py b/bindings/python/apidefs/gcc-LP64/ns3_module_point_to_point.py index 72d3e567e..a29c75b73 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_point_to_point.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_point_to_point.py @@ -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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_radvd.py b/bindings/python/apidefs/gcc-LP64/ns3_module_radvd.py index aad164940..c229c4ea2 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_radvd.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_radvd.py @@ -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 [class] + module.add_class('SimpleRefCount', template_parameters=['ns3::RadvdInterface', 'ns3::empty'], parent=root_module['ns3::empty']) + ## simple-ref-count.h: ns3::SimpleRefCount [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 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 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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_simulator.py b/bindings/python/apidefs/gcc-LP64/ns3_module_simulator.py index 8f0850175..015e7725b 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_simulator.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_simulator.py @@ -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 [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 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 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 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 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::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 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 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 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 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::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 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 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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_static_routing.py b/bindings/python/apidefs/gcc-LP64/ns3_module_static_routing.py index 22b6f3c13..2efa13efa 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_static_routing.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_static_routing.py @@ -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 p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback,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 p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, 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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_stats.py b/bindings/python/apidefs/gcc-LP64/ns3_module_stats.py index bfd42eb05..7feee8904 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_stats.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_stats.py @@ -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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_tap_bridge.py b/bindings/python/apidefs/gcc-LP64/ns3_module_tap_bridge.py index cf1171490..e099ec615 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_tap_bridge.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_tap_bridge.py @@ -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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_test.py b/bindings/python/apidefs/gcc-LP64/ns3_module_test.py index b79f151cd..ed1deb333 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_test.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_test.py @@ -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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_udp_echo.py b/bindings/python/apidefs/gcc-LP64/ns3_module_udp_echo.py index b79097d2f..5375f7e72 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_udp_echo.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_udp_echo.py @@ -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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_v4ping.py b/bindings/python/apidefs/gcc-LP64/ns3_module_v4ping.py index b087bfb02..2b826a26a 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_v4ping.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_v4ping.py @@ -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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_virtual_net_device.py b/bindings/python/apidefs/gcc-LP64/ns3_module_virtual_net_device.py index f03bcc785..2eb7f66ad 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_virtual_net_device.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_virtual_net_device.py @@ -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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_wifi.py b/bindings/python/apidefs/gcc-LP64/ns3_module_wifi.py index 7d28518e3..90146f7b6 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_wifi.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_wifi.py @@ -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 [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::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 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 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::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 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 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::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 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 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::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 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 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 diff --git a/bindings/python/apidefs/gcc-LP64/ns3modulegen_generated.py b/bindings/python/apidefs/gcc-LP64/ns3modulegen_generated.py index a34101ded..609cd9abd 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3modulegen_generated.py +++ b/bindings/python/apidefs/gcc-LP64/ns3modulegen_generated.py @@ -17,29 +17,31 @@ import ns3_module_simulator import ns3_module_test import ns3_module_mobility import ns3_module_common -import ns3_module_contrib import ns3_module_node -import ns3_module_tap_bridge -import ns3_module_v4ping -import ns3_module_static_routing -import ns3_module_packet_sink -import ns3_module_stats -import ns3_module_onoff +import ns3_module_contrib import ns3_module_point_to_point import ns3_module_internet_stack +import ns3_module_tap_bridge import ns3_module_csma -import ns3_module_list_routing -import ns3_module_virtual_net_device import ns3_module_wifi +import ns3_module_static_routing +import ns3_module_v4ping +import ns3_module_virtual_net_device +import ns3_module_packet_sink +import ns3_module_global_routing +import ns3_module_stats +import ns3_module_list_routing import ns3_module_emu import ns3_module_bridge -import ns3_module_global_routing +import ns3_module_onoff +import ns3_module_dpd import ns3_module_udp_echo +import ns3_module_ping6 import ns3_module_nix_vector_routing import ns3_module_olsr -import ns3_module_radvd -import ns3_module_ping6 +import ns3_module_aodv import ns3_module_flow_monitor +import ns3_module_radvd import ns3_module_mesh import ns3_module_helper import ns3_module_dot11s @@ -107,17 +109,6 @@ def register_types(module): ns3_module_common__local.register_types(module) root_module.end_section('ns3_module_common') - root_module.begin_section('ns3_module_contrib') - ns3_module_contrib.register_types(module) - - try: - import ns3_module_contrib__local - except ImportError: - pass - else: - ns3_module_contrib__local.register_types(module) - - root_module.end_section('ns3_module_contrib') root_module.begin_section('ns3_module_node') ns3_module_node.register_types(module) @@ -129,72 +120,17 @@ def register_types(module): ns3_module_node__local.register_types(module) root_module.end_section('ns3_module_node') - root_module.begin_section('ns3_module_tap_bridge') - ns3_module_tap_bridge.register_types(module) + root_module.begin_section('ns3_module_contrib') + ns3_module_contrib.register_types(module) try: - import ns3_module_tap_bridge__local + import ns3_module_contrib__local except ImportError: pass else: - ns3_module_tap_bridge__local.register_types(module) + ns3_module_contrib__local.register_types(module) - root_module.end_section('ns3_module_tap_bridge') - root_module.begin_section('ns3_module_v4ping') - ns3_module_v4ping.register_types(module) - - try: - import ns3_module_v4ping__local - except ImportError: - pass - else: - ns3_module_v4ping__local.register_types(module) - - root_module.end_section('ns3_module_v4ping') - root_module.begin_section('ns3_module_static_routing') - ns3_module_static_routing.register_types(module) - - try: - import ns3_module_static_routing__local - except ImportError: - pass - else: - ns3_module_static_routing__local.register_types(module) - - root_module.end_section('ns3_module_static_routing') - root_module.begin_section('ns3_module_packet_sink') - ns3_module_packet_sink.register_types(module) - - try: - import ns3_module_packet_sink__local - except ImportError: - pass - else: - ns3_module_packet_sink__local.register_types(module) - - root_module.end_section('ns3_module_packet_sink') - root_module.begin_section('ns3_module_stats') - ns3_module_stats.register_types(module) - - try: - import ns3_module_stats__local - except ImportError: - pass - else: - ns3_module_stats__local.register_types(module) - - root_module.end_section('ns3_module_stats') - root_module.begin_section('ns3_module_onoff') - ns3_module_onoff.register_types(module) - - try: - import ns3_module_onoff__local - except ImportError: - pass - else: - ns3_module_onoff__local.register_types(module) - - root_module.end_section('ns3_module_onoff') + root_module.end_section('ns3_module_contrib') root_module.begin_section('ns3_module_point_to_point') ns3_module_point_to_point.register_types(module) @@ -217,6 +153,17 @@ def register_types(module): ns3_module_internet_stack__local.register_types(module) root_module.end_section('ns3_module_internet_stack') + root_module.begin_section('ns3_module_tap_bridge') + ns3_module_tap_bridge.register_types(module) + + try: + import ns3_module_tap_bridge__local + except ImportError: + pass + else: + ns3_module_tap_bridge__local.register_types(module) + + root_module.end_section('ns3_module_tap_bridge') root_module.begin_section('ns3_module_csma') ns3_module_csma.register_types(module) @@ -228,28 +175,6 @@ def register_types(module): ns3_module_csma__local.register_types(module) root_module.end_section('ns3_module_csma') - root_module.begin_section('ns3_module_list_routing') - ns3_module_list_routing.register_types(module) - - try: - import ns3_module_list_routing__local - except ImportError: - pass - else: - ns3_module_list_routing__local.register_types(module) - - root_module.end_section('ns3_module_list_routing') - root_module.begin_section('ns3_module_virtual_net_device') - ns3_module_virtual_net_device.register_types(module) - - try: - import ns3_module_virtual_net_device__local - except ImportError: - pass - else: - ns3_module_virtual_net_device__local.register_types(module) - - root_module.end_section('ns3_module_virtual_net_device') root_module.begin_section('ns3_module_wifi') ns3_module_wifi.register_types(module) @@ -261,6 +186,83 @@ def register_types(module): ns3_module_wifi__local.register_types(module) root_module.end_section('ns3_module_wifi') + root_module.begin_section('ns3_module_static_routing') + ns3_module_static_routing.register_types(module) + + try: + import ns3_module_static_routing__local + except ImportError: + pass + else: + ns3_module_static_routing__local.register_types(module) + + root_module.end_section('ns3_module_static_routing') + root_module.begin_section('ns3_module_v4ping') + ns3_module_v4ping.register_types(module) + + try: + import ns3_module_v4ping__local + except ImportError: + pass + else: + ns3_module_v4ping__local.register_types(module) + + root_module.end_section('ns3_module_v4ping') + root_module.begin_section('ns3_module_virtual_net_device') + ns3_module_virtual_net_device.register_types(module) + + try: + import ns3_module_virtual_net_device__local + except ImportError: + pass + else: + ns3_module_virtual_net_device__local.register_types(module) + + root_module.end_section('ns3_module_virtual_net_device') + root_module.begin_section('ns3_module_packet_sink') + ns3_module_packet_sink.register_types(module) + + try: + import ns3_module_packet_sink__local + except ImportError: + pass + else: + ns3_module_packet_sink__local.register_types(module) + + root_module.end_section('ns3_module_packet_sink') + root_module.begin_section('ns3_module_global_routing') + ns3_module_global_routing.register_types(module) + + try: + import ns3_module_global_routing__local + except ImportError: + pass + else: + ns3_module_global_routing__local.register_types(module) + + root_module.end_section('ns3_module_global_routing') + root_module.begin_section('ns3_module_stats') + ns3_module_stats.register_types(module) + + try: + import ns3_module_stats__local + except ImportError: + pass + else: + ns3_module_stats__local.register_types(module) + + root_module.end_section('ns3_module_stats') + root_module.begin_section('ns3_module_list_routing') + ns3_module_list_routing.register_types(module) + + try: + import ns3_module_list_routing__local + except ImportError: + pass + else: + ns3_module_list_routing__local.register_types(module) + + root_module.end_section('ns3_module_list_routing') root_module.begin_section('ns3_module_emu') ns3_module_emu.register_types(module) @@ -283,17 +285,28 @@ def register_types(module): ns3_module_bridge__local.register_types(module) root_module.end_section('ns3_module_bridge') - root_module.begin_section('ns3_module_global_routing') - ns3_module_global_routing.register_types(module) + root_module.begin_section('ns3_module_onoff') + ns3_module_onoff.register_types(module) try: - import ns3_module_global_routing__local + import ns3_module_onoff__local except ImportError: pass else: - ns3_module_global_routing__local.register_types(module) + ns3_module_onoff__local.register_types(module) - root_module.end_section('ns3_module_global_routing') + root_module.end_section('ns3_module_onoff') + root_module.begin_section('ns3_module_dpd') + ns3_module_dpd.register_types(module) + + try: + import ns3_module_dpd__local + except ImportError: + pass + else: + ns3_module_dpd__local.register_types(module) + + root_module.end_section('ns3_module_dpd') root_module.begin_section('ns3_module_udp_echo') ns3_module_udp_echo.register_types(module) @@ -305,6 +318,17 @@ def register_types(module): ns3_module_udp_echo__local.register_types(module) root_module.end_section('ns3_module_udp_echo') + root_module.begin_section('ns3_module_ping6') + ns3_module_ping6.register_types(module) + + try: + import ns3_module_ping6__local + except ImportError: + pass + else: + ns3_module_ping6__local.register_types(module) + + root_module.end_section('ns3_module_ping6') root_module.begin_section('ns3_module_nix_vector_routing') ns3_module_nix_vector_routing.register_types(module) @@ -327,28 +351,17 @@ def register_types(module): ns3_module_olsr__local.register_types(module) root_module.end_section('ns3_module_olsr') - root_module.begin_section('ns3_module_radvd') - ns3_module_radvd.register_types(module) + root_module.begin_section('ns3_module_aodv') + ns3_module_aodv.register_types(module) try: - import ns3_module_radvd__local + import ns3_module_aodv__local except ImportError: pass else: - ns3_module_radvd__local.register_types(module) + ns3_module_aodv__local.register_types(module) - root_module.end_section('ns3_module_radvd') - root_module.begin_section('ns3_module_ping6') - ns3_module_ping6.register_types(module) - - try: - import ns3_module_ping6__local - except ImportError: - pass - else: - ns3_module_ping6__local.register_types(module) - - root_module.end_section('ns3_module_ping6') + root_module.end_section('ns3_module_aodv') root_module.begin_section('ns3_module_flow_monitor') ns3_module_flow_monitor.register_types(module) @@ -360,6 +373,17 @@ def register_types(module): ns3_module_flow_monitor__local.register_types(module) root_module.end_section('ns3_module_flow_monitor') + root_module.begin_section('ns3_module_radvd') + ns3_module_radvd.register_types(module) + + try: + import ns3_module_radvd__local + except ImportError: + pass + else: + ns3_module_radvd__local.register_types(module) + + root_module.end_section('ns3_module_radvd') root_module.begin_section('ns3_module_mesh') ns3_module_mesh.register_types(module) @@ -436,12 +460,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') @@ -473,10 +509,19 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_aodv(module): + root_module = module.get_root() + + module.add_container('std::map< ns3::Ipv4Address, unsigned int >', ('ns3::Ipv4Address', 'unsigned int'), container_type='map') + 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() @@ -549,17 +594,6 @@ def register_methods(root_module): ns3_module_common__local.register_methods(root_module) root_module.end_section('ns3_module_common') - root_module.begin_section('ns3_module_contrib') - ns3_module_contrib.register_methods(root_module) - - try: - import ns3_module_contrib__local - except ImportError: - pass - else: - ns3_module_contrib__local.register_methods(root_module) - - root_module.end_section('ns3_module_contrib') root_module.begin_section('ns3_module_node') ns3_module_node.register_methods(root_module) @@ -571,72 +605,17 @@ def register_methods(root_module): ns3_module_node__local.register_methods(root_module) root_module.end_section('ns3_module_node') - root_module.begin_section('ns3_module_tap_bridge') - ns3_module_tap_bridge.register_methods(root_module) + root_module.begin_section('ns3_module_contrib') + ns3_module_contrib.register_methods(root_module) try: - import ns3_module_tap_bridge__local + import ns3_module_contrib__local except ImportError: pass else: - ns3_module_tap_bridge__local.register_methods(root_module) + ns3_module_contrib__local.register_methods(root_module) - root_module.end_section('ns3_module_tap_bridge') - root_module.begin_section('ns3_module_v4ping') - ns3_module_v4ping.register_methods(root_module) - - try: - import ns3_module_v4ping__local - except ImportError: - pass - else: - ns3_module_v4ping__local.register_methods(root_module) - - root_module.end_section('ns3_module_v4ping') - root_module.begin_section('ns3_module_static_routing') - ns3_module_static_routing.register_methods(root_module) - - try: - import ns3_module_static_routing__local - except ImportError: - pass - else: - ns3_module_static_routing__local.register_methods(root_module) - - root_module.end_section('ns3_module_static_routing') - root_module.begin_section('ns3_module_packet_sink') - ns3_module_packet_sink.register_methods(root_module) - - try: - import ns3_module_packet_sink__local - except ImportError: - pass - else: - ns3_module_packet_sink__local.register_methods(root_module) - - root_module.end_section('ns3_module_packet_sink') - root_module.begin_section('ns3_module_stats') - ns3_module_stats.register_methods(root_module) - - try: - import ns3_module_stats__local - except ImportError: - pass - else: - ns3_module_stats__local.register_methods(root_module) - - root_module.end_section('ns3_module_stats') - root_module.begin_section('ns3_module_onoff') - ns3_module_onoff.register_methods(root_module) - - try: - import ns3_module_onoff__local - except ImportError: - pass - else: - ns3_module_onoff__local.register_methods(root_module) - - root_module.end_section('ns3_module_onoff') + root_module.end_section('ns3_module_contrib') root_module.begin_section('ns3_module_point_to_point') ns3_module_point_to_point.register_methods(root_module) @@ -659,6 +638,17 @@ def register_methods(root_module): ns3_module_internet_stack__local.register_methods(root_module) root_module.end_section('ns3_module_internet_stack') + root_module.begin_section('ns3_module_tap_bridge') + ns3_module_tap_bridge.register_methods(root_module) + + try: + import ns3_module_tap_bridge__local + except ImportError: + pass + else: + ns3_module_tap_bridge__local.register_methods(root_module) + + root_module.end_section('ns3_module_tap_bridge') root_module.begin_section('ns3_module_csma') ns3_module_csma.register_methods(root_module) @@ -670,28 +660,6 @@ def register_methods(root_module): ns3_module_csma__local.register_methods(root_module) root_module.end_section('ns3_module_csma') - root_module.begin_section('ns3_module_list_routing') - ns3_module_list_routing.register_methods(root_module) - - try: - import ns3_module_list_routing__local - except ImportError: - pass - else: - ns3_module_list_routing__local.register_methods(root_module) - - root_module.end_section('ns3_module_list_routing') - root_module.begin_section('ns3_module_virtual_net_device') - ns3_module_virtual_net_device.register_methods(root_module) - - try: - import ns3_module_virtual_net_device__local - except ImportError: - pass - else: - ns3_module_virtual_net_device__local.register_methods(root_module) - - root_module.end_section('ns3_module_virtual_net_device') root_module.begin_section('ns3_module_wifi') ns3_module_wifi.register_methods(root_module) @@ -703,6 +671,83 @@ def register_methods(root_module): ns3_module_wifi__local.register_methods(root_module) root_module.end_section('ns3_module_wifi') + root_module.begin_section('ns3_module_static_routing') + ns3_module_static_routing.register_methods(root_module) + + try: + import ns3_module_static_routing__local + except ImportError: + pass + else: + ns3_module_static_routing__local.register_methods(root_module) + + root_module.end_section('ns3_module_static_routing') + root_module.begin_section('ns3_module_v4ping') + ns3_module_v4ping.register_methods(root_module) + + try: + import ns3_module_v4ping__local + except ImportError: + pass + else: + ns3_module_v4ping__local.register_methods(root_module) + + root_module.end_section('ns3_module_v4ping') + root_module.begin_section('ns3_module_virtual_net_device') + ns3_module_virtual_net_device.register_methods(root_module) + + try: + import ns3_module_virtual_net_device__local + except ImportError: + pass + else: + ns3_module_virtual_net_device__local.register_methods(root_module) + + root_module.end_section('ns3_module_virtual_net_device') + root_module.begin_section('ns3_module_packet_sink') + ns3_module_packet_sink.register_methods(root_module) + + try: + import ns3_module_packet_sink__local + except ImportError: + pass + else: + ns3_module_packet_sink__local.register_methods(root_module) + + root_module.end_section('ns3_module_packet_sink') + root_module.begin_section('ns3_module_global_routing') + ns3_module_global_routing.register_methods(root_module) + + try: + import ns3_module_global_routing__local + except ImportError: + pass + else: + ns3_module_global_routing__local.register_methods(root_module) + + root_module.end_section('ns3_module_global_routing') + root_module.begin_section('ns3_module_stats') + ns3_module_stats.register_methods(root_module) + + try: + import ns3_module_stats__local + except ImportError: + pass + else: + ns3_module_stats__local.register_methods(root_module) + + root_module.end_section('ns3_module_stats') + root_module.begin_section('ns3_module_list_routing') + ns3_module_list_routing.register_methods(root_module) + + try: + import ns3_module_list_routing__local + except ImportError: + pass + else: + ns3_module_list_routing__local.register_methods(root_module) + + root_module.end_section('ns3_module_list_routing') root_module.begin_section('ns3_module_emu') ns3_module_emu.register_methods(root_module) @@ -725,17 +770,28 @@ def register_methods(root_module): ns3_module_bridge__local.register_methods(root_module) root_module.end_section('ns3_module_bridge') - root_module.begin_section('ns3_module_global_routing') - ns3_module_global_routing.register_methods(root_module) + root_module.begin_section('ns3_module_onoff') + ns3_module_onoff.register_methods(root_module) try: - import ns3_module_global_routing__local + import ns3_module_onoff__local except ImportError: pass else: - ns3_module_global_routing__local.register_methods(root_module) + ns3_module_onoff__local.register_methods(root_module) - root_module.end_section('ns3_module_global_routing') + root_module.end_section('ns3_module_onoff') + root_module.begin_section('ns3_module_dpd') + ns3_module_dpd.register_methods(root_module) + + try: + import ns3_module_dpd__local + except ImportError: + pass + else: + ns3_module_dpd__local.register_methods(root_module) + + root_module.end_section('ns3_module_dpd') root_module.begin_section('ns3_module_udp_echo') ns3_module_udp_echo.register_methods(root_module) @@ -747,6 +803,17 @@ def register_methods(root_module): ns3_module_udp_echo__local.register_methods(root_module) root_module.end_section('ns3_module_udp_echo') + root_module.begin_section('ns3_module_ping6') + ns3_module_ping6.register_methods(root_module) + + try: + import ns3_module_ping6__local + except ImportError: + pass + else: + ns3_module_ping6__local.register_methods(root_module) + + root_module.end_section('ns3_module_ping6') root_module.begin_section('ns3_module_nix_vector_routing') ns3_module_nix_vector_routing.register_methods(root_module) @@ -769,28 +836,17 @@ def register_methods(root_module): ns3_module_olsr__local.register_methods(root_module) root_module.end_section('ns3_module_olsr') - root_module.begin_section('ns3_module_radvd') - ns3_module_radvd.register_methods(root_module) + root_module.begin_section('ns3_module_aodv') + ns3_module_aodv.register_methods(root_module) try: - import ns3_module_radvd__local + import ns3_module_aodv__local except ImportError: pass else: - ns3_module_radvd__local.register_methods(root_module) + ns3_module_aodv__local.register_methods(root_module) - root_module.end_section('ns3_module_radvd') - root_module.begin_section('ns3_module_ping6') - ns3_module_ping6.register_methods(root_module) - - try: - import ns3_module_ping6__local - except ImportError: - pass - else: - ns3_module_ping6__local.register_methods(root_module) - - root_module.end_section('ns3_module_ping6') + root_module.end_section('ns3_module_aodv') root_module.begin_section('ns3_module_flow_monitor') ns3_module_flow_monitor.register_methods(root_module) @@ -802,6 +858,17 @@ def register_methods(root_module): ns3_module_flow_monitor__local.register_methods(root_module) root_module.end_section('ns3_module_flow_monitor') + root_module.begin_section('ns3_module_radvd') + ns3_module_radvd.register_methods(root_module) + + try: + import ns3_module_radvd__local + except ImportError: + pass + else: + ns3_module_radvd__local.register_methods(root_module) + + root_module.end_section('ns3_module_radvd') root_module.begin_section('ns3_module_mesh') ns3_module_mesh.register_methods(root_module) @@ -1039,17 +1106,6 @@ def register_functions(root_module): ns3_module_common__local.register_functions(root_module) root_module.end_section('ns3_module_common') - root_module.begin_section('ns3_module_contrib') - ns3_module_contrib.register_functions(root_module) - - try: - import ns3_module_contrib__local - except ImportError: - pass - else: - ns3_module_contrib__local.register_functions(root_module) - - root_module.end_section('ns3_module_contrib') root_module.begin_section('ns3_module_node') ns3_module_node.register_functions(root_module) @@ -1061,72 +1117,17 @@ def register_functions(root_module): ns3_module_node__local.register_functions(root_module) root_module.end_section('ns3_module_node') - root_module.begin_section('ns3_module_tap_bridge') - ns3_module_tap_bridge.register_functions(root_module) + root_module.begin_section('ns3_module_contrib') + ns3_module_contrib.register_functions(root_module) try: - import ns3_module_tap_bridge__local + import ns3_module_contrib__local except ImportError: pass else: - ns3_module_tap_bridge__local.register_functions(root_module) + ns3_module_contrib__local.register_functions(root_module) - root_module.end_section('ns3_module_tap_bridge') - root_module.begin_section('ns3_module_v4ping') - ns3_module_v4ping.register_functions(root_module) - - try: - import ns3_module_v4ping__local - except ImportError: - pass - else: - ns3_module_v4ping__local.register_functions(root_module) - - root_module.end_section('ns3_module_v4ping') - root_module.begin_section('ns3_module_static_routing') - ns3_module_static_routing.register_functions(root_module) - - try: - import ns3_module_static_routing__local - except ImportError: - pass - else: - ns3_module_static_routing__local.register_functions(root_module) - - root_module.end_section('ns3_module_static_routing') - root_module.begin_section('ns3_module_packet_sink') - ns3_module_packet_sink.register_functions(root_module) - - try: - import ns3_module_packet_sink__local - except ImportError: - pass - else: - ns3_module_packet_sink__local.register_functions(root_module) - - root_module.end_section('ns3_module_packet_sink') - root_module.begin_section('ns3_module_stats') - ns3_module_stats.register_functions(root_module) - - try: - import ns3_module_stats__local - except ImportError: - pass - else: - ns3_module_stats__local.register_functions(root_module) - - root_module.end_section('ns3_module_stats') - root_module.begin_section('ns3_module_onoff') - ns3_module_onoff.register_functions(root_module) - - try: - import ns3_module_onoff__local - except ImportError: - pass - else: - ns3_module_onoff__local.register_functions(root_module) - - root_module.end_section('ns3_module_onoff') + root_module.end_section('ns3_module_contrib') root_module.begin_section('ns3_module_point_to_point') ns3_module_point_to_point.register_functions(root_module) @@ -1149,6 +1150,17 @@ def register_functions(root_module): ns3_module_internet_stack__local.register_functions(root_module) root_module.end_section('ns3_module_internet_stack') + root_module.begin_section('ns3_module_tap_bridge') + ns3_module_tap_bridge.register_functions(root_module) + + try: + import ns3_module_tap_bridge__local + except ImportError: + pass + else: + ns3_module_tap_bridge__local.register_functions(root_module) + + root_module.end_section('ns3_module_tap_bridge') root_module.begin_section('ns3_module_csma') ns3_module_csma.register_functions(root_module) @@ -1160,28 +1172,6 @@ def register_functions(root_module): ns3_module_csma__local.register_functions(root_module) root_module.end_section('ns3_module_csma') - root_module.begin_section('ns3_module_list_routing') - ns3_module_list_routing.register_functions(root_module) - - try: - import ns3_module_list_routing__local - except ImportError: - pass - else: - ns3_module_list_routing__local.register_functions(root_module) - - root_module.end_section('ns3_module_list_routing') - root_module.begin_section('ns3_module_virtual_net_device') - ns3_module_virtual_net_device.register_functions(root_module) - - try: - import ns3_module_virtual_net_device__local - except ImportError: - pass - else: - ns3_module_virtual_net_device__local.register_functions(root_module) - - root_module.end_section('ns3_module_virtual_net_device') root_module.begin_section('ns3_module_wifi') ns3_module_wifi.register_functions(root_module) @@ -1193,6 +1183,83 @@ def register_functions(root_module): ns3_module_wifi__local.register_functions(root_module) root_module.end_section('ns3_module_wifi') + root_module.begin_section('ns3_module_static_routing') + ns3_module_static_routing.register_functions(root_module) + + try: + import ns3_module_static_routing__local + except ImportError: + pass + else: + ns3_module_static_routing__local.register_functions(root_module) + + root_module.end_section('ns3_module_static_routing') + root_module.begin_section('ns3_module_v4ping') + ns3_module_v4ping.register_functions(root_module) + + try: + import ns3_module_v4ping__local + except ImportError: + pass + else: + ns3_module_v4ping__local.register_functions(root_module) + + root_module.end_section('ns3_module_v4ping') + root_module.begin_section('ns3_module_virtual_net_device') + ns3_module_virtual_net_device.register_functions(root_module) + + try: + import ns3_module_virtual_net_device__local + except ImportError: + pass + else: + ns3_module_virtual_net_device__local.register_functions(root_module) + + root_module.end_section('ns3_module_virtual_net_device') + root_module.begin_section('ns3_module_packet_sink') + ns3_module_packet_sink.register_functions(root_module) + + try: + import ns3_module_packet_sink__local + except ImportError: + pass + else: + ns3_module_packet_sink__local.register_functions(root_module) + + root_module.end_section('ns3_module_packet_sink') + root_module.begin_section('ns3_module_global_routing') + ns3_module_global_routing.register_functions(root_module) + + try: + import ns3_module_global_routing__local + except ImportError: + pass + else: + ns3_module_global_routing__local.register_functions(root_module) + + root_module.end_section('ns3_module_global_routing') + root_module.begin_section('ns3_module_stats') + ns3_module_stats.register_functions(root_module) + + try: + import ns3_module_stats__local + except ImportError: + pass + else: + ns3_module_stats__local.register_functions(root_module) + + root_module.end_section('ns3_module_stats') + root_module.begin_section('ns3_module_list_routing') + ns3_module_list_routing.register_functions(root_module) + + try: + import ns3_module_list_routing__local + except ImportError: + pass + else: + ns3_module_list_routing__local.register_functions(root_module) + + root_module.end_section('ns3_module_list_routing') root_module.begin_section('ns3_module_emu') ns3_module_emu.register_functions(root_module) @@ -1215,17 +1282,28 @@ def register_functions(root_module): ns3_module_bridge__local.register_functions(root_module) root_module.end_section('ns3_module_bridge') - root_module.begin_section('ns3_module_global_routing') - ns3_module_global_routing.register_functions(root_module) + root_module.begin_section('ns3_module_onoff') + ns3_module_onoff.register_functions(root_module) try: - import ns3_module_global_routing__local + import ns3_module_onoff__local except ImportError: pass else: - ns3_module_global_routing__local.register_functions(root_module) + ns3_module_onoff__local.register_functions(root_module) - root_module.end_section('ns3_module_global_routing') + root_module.end_section('ns3_module_onoff') + root_module.begin_section('ns3_module_dpd') + ns3_module_dpd.register_functions(root_module) + + try: + import ns3_module_dpd__local + except ImportError: + pass + else: + ns3_module_dpd__local.register_functions(root_module) + + root_module.end_section('ns3_module_dpd') root_module.begin_section('ns3_module_udp_echo') ns3_module_udp_echo.register_functions(root_module) @@ -1237,6 +1315,17 @@ def register_functions(root_module): ns3_module_udp_echo__local.register_functions(root_module) root_module.end_section('ns3_module_udp_echo') + root_module.begin_section('ns3_module_ping6') + ns3_module_ping6.register_functions(root_module) + + try: + import ns3_module_ping6__local + except ImportError: + pass + else: + ns3_module_ping6__local.register_functions(root_module) + + root_module.end_section('ns3_module_ping6') root_module.begin_section('ns3_module_nix_vector_routing') ns3_module_nix_vector_routing.register_functions(root_module) @@ -1259,28 +1348,17 @@ def register_functions(root_module): ns3_module_olsr__local.register_functions(root_module) root_module.end_section('ns3_module_olsr') - root_module.begin_section('ns3_module_radvd') - ns3_module_radvd.register_functions(root_module) + root_module.begin_section('ns3_module_aodv') + ns3_module_aodv.register_functions(root_module) try: - import ns3_module_radvd__local + import ns3_module_aodv__local except ImportError: pass else: - ns3_module_radvd__local.register_functions(root_module) + ns3_module_aodv__local.register_functions(root_module) - root_module.end_section('ns3_module_radvd') - root_module.begin_section('ns3_module_ping6') - ns3_module_ping6.register_functions(root_module) - - try: - import ns3_module_ping6__local - except ImportError: - pass - else: - ns3_module_ping6__local.register_functions(root_module) - - root_module.end_section('ns3_module_ping6') + root_module.end_section('ns3_module_aodv') root_module.begin_section('ns3_module_flow_monitor') ns3_module_flow_monitor.register_functions(root_module) @@ -1292,6 +1370,17 @@ def register_functions(root_module): ns3_module_flow_monitor__local.register_functions(root_module) root_module.end_section('ns3_module_flow_monitor') + root_module.begin_section('ns3_module_radvd') + ns3_module_radvd.register_functions(root_module) + + try: + import ns3_module_radvd__local + except ImportError: + pass + else: + ns3_module_radvd__local.register_functions(root_module) + + root_module.end_section('ns3_module_radvd') root_module.begin_section('ns3_module_mesh') ns3_module_mesh.register_functions(root_module) @@ -1339,7 +1428,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) @@ -1354,9 +1445,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 diff --git a/bindings/python/ns3modulescan.py b/bindings/python/ns3modulescan.py index eadf318cf..25ae30e81 100644 --- a/bindings/python/ns3modulescan.py +++ b/bindings/python/ns3modulescan.py @@ -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() diff --git a/bindings/python/wscript b/bindings/python/wscript index 792e0029f..4566d1b58 100644 --- a/bindings/python/wscript +++ b/bindings/python/wscript @@ -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)