diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_common.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_common.py index 2dd28e662..d03b897ee 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_common.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_common.py @@ -47,12 +47,8 @@ def register_types(module): module.add_class('Chunk', parent=root_module['ns3::ObjectBase']) ## header.h: ns3::Header [class] module.add_class('Header', parent=root_module['ns3::Chunk']) - ## output-stream-object.h: ns3::OutputStreamObject [class] - module.add_class('OutputStreamObject', parent=root_module['ns3::Object']) ## pcap-file-object.h: ns3::PcapFileObject [class] module.add_class('PcapFileObject', parent=root_module['ns3::Object']) - ## pcap-writer.h: ns3::PcapWriter [class] - module.add_class('PcapWriter', parent=root_module['ns3::Object']) ## propagation-delay-model.h: ns3::PropagationDelayModel [class] module.add_class('PropagationDelayModel', parent=root_module['ns3::Object']) ## propagation-loss-model.h: ns3::PropagationLossModel [class] @@ -61,8 +57,8 @@ def register_types(module): module.add_class('RandomPropagationDelayModel', parent=root_module['ns3::PropagationDelayModel']) ## propagation-loss-model.h: ns3::RandomPropagationLossModel [class] module.add_class('RandomPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::AsciiWriter', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) + ## simple-ref-count.h: ns3::SimpleRefCount > [class] + module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::OutputStreamKeeper', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simple-ref-count.h: ns3::SimpleRefCount > [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## propagation-loss-model.h: ns3::ThreeLogDistancePropagationLossModel [class] @@ -71,10 +67,6 @@ def register_types(module): module.add_class('Trailer', parent=root_module['ns3::Chunk']) ## propagation-loss-model.h: ns3::TwoRayGroundPropagationLossModel [class] module.add_class('TwoRayGroundPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## ascii-writer.h: ns3::AsciiWriter [class] - module.add_class('AsciiWriter', parent=root_module['ns3::SimpleRefCount< ns3::AsciiWriter, ns3::empty, ns3::DefaultDeleter >']) - ## ascii-writer.h: ns3::AsciiWriter::Type [enumeration] - module.add_enum('Type', ['ENQUEUE', 'DEQUEUE', 'DROP', 'TX', 'RX'], outer_class=root_module['ns3::AsciiWriter']) ## propagation-delay-model.h: ns3::ConstantSpeedPropagationDelayModel [class] module.add_class('ConstantSpeedPropagationDelayModel', parent=root_module['ns3::PropagationDelayModel']) ## data-rate.h: ns3::DataRateChecker [class] @@ -97,6 +89,8 @@ def register_types(module): module.add_class('NakagamiPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) ## nix-vector.h: ns3::NixVector [class] module.add_class('NixVector', parent=root_module['ns3::Object']) + ## output-stream-keeper.h: ns3::OutputStreamKeeper [class] + module.add_class('OutputStreamKeeper', parent=root_module['ns3::SimpleRefCount< ns3::OutputStreamKeeper, ns3::empty, ns3::DefaultDeleter >']) ## packet.h: ns3::Packet [class] module.add_class('Packet', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter >']) ## error-model.h: ns3::RateErrorModel [class] @@ -203,9 +197,7 @@ def register_methods(root_module): register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) register_Ns3Header_methods(root_module, root_module['ns3::Header']) - register_Ns3OutputStreamObject_methods(root_module, root_module['ns3::OutputStreamObject']) register_Ns3PcapFileObject_methods(root_module, root_module['ns3::PcapFileObject']) - register_Ns3PcapWriter_methods(root_module, root_module['ns3::PcapWriter']) register_Ns3PropagationDelayModel_methods(root_module, root_module['ns3::PropagationDelayModel']) register_Ns3PropagationLossModel_methods(root_module, root_module['ns3::PropagationLossModel']) register_Ns3RandomPropagationDelayModel_methods(root_module, root_module['ns3::RandomPropagationDelayModel']) @@ -213,7 +205,6 @@ def register_methods(root_module): register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, root_module['ns3::ThreeLogDistancePropagationLossModel']) register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, root_module['ns3::TwoRayGroundPropagationLossModel']) - register_Ns3AsciiWriter_methods(root_module, root_module['ns3::AsciiWriter']) register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, root_module['ns3::ConstantSpeedPropagationDelayModel']) register_Ns3DataRateChecker_methods(root_module, root_module['ns3::DataRateChecker']) register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue']) @@ -225,6 +216,7 @@ def register_methods(root_module): register_Ns3LogDistancePropagationLossModel_methods(root_module, root_module['ns3::LogDistancePropagationLossModel']) register_Ns3NakagamiPropagationLossModel_methods(root_module, root_module['ns3::NakagamiPropagationLossModel']) register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector']) + register_Ns3OutputStreamKeeper_methods(root_module, root_module['ns3::OutputStreamKeeper']) register_Ns3Packet_methods(root_module, root_module['ns3::Packet']) register_Ns3RateErrorModel_methods(root_module, root_module['ns3::RateErrorModel']) return @@ -995,26 +987,6 @@ def register_Ns3Header_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return -def register_Ns3OutputStreamObject_methods(root_module, cls): - ## output-stream-object.h: ns3::OutputStreamObject::OutputStreamObject(ns3::OutputStreamObject const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OutputStreamObject const &', 'arg0')]) - ## output-stream-object.h: ns3::OutputStreamObject::OutputStreamObject() [constructor] - cls.add_constructor([]) - ## output-stream-object.h: std::ostream * ns3::OutputStreamObject::GetStream() [member function] - cls.add_method('GetStream', - 'std::ostream *', - []) - ## output-stream-object.h: static ns3::TypeId ns3::OutputStreamObject::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## output-stream-object.h: void ns3::OutputStreamObject::SetStream(std::ostream * ostream) [member function] - cls.add_method('SetStream', - 'void', - [param('std::ostream *', 'ostream')]) - return - def register_Ns3PcapFileObject_methods(root_module, cls): ## pcap-file-object.h: ns3::PcapFileObject::PcapFileObject(ns3::PcapFileObject const & arg0) [copy constructor] cls.add_constructor([param('ns3::PcapFileObject const &', 'arg0')]) @@ -1057,10 +1029,10 @@ def register_Ns3PcapFileObject_methods(root_module, cls): cls.add_method('GetVersionMinor', 'uint16_t', []) - ## pcap-file-object.h: bool ns3::PcapFileObject::Init(uint32_t dataLinkType, uint32_t snapLen=ns3::PcapFile::SNAPLEN_DEFAULT, int32_t tzCorrection=ns3::PcapFile::ZONE_DEFAULT) [member function] + ## pcap-file-object.h: bool ns3::PcapFileObject::Init(uint32_t dataLinkType, uint32_t snapLen=std::numeric_limits::max(), int32_t tzCorrection=ns3::PcapFile::ZONE_DEFAULT) [member function] cls.add_method('Init', 'bool', - [param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='ns3::PcapFile::SNAPLEN_DEFAULT'), param('int32_t', 'tzCorrection', default_value='ns3::PcapFile::ZONE_DEFAULT')]) + [param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='std::numeric_limits::max()'), param('int32_t', 'tzCorrection', default_value='ns3::PcapFile::ZONE_DEFAULT')]) ## pcap-file-object.h: bool ns3::PcapFileObject::Open(std::string const & filename, std::string const & mode) [member function] cls.add_method('Open', 'bool', @@ -1069,64 +1041,16 @@ def register_Ns3PcapFileObject_methods(root_module, cls): cls.add_method('Write', 'bool', [param('ns3::Time', 't'), param('ns3::Ptr< ns3::Packet const >', 'p')]) + ## pcap-file-object.h: bool ns3::PcapFileObject::Write(ns3::Time t, ns3::Header & header, ns3::Ptr p) [member function] + cls.add_method('Write', + 'bool', + [param('ns3::Time', 't'), param('ns3::Header &', 'header'), param('ns3::Ptr< ns3::Packet const >', 'p')]) ## pcap-file-object.h: bool ns3::PcapFileObject::Write(ns3::Time t, uint8_t const * buffer, uint32_t length) [member function] cls.add_method('Write', 'bool', [param('ns3::Time', 't'), param('uint8_t const *', 'buffer'), param('uint32_t', 'length')]) return -def register_Ns3PcapWriter_methods(root_module, cls): - ## pcap-writer.h: ns3::PcapWriter::PcapWriter(ns3::PcapWriter const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PcapWriter const &', 'arg0')]) - ## pcap-writer.h: ns3::PcapWriter::PcapWriter() [constructor] - cls.add_constructor([]) - ## pcap-writer.h: static ns3::TypeId ns3::PcapWriter::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## pcap-writer.h: void ns3::PcapWriter::Open(std::string const & name) [member function] - cls.add_method('Open', - 'void', - [param('std::string const &', 'name')]) - ## pcap-writer.h: void ns3::PcapWriter::SetCaptureSize(uint32_t size) [member function] - cls.add_method('SetCaptureSize', - 'void', - [param('uint32_t', 'size')]) - ## pcap-writer.h: void ns3::PcapWriter::WriteEthernetHeader() [member function] - cls.add_method('WriteEthernetHeader', - 'void', - []) - ## pcap-writer.h: void ns3::PcapWriter::WriteIpHeader() [member function] - cls.add_method('WriteIpHeader', - 'void', - []) - ## pcap-writer.h: void ns3::PcapWriter::WritePacket(ns3::Ptr packet) [member function] - cls.add_method('WritePacket', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## pcap-writer.h: void ns3::PcapWriter::WritePppHeader() [member function] - cls.add_method('WritePppHeader', - 'void', - []) - ## pcap-writer.h: void ns3::PcapWriter::WriteWifiHeader() [member function] - cls.add_method('WriteWifiHeader', - 'void', - []) - ## pcap-writer.h: void ns3::PcapWriter::WriteWifiMonitorPacket(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble, bool isTx, double signalDbm, double noiseDbm) [member function] - cls.add_method('WriteWifiMonitorPacket', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'channelFreqMhz'), param('uint16_t', 'channelNumber'), param('uint32_t', 'rate'), param('bool', 'isShortPreamble'), param('bool', 'isTx'), param('double', 'signalDbm'), param('double', 'noiseDbm')]) - ## pcap-writer.h: void ns3::PcapWriter::WriteWifiPrismHeader() [member function] - cls.add_method('WriteWifiPrismHeader', - 'void', - []) - ## pcap-writer.h: void ns3::PcapWriter::WriteWifiRadiotapHeader() [member function] - cls.add_method('WriteWifiRadiotapHeader', - 'void', - []) - return - def register_Ns3PropagationDelayModel_methods(root_module, cls): ## propagation-delay-model.h: ns3::PropagationDelayModel::PropagationDelayModel() [constructor] cls.add_constructor([]) @@ -1298,20 +1222,6 @@ def register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, cls): is_const=True, visibility='private', 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_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, cls): ## propagation-delay-model.h: ns3::ConstantSpeedPropagationDelayModel::ConstantSpeedPropagationDelayModel(ns3::ConstantSpeedPropagationDelayModel const & arg0) [copy constructor] cls.add_constructor([param('ns3::ConstantSpeedPropagationDelayModel const &', 'arg0')]) @@ -1647,6 +1557,26 @@ def register_Ns3NixVector_methods(root_module, cls): is_const=True) return +def register_Ns3OutputStreamKeeper_methods(root_module, cls): + ## output-stream-keeper.h: ns3::OutputStreamKeeper::OutputStreamKeeper(ns3::OutputStreamKeeper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::OutputStreamKeeper const &', 'arg0')]) + ## output-stream-keeper.h: ns3::OutputStreamKeeper::OutputStreamKeeper() [constructor] + cls.add_constructor([]) + ## output-stream-keeper.h: std::ostream * ns3::OutputStreamKeeper::GetStream() [member function] + cls.add_method('GetStream', + 'std::ostream *', + []) + ## output-stream-keeper.h: static ns3::TypeId ns3::OutputStreamKeeper::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## output-stream-keeper.h: void ns3::OutputStreamKeeper::SetStream(std::ostream * ostream) [member function] + cls.add_method('SetStream', + 'void', + [param('std::ostream *', 'ostream')]) + return + def register_Ns3Packet_methods(root_module, cls): cls.add_output_stream_operator() ## packet.h: ns3::Packet::Packet() [constructor] diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py index 023d59bb6..92338589a 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py @@ -368,7 +368,6 @@ def register_methods(root_module): 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_Ns3DefaultDeleter__lt__ns3AsciiWriter__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AsciiWriter, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter >']) @@ -382,6 +381,7 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3Ipv6MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv6MulticastRoute__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv6MulticastRoute, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3Ipv6Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv6Route__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv6Route, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3MeshWifiInterfaceMacPlugin_Ns3Empty_Ns3DefaultDeleter__lt__ns3MeshWifiInterfaceMacPlugin__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::MeshWifiInterfaceMacPlugin, ns3::empty, ns3::DefaultDeleter >']) + register_Ns3SimpleRefCount__Ns3OutputStreamKeeper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamKeeper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamKeeper, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3PbbAddressBlock_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbAddressBlock__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbAddressBlock, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3PbbMessage_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbMessage__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbMessage, ns3::empty, ns3::DefaultDeleter >']) @@ -1792,18 +1792,6 @@ def register_Ns3ParetoVariable_methods(root_module, cls): cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')]) return -def register_Ns3SimpleRefCount__Ns3AsciiWriter_Ns3Empty_Ns3DefaultDeleter__lt__ns3AsciiWriter__gt___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, ns3::DefaultDeleter< ns3::AsciiWriter > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls): ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -1960,6 +1948,18 @@ def register_Ns3SimpleRefCount__Ns3MeshWifiInterfaceMacPlugin_Ns3Empty_Ns3Defaul is_static=True) return +def register_Ns3SimpleRefCount__Ns3OutputStreamKeeper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamKeeper__gt___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::OutputStreamKeeper, ns3::empty, ns3::DefaultDeleter< ns3::OutputStreamKeeper > > const &', 'o')]) + ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] + cls.add_method('Cleanup', + 'void', + [], + is_static=True) + return + def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls): ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -3055,21 +3055,21 @@ def register_functions(root_module): module.add_function('MakeBooleanChecker', 'ns3::Ptr< ns3::AttributeChecker const >', []) - ## callback.h: extern ns3::Callback,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::MakeBoundCallback(void (*)( ::ns3::Ptr,::ns3::Ptr ) * fnPtr, ns3::Ptr a) [free function] + ## callback.h: extern ns3::Callback,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::MakeBoundCallback(void (*)( ::ns3::Ptr,::ns3::Ptr ) * fnPtr, ns3::Ptr a) [free function] module.add_function('MakeBoundCallback', 'ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [param('void ( * ) ( ns3::Ptr< ns3::OutputStreamObject >, ns3::Ptr< ns3::Packet const > ) *', 'fnPtr'), param('ns3::Ptr< ns3::OutputStreamObject >', 'a')], - template_parameters=['void', 'ns3::Ptr', 'ns3::Ptr', 'ns3::Ptr']) + [param('void ( * ) ( ns3::Ptr< ns3::OutputStreamKeeper >, ns3::Ptr< ns3::Packet const > ) *', 'fnPtr'), param('ns3::Ptr< ns3::OutputStreamKeeper >', 'a')], + template_parameters=['void', 'ns3::Ptr', 'ns3::Ptr', 'ns3::Ptr']) ## callback.h: extern ns3::Callback,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::MakeBoundCallback(void (*)( ::ns3::Ptr,::ns3::Ptr ) * fnPtr, ns3::Ptr a) [free function] module.add_function('MakeBoundCallback', 'ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', [param('void ( * ) ( ns3::Ptr< ns3::PcapFileObject >, ns3::Ptr< ns3::Packet const > ) *', 'fnPtr'), param('ns3::Ptr< ns3::PcapFileObject >', 'a')], template_parameters=['void', 'ns3::Ptr', 'ns3::Ptr', 'ns3::Ptr']) - ## callback.h: extern ns3::Callback, std::allocator >,ns3::Ptr,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::MakeBoundCallback(void (*)( ::ns3::Ptr,::std::basic_string,std::allocator >,::ns3::Ptr ) * fnPtr, ns3::Ptr a) [free function] + ## callback.h: extern ns3::Callback, std::allocator >,ns3::Ptr,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::MakeBoundCallback(void (*)( ::ns3::Ptr,::std::basic_string,std::allocator >,::ns3::Ptr ) * fnPtr, ns3::Ptr a) [free function] module.add_function('MakeBoundCallback', 'ns3::Callback< void, std::basic_string< char, std::char_traits< char >, std::allocator< char > >, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [param('void ( * ) ( ns3::Ptr< ns3::OutputStreamObject >, std::string, ns3::Ptr< ns3::Packet const > ) *', 'fnPtr'), param('ns3::Ptr< ns3::OutputStreamObject >', 'a')], - template_parameters=['void', 'ns3::Ptr', 'ns3::Ptr', 'std::string', 'ns3::Ptr']) + [param('void ( * ) ( ns3::Ptr< ns3::OutputStreamKeeper >, std::string, ns3::Ptr< ns3::Packet const > ) *', 'fnPtr'), param('ns3::Ptr< ns3::OutputStreamKeeper >', 'a')], + template_parameters=['void', 'ns3::Ptr', 'ns3::Ptr', 'std::string', 'ns3::Ptr']) ## callback.h: extern ns3::Ptr ns3::MakeCallbackChecker() [free function] module.add_function('MakeCallbackChecker', 'ns3::Ptr< ns3::AttributeChecker const >', diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_helper.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_helper.py index 8fbf5ae7a..c6abff5d2 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_helper.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_helper.py @@ -9,6 +9,12 @@ def register_types(module): module.add_class('ApplicationContainer') ## trace-helper.h: ns3::AsciiTraceHelper [class] module.add_class('AsciiTraceHelper') + ## trace-helper.h: ns3::AsciiTraceHelperForDevice [class] + module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True) + ## trace-helper.h: ns3::AsciiTraceHelperForIpv4 [class] + module.add_class('AsciiTraceHelperForIpv4', allow_subclassing=True) + ## trace-helper.h: ns3::AsciiTraceHelperForIpv6 [class] + module.add_class('AsciiTraceHelperForIpv6', allow_subclassing=True) ## athstats-helper.h: ns3::AthstatsHelper [class] module.add_class('AthstatsHelper') ## bridge-helper.h: ns3::BridgeHelper [class] @@ -56,35 +62,25 @@ def register_types(module): ## trace-helper.h: ns3::PcapHelper [class] module.add_class('PcapHelper') ## trace-helper.h: ns3::PcapHelper [enumeration] - module.add_enum('', ['DLT_NULL'], outer_class=root_module['ns3::PcapHelper']) - ## trace-helper.h: ns3::PcapHelper [enumeration] - module.add_enum('', ['DLT_EN10MB'], outer_class=root_module['ns3::PcapHelper']) - ## trace-helper.h: ns3::PcapHelper [enumeration] - module.add_enum('', ['DLT_PPP'], outer_class=root_module['ns3::PcapHelper']) - ## trace-helper.h: ns3::PcapHelper [enumeration] - module.add_enum('', ['DLT_RAW'], outer_class=root_module['ns3::PcapHelper']) - ## trace-helper.h: ns3::PcapHelper [enumeration] - module.add_enum('', ['DLT_IEEE802_11'], outer_class=root_module['ns3::PcapHelper']) - ## trace-helper.h: ns3::PcapHelper [enumeration] - module.add_enum('', ['DLT_PRISM_HEADER'], outer_class=root_module['ns3::PcapHelper']) - ## trace-helper.h: ns3::PcapHelper [enumeration] - module.add_enum('', ['DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::PcapHelper']) + module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::PcapHelper']) ## trace-helper.h: ns3::PcapHelperForDevice [class] module.add_class('PcapHelperForDevice', allow_subclassing=True) ## trace-helper.h: ns3::PcapHelperForIpv4 [class] module.add_class('PcapHelperForIpv4', allow_subclassing=True) + ## trace-helper.h: ns3::PcapHelperForIpv6 [class] + module.add_class('PcapHelperForIpv6', allow_subclassing=True) ## ping6-helper.h: ns3::Ping6Helper [class] module.add_class('Ping6Helper') ## point-to-point-dumbbell-helper.h: ns3::PointToPointDumbbellHelper [class] module.add_class('PointToPointDumbbellHelper') ## point-to-point-grid-helper.h: ns3::PointToPointGridHelper [class] module.add_class('PointToPointGridHelper') + ## point-to-point-helper.h: ns3::PointToPointHelper [class] + module.add_class('PointToPointHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) ## point-to-point-star-helper.h: ns3::PointToPointStarHelper [class] module.add_class('PointToPointStarHelper') ## tap-bridge-helper.h: ns3::TapBridgeHelper [class] module.add_class('TapBridgeHelper') - ## trace-helper.h: ns3::TraceHelperForDevice [class] - module.add_class('TraceHelperForDevice', parent=root_module['ns3::PcapHelperForDevice']) ## udp-client-server-helper.h: ns3::UdpClientHelper [class] module.add_class('UdpClientHelper') ## udp-echo-helper.h: ns3::UdpEchoClientHelper [class] @@ -102,19 +98,21 @@ def register_types(module): ## wifi-helper.h: ns3::WifiMacHelper [class] module.add_class('WifiMacHelper', allow_subclassing=True) ## wifi-helper.h: ns3::WifiPhyHelper [class] - module.add_class('WifiPhyHelper', parent=root_module['ns3::TraceHelperForDevice']) + module.add_class('WifiPhyHelper', allow_subclassing=True) ## yans-wifi-helper.h: ns3::YansWifiChannelHelper [class] module.add_class('YansWifiChannelHelper') ## yans-wifi-helper.h: ns3::YansWifiPhyHelper [class] - module.add_class('YansWifiPhyHelper', 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']) + module.add_class('YansWifiPhyHelper', parent=[root_module['ns3::WifiPhyHelper'], root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) + ## yans-wifi-helper.h: ns3::YansWifiPhyHelper::SupportedPcapDataLinkTypes [enumeration] + module.add_enum('SupportedPcapDataLinkTypes', ['DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::YansWifiPhyHelper']) ## aodv-helper.h: ns3::AodvHelper [class] module.add_class('AodvHelper', parent=root_module['ns3::Ipv4RoutingHelper']) ## csma-helper.h: ns3::CsmaHelper [class] - module.add_class('CsmaHelper', parent=root_module['ns3::TraceHelperForDevice']) + module.add_class('CsmaHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) ## emu-helper.h: ns3::EmuHelper [class] - module.add_class('EmuHelper', parent=root_module['ns3::TraceHelperForDevice']) + module.add_class('EmuHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) + ## internet-stack-helper.h: ns3::InternetStackHelper [class] + module.add_class('InternetStackHelper', parent=[root_module['ns3::PcapHelperForIpv4'], root_module['ns3::PcapHelperForIpv6'], root_module['ns3::AsciiTraceHelperForIpv4'], root_module['ns3::AsciiTraceHelperForIpv6']]) ## ipv4-global-routing-helper.h: ns3::Ipv4GlobalRoutingHelper [class] module.add_class('Ipv4GlobalRoutingHelper', parent=root_module['ns3::Ipv4RoutingHelper']) ## ipv4-list-routing-helper.h: ns3::Ipv4ListRoutingHelper [class] @@ -125,22 +123,12 @@ def register_types(module): module.add_class('Ipv6ListRoutingHelper', parent=root_module['ns3::Ipv6RoutingHelper']) ## nqos-wifi-mac-helper.h: ns3::NqosWifiMacHelper [class] module.add_class('NqosWifiMacHelper', parent=root_module['ns3::WifiMacHelper']) - ## trace-helper.h: ns3::PcapAndAsciiHelperForIpv4 [class] - module.add_class('PcapAndAsciiHelperForIpv4', parent=root_module['ns3::PcapHelperForIpv4']) - ## trace-helper.h: ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6 [class] - module.add_class('PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6', parent=root_module['ns3::PcapAndAsciiHelperForIpv4']) - ## point-to-point-helper.h: ns3::PointToPointHelper [class] - module.add_class('PointToPointHelper', parent=root_module['ns3::TraceHelperForDevice']) ## qos-wifi-mac-helper.h: ns3::QosWifiMacHelper [class] module.add_class('QosWifiMacHelper', parent=root_module['ns3::WifiMacHelper']) - ## trace-helper.h: ns3::TraceHelperForProtocol [class] - module.add_class('TraceHelperForProtocol', parent=root_module['ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6']) ## athstats-helper.h: ns3::AthstatsWifiTraceSink [class] module.add_class('AthstatsWifiTraceSink', parent=root_module['ns3::Object']) ## canvas-location.h: ns3::CanvasLocation [class] module.add_class('CanvasLocation', parent=root_module['ns3::Object']) - ## internet-stack-helper.h: ns3::InternetStackHelper [class] - module.add_class('InternetStackHelper', parent=root_module['ns3::TraceHelperForProtocol']) ## mesh-stack-installer.h: ns3::MeshStack [class] module.add_class('MeshStack', parent=root_module['ns3::Object']) ## dot11s-installer.h: ns3::Dot11sStack [class] @@ -232,6 +220,9 @@ def register_methods(root_module): register_Ns3AnimationInterface_methods(root_module, root_module['ns3::AnimationInterface']) register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer']) register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) + register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) + register_Ns3AsciiTraceHelperForIpv4_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv4']) + register_Ns3AsciiTraceHelperForIpv6_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv6']) register_Ns3AthstatsHelper_methods(root_module, root_module['ns3::AthstatsHelper']) register_Ns3BridgeHelper_methods(root_module, root_module['ns3::BridgeHelper']) register_Ns3CsmaStarHelper_methods(root_module, root_module['ns3::CsmaStarHelper']) @@ -256,12 +247,13 @@ def register_methods(root_module): register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper']) register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice']) register_Ns3PcapHelperForIpv4_methods(root_module, root_module['ns3::PcapHelperForIpv4']) + register_Ns3PcapHelperForIpv6_methods(root_module, root_module['ns3::PcapHelperForIpv6']) register_Ns3Ping6Helper_methods(root_module, root_module['ns3::Ping6Helper']) register_Ns3PointToPointDumbbellHelper_methods(root_module, root_module['ns3::PointToPointDumbbellHelper']) register_Ns3PointToPointGridHelper_methods(root_module, root_module['ns3::PointToPointGridHelper']) + register_Ns3PointToPointHelper_methods(root_module, root_module['ns3::PointToPointHelper']) register_Ns3PointToPointStarHelper_methods(root_module, root_module['ns3::PointToPointStarHelper']) register_Ns3TapBridgeHelper_methods(root_module, root_module['ns3::TapBridgeHelper']) - register_Ns3TraceHelperForDevice_methods(root_module, root_module['ns3::TraceHelperForDevice']) register_Ns3UdpClientHelper_methods(root_module, root_module['ns3::UdpClientHelper']) register_Ns3UdpEchoClientHelper_methods(root_module, root_module['ns3::UdpEchoClientHelper']) register_Ns3UdpEchoServerHelper_methods(root_module, root_module['ns3::UdpEchoServerHelper']) @@ -276,19 +268,15 @@ def register_methods(root_module): register_Ns3AodvHelper_methods(root_module, root_module['ns3::AodvHelper']) register_Ns3CsmaHelper_methods(root_module, root_module['ns3::CsmaHelper']) register_Ns3EmuHelper_methods(root_module, root_module['ns3::EmuHelper']) + register_Ns3InternetStackHelper_methods(root_module, root_module['ns3::InternetStackHelper']) 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']) register_Ns3Ipv6ListRoutingHelper_methods(root_module, root_module['ns3::Ipv6ListRoutingHelper']) register_Ns3NqosWifiMacHelper_methods(root_module, root_module['ns3::NqosWifiMacHelper']) - register_Ns3PcapAndAsciiHelperForIpv4_methods(root_module, root_module['ns3::PcapAndAsciiHelperForIpv4']) - register_Ns3PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6_methods(root_module, root_module['ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6']) - register_Ns3PointToPointHelper_methods(root_module, root_module['ns3::PointToPointHelper']) register_Ns3QosWifiMacHelper_methods(root_module, root_module['ns3::QosWifiMacHelper']) - register_Ns3TraceHelperForProtocol_methods(root_module, root_module['ns3::TraceHelperForProtocol']) register_Ns3AthstatsWifiTraceSink_methods(root_module, root_module['ns3::AthstatsWifiTraceSink']) register_Ns3CanvasLocation_methods(root_module, root_module['ns3::CanvasLocation']) - register_Ns3InternetStackHelper_methods(root_module, root_module['ns3::InternetStackHelper']) register_Ns3MeshStack_methods(root_module, root_module['ns3::MeshStack']) register_Ns3Dot11sStack_methods(root_module, root_module['ns3::Dot11sStack']) register_Ns3FlameStack_methods(root_module, root_module['ns3::FlameStack']) @@ -373,49 +361,49 @@ def register_Ns3AsciiTraceHelper_methods(root_module, cls): cls.add_constructor([param('ns3::AsciiTraceHelper const &', 'arg0')]) ## trace-helper.h: ns3::AsciiTraceHelper::AsciiTraceHelper() [constructor] cls.add_constructor([]) - ## trace-helper.h: ns3::Ptr ns3::AsciiTraceHelper::CreateFileStream(std::string filename, std::string filemode="w") [member function] + ## trace-helper.h: ns3::Ptr ns3::AsciiTraceHelper::CreateFileStream(std::string filename, std::string filemode="w") [member function] cls.add_method('CreateFileStream', - 'ns3::Ptr< ns3::OutputStreamObject >', + 'ns3::Ptr< ns3::OutputStreamKeeper >', [param('std::string', 'filename'), param('std::string', 'filemode', default_value='"w"')]) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] cls.add_method('DefaultDequeueSinkWithContext', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] cls.add_method('DefaultDequeueSinkWithoutContext', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDropSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDropSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] cls.add_method('DefaultDropSinkWithContext', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDropSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDropSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] cls.add_method('DefaultDropSinkWithoutContext', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] cls.add_method('DefaultEnqueueSinkWithContext', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] cls.add_method('DefaultEnqueueSinkWithoutContext', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] cls.add_method('DefaultReceiveSinkWithContext', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] cls.add_method('DefaultReceiveSinkWithoutContext', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], is_static=True) ## trace-helper.h: std::string ns3::AsciiTraceHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr device, bool useObjectNames=true) [member function] cls.add_method('GetFilenameFromDevice', @@ -427,6 +415,186 @@ def register_Ns3AsciiTraceHelper_methods(root_module, cls): [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')]) return +def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): + ## trace-helper.h: ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice() [constructor] + cls.add_constructor([]) + ## trace-helper.h: ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice(ns3::AsciiTraceHelperForDevice const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AsciiTraceHelperForDevice const &', 'arg0')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::Ptr nd) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::Ptr nd) [member function] + cls.add_method('EnableAscii', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, std::string ndName) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::string', 'prefix'), param('std::string', 'ndName')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, std::string ndName) [member function] + cls.add_method('EnableAscii', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'ndName')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NetDeviceContainer d) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NetDeviceContainer d) [member function] + cls.add_method('EnableAscii', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('ns3::NetDeviceContainer', 'd')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NodeContainer n) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NodeContainer n) [member function] + cls.add_method('EnableAscii', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('ns3::NodeContainer', 'n')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, uint32_t nodeid, uint32_t deviceid) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, uint32_t nodeid, uint32_t deviceid) [member function] + cls.add_method('EnableAscii', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(std::string prefix) [member function] + cls.add_method('EnableAsciiAll', + 'void', + [param('std::string', 'prefix')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(ns3::Ptr stream) [member function] + cls.add_method('EnableAsciiAll', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd) [member function] + cls.add_method('EnableAsciiInternal', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')], + is_pure_virtual=True, is_virtual=True) + return + +def register_Ns3AsciiTraceHelperForIpv4_methods(root_module, cls): + ## trace-helper.h: ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4() [constructor] + cls.add_constructor([]) + ## trace-helper.h: ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4(ns3::AsciiTraceHelperForIpv4 const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AsciiTraceHelperForIpv4 const &', 'arg0')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ptr ipv4, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv4', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::Ptr ipv4, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv4', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, std::string ipv4Name, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv4', + 'void', + [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, std::string ipv4Name, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv4', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function] + cls.add_method('EnableAsciiIpv4', + 'void', + [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::Ipv4InterfaceContainer c) [member function] + cls.add_method('EnableAsciiIpv4', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('ns3::Ipv4InterfaceContainer', 'c')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::NodeContainer n) [member function] + cls.add_method('EnableAsciiIpv4', + 'void', + [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::NodeContainer n) [member function] + cls.add_method('EnableAsciiIpv4', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('ns3::NodeContainer', 'n')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, uint32_t nodeid, uint32_t deviceid) [member function] + cls.add_method('EnableAsciiIpv4', + 'void', + [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, uint32_t nodeid, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv4', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(std::string prefix) [member function] + cls.add_method('EnableAsciiIpv4All', + 'void', + [param('std::string', 'prefix')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(ns3::Ptr stream) [member function] + cls.add_method('EnableAsciiIpv4All', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv4, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv4Internal', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')], + is_pure_virtual=True, is_virtual=True) + return + +def register_Ns3AsciiTraceHelperForIpv6_methods(root_module, cls): + ## trace-helper.h: ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6() [constructor] + cls.add_constructor([]) + ## trace-helper.h: ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6(ns3::AsciiTraceHelperForIpv6 const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AsciiTraceHelperForIpv6 const &', 'arg0')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv6', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::Ptr ipv6, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv6', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, std::string ipv6Name, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv6', + 'void', + [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, std::string ipv6Name, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv6', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function] + cls.add_method('EnableAsciiIpv6', + 'void', + [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::Ipv6InterfaceContainer c) [member function] + cls.add_method('EnableAsciiIpv6', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('ns3::Ipv6InterfaceContainer', 'c')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::NodeContainer n) [member function] + cls.add_method('EnableAsciiIpv6', + 'void', + [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::NodeContainer n) [member function] + cls.add_method('EnableAsciiIpv6', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('ns3::NodeContainer', 'n')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, uint32_t nodeid, uint32_t deviceid) [member function] + cls.add_method('EnableAsciiIpv6', + 'void', + [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, uint32_t nodeid, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv6', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(std::string prefix) [member function] + cls.add_method('EnableAsciiIpv6All', + 'void', + [param('std::string', 'prefix')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(ns3::Ptr stream) [member function] + cls.add_method('EnableAsciiIpv6All', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv6Internal', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')], + is_pure_virtual=True, is_virtual=True) + return + def register_Ns3AthstatsHelper_methods(root_module, cls): ## athstats-helper.h: ns3::AthstatsHelper::AthstatsHelper(ns3::AthstatsHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::AthstatsHelper const &', 'arg0')]) @@ -1254,6 +1422,42 @@ def register_Ns3PcapHelperForIpv4_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return +def register_Ns3PcapHelperForIpv6_methods(root_module, cls): + ## trace-helper.h: ns3::PcapHelperForIpv6::PcapHelperForIpv6() [constructor] + cls.add_constructor([]) + ## trace-helper.h: ns3::PcapHelperForIpv6::PcapHelperForIpv6(ns3::PcapHelperForIpv6 const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PcapHelperForIpv6 const &', 'arg0')]) + ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] + cls.add_method('EnablePcapIpv6', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, std::string ipv6Name, uint32_t interface) [member function] + cls.add_method('EnablePcapIpv6', + 'void', + [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function] + cls.add_method('EnablePcapIpv6', + 'void', + [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')]) + ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::NodeContainer n) [member function] + cls.add_method('EnablePcapIpv6', + 'void', + [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) + ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, uint32_t nodeid, uint32_t interface) [member function] + cls.add_method('EnablePcapIpv6', + 'void', + [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6All(std::string prefix) [member function] + cls.add_method('EnablePcapIpv6All', + 'void', + [param('std::string', 'prefix')]) + ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] + cls.add_method('EnablePcapIpv6Internal', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')], + is_pure_virtual=True, is_virtual=True) + return + def register_Ns3Ping6Helper_methods(root_module, cls): ## ping6-helper.h: ns3::Ping6Helper::Ping6Helper(ns3::Ping6Helper const & arg0) [copy constructor] cls.add_constructor([param('ns3::Ping6Helper const &', 'arg0')]) @@ -1371,6 +1575,55 @@ def register_Ns3PointToPointGridHelper_methods(root_module, cls): [param('ns3::InternetStackHelper', 'stack')]) return +def register_Ns3PointToPointHelper_methods(root_module, cls): + ## point-to-point-helper.h: ns3::PointToPointHelper::PointToPointHelper(ns3::PointToPointHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PointToPointHelper const &', 'arg0')]) + ## point-to-point-helper.h: ns3::PointToPointHelper::PointToPointHelper() [constructor] + cls.add_constructor([]) + ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::NodeContainer c) [member function] + cls.add_method('Install', + 'ns3::NetDeviceContainer', + [param('ns3::NodeContainer', 'c')]) + ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr a, ns3::Ptr b) [member function] + cls.add_method('Install', + 'ns3::NetDeviceContainer', + [param('ns3::Ptr< ns3::Node >', 'a'), param('ns3::Ptr< ns3::Node >', 'b')]) + ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr a, std::string bName) [member function] + cls.add_method('Install', + 'ns3::NetDeviceContainer', + [param('ns3::Ptr< ns3::Node >', 'a'), param('std::string', 'bName')]) + ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aName, ns3::Ptr b) [member function] + cls.add_method('Install', + 'ns3::NetDeviceContainer', + [param('std::string', 'aName'), param('ns3::Ptr< ns3::Node >', 'b')]) + ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aNode, std::string bNode) [member function] + cls.add_method('Install', + 'ns3::NetDeviceContainer', + [param('std::string', 'aNode'), param('std::string', 'bNode')]) + ## point-to-point-helper.h: void ns3::PointToPointHelper::SetChannelAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetChannelAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## point-to-point-helper.h: void ns3::PointToPointHelper::SetDeviceAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetDeviceAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## point-to-point-helper.h: void ns3::PointToPointHelper::SetQueue(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue()) [member function] + cls.add_method('SetQueue', + 'void', + [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()')]) + ## point-to-point-helper.h: void ns3::PointToPointHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd) [member function] + cls.add_method('EnableAsciiInternal', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')], + visibility='private', is_virtual=True) + ## point-to-point-helper.h: void ns3::PointToPointHelper::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous=false) [member function] + cls.add_method('EnablePcapInternal', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous', default_value='false')], + visibility='private', is_virtual=True) + return + def register_Ns3PointToPointStarHelper_methods(root_module, cls): ## point-to-point-star-helper.h: ns3::PointToPointStarHelper::PointToPointStarHelper(ns3::PointToPointStarHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::PointToPointStarHelper const &', 'arg0')]) @@ -1448,66 +1701,6 @@ def register_Ns3TapBridgeHelper_methods(root_module, cls): [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) return -def register_Ns3TraceHelperForDevice_methods(root_module, cls): - ## trace-helper.h: ns3::TraceHelperForDevice::TraceHelperForDevice() [constructor] - cls.add_constructor([]) - ## trace-helper.h: ns3::TraceHelperForDevice::TraceHelperForDevice(ns3::TraceHelperForDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TraceHelperForDevice const &', 'arg0')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAscii(std::string prefix, ns3::Ptr nd) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::Ptr nd) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAscii(std::string prefix, std::string ndName) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ndName')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAscii(ns3::Ptr stream, std::string ndName) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'ndName')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAscii(std::string prefix, ns3::NetDeviceContainer d) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NetDeviceContainer d) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('ns3::NetDeviceContainer', 'd')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAscii(std::string prefix, ns3::NodeContainer n) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NodeContainer n) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAscii(std::string prefix, uint32_t nodeid, uint32_t deviceid) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAscii(ns3::Ptr stream, uint32_t nodeid, uint32_t deviceid) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAsciiAll(std::string prefix) [member function] - cls.add_method('EnableAsciiAll', - 'void', - [param('std::string', 'prefix')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAsciiAll(ns3::Ptr stream) [member function] - cls.add_method('EnableAsciiAll', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd) [member function] - cls.add_method('EnableAsciiInternal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')], - is_pure_virtual=True, is_virtual=True) - return - def register_Ns3UdpClientHelper_methods(root_module, cls): ## udp-client-server-helper.h: ns3::UdpClientHelper::UdpClientHelper(ns3::UdpClientHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::UdpClientHelper const &', 'arg0')]) @@ -1768,24 +1961,19 @@ def register_Ns3YansWifiPhyHelper_methods(root_module, cls): cls.add_method('SetErrorRateModel', 'void', [param('std::string', 'name'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::SetPcapDataLinkType(uint32_t dlt) [member function] + ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::SetPcapDataLinkType(ns3::YansWifiPhyHelper::SupportedPcapDataLinkTypes dlt) [member function] cls.add_method('SetPcapDataLinkType', 'void', - [param('uint32_t', 'dlt')]) - ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::SetPcapFormat(ns3::YansWifiPhyHelper::PcapFormat format) [member function] - cls.add_method('SetPcapFormat', - 'void', - [param('ns3::YansWifiPhyHelper::PcapFormat', 'format')], - deprecated=True) + [param('ns3::YansWifiPhyHelper::SupportedPcapDataLinkTypes', 'dlt')]) ## yans-wifi-helper.h: ns3::Ptr ns3::YansWifiPhyHelper::Create(ns3::Ptr node, ns3::Ptr device) const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::WifiPhy >', [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::WifiNetDevice >', 'device')], is_const=True, visibility='private', is_virtual=True) - ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd) [member function] + ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd) [member function] cls.add_method('EnableAsciiInternal', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')], visibility='private', is_virtual=True) ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous) [member function] cls.add_method('EnablePcapInternal', @@ -1877,10 +2065,10 @@ def register_Ns3CsmaHelper_methods(root_module, cls): cls.add_method('SetQueue', 'void', [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()')]) - ## csma-helper.h: void ns3::CsmaHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd) [member function] + ## csma-helper.h: void ns3::CsmaHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd) [member function] cls.add_method('EnableAsciiInternal', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')], visibility='private', is_virtual=True) ## csma-helper.h: void ns3::CsmaHelper::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous=false) [member function] cls.add_method('EnablePcapInternal', @@ -1917,10 +2105,10 @@ def register_Ns3EmuHelper_methods(root_module, cls): cls.add_method('SetQueue', 'void', [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()')]) - ## emu-helper.h: void ns3::EmuHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd) [member function] + ## emu-helper.h: void ns3::EmuHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd) [member function] cls.add_method('EnableAsciiInternal', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')], visibility='private', is_virtual=True) ## emu-helper.h: void ns3::EmuHelper::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous=false) [member function] cls.add_method('EnablePcapInternal', @@ -1929,6 +2117,81 @@ def register_Ns3EmuHelper_methods(root_module, cls): visibility='private', is_virtual=True) return +def register_Ns3InternetStackHelper_methods(root_module, cls): + ## internet-stack-helper.h: ns3::InternetStackHelper::InternetStackHelper() [constructor] + cls.add_constructor([]) + ## internet-stack-helper.h: ns3::InternetStackHelper::InternetStackHelper(ns3::InternetStackHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::InternetStackHelper const &', 'arg0')]) + ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(std::string nodeName) const [member function] + cls.add_method('Install', + 'void', + [param('std::string', 'nodeName')], + is_const=True) + ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(ns3::Ptr node) const [member function] + cls.add_method('Install', + 'void', + [param('ns3::Ptr< ns3::Node >', 'node')], + is_const=True) + ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(ns3::NodeContainer c) const [member function] + cls.add_method('Install', + 'void', + [param('ns3::NodeContainer', 'c')], + is_const=True) + ## internet-stack-helper.h: void ns3::InternetStackHelper::InstallAll() const [member function] + cls.add_method('InstallAll', + 'void', + [], + is_const=True) + ## internet-stack-helper.h: void ns3::InternetStackHelper::Reset() [member function] + cls.add_method('Reset', + 'void', + []) + ## internet-stack-helper.h: void ns3::InternetStackHelper::SetIpv4StackInstall(bool enable) [member function] + cls.add_method('SetIpv4StackInstall', + 'void', + [param('bool', 'enable')]) + ## internet-stack-helper.h: void ns3::InternetStackHelper::SetIpv6StackInstall(bool enable) [member function] + cls.add_method('SetIpv6StackInstall', + 'void', + [param('bool', 'enable')]) + ## internet-stack-helper.h: void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv4RoutingHelper const & routing) [member function] + cls.add_method('SetRoutingHelper', + 'void', + [param('ns3::Ipv4RoutingHelper const &', 'routing')]) + ## internet-stack-helper.h: void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv6RoutingHelper const & routing) [member function] + cls.add_method('SetRoutingHelper', + 'void', + [param('ns3::Ipv6RoutingHelper const &', 'routing')]) + ## internet-stack-helper.h: void ns3::InternetStackHelper::SetTcp(std::string tid) [member function] + cls.add_method('SetTcp', + 'void', + [param('std::string', 'tid')]) + ## internet-stack-helper.h: void ns3::InternetStackHelper::SetTcp(std::string tid, std::string attr, ns3::AttributeValue const & val) [member function] + cls.add_method('SetTcp', + 'void', + [param('std::string', 'tid'), param('std::string', 'attr'), param('ns3::AttributeValue const &', 'val')]) + ## internet-stack-helper.h: void ns3::InternetStackHelper::EnableAsciiIpv4Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv4, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv4Internal', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')], + visibility='private', is_virtual=True) + ## internet-stack-helper.h: void ns3::InternetStackHelper::EnableAsciiIpv6Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv6Internal', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')], + visibility='private', is_virtual=True) + ## internet-stack-helper.h: void ns3::InternetStackHelper::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr ipv4, uint32_t interface) [member function] + cls.add_method('EnablePcapIpv4Internal', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')], + visibility='private', is_virtual=True) + ## internet-stack-helper.h: void ns3::InternetStackHelper::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] + cls.add_method('EnablePcapIpv6Internal', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')], + visibility='private', is_virtual=True) + return + def register_Ns3Ipv4GlobalRoutingHelper_methods(root_module, cls): ## ipv4-global-routing-helper.h: ns3::Ipv4GlobalRoutingHelper::Ipv4GlobalRoutingHelper() [constructor] cls.add_constructor([]) @@ -2036,151 +2299,6 @@ def register_Ns3NqosWifiMacHelper_methods(root_module, cls): is_const=True, visibility='private', is_virtual=True) return -def register_Ns3PcapAndAsciiHelperForIpv4_methods(root_module, cls): - ## trace-helper.h: ns3::PcapAndAsciiHelperForIpv4::PcapAndAsciiHelperForIpv4() [constructor] - cls.add_constructor([]) - ## trace-helper.h: ns3::PcapAndAsciiHelperForIpv4::PcapAndAsciiHelperForIpv4(ns3::PcapAndAsciiHelperForIpv4 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PcapAndAsciiHelperForIpv4 const &', 'arg0')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ptr ipv4, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::Ptr ipv4, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4(std::string prefix, std::string ipv4Name, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, std::string ipv4Name, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::Ipv4InterfaceContainer c) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('ns3::Ipv4InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::NodeContainer n) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::NodeContainer n) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4(std::string prefix, uint32_t nodeid, uint32_t deviceid) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, uint32_t nodeid, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4All(std::string prefix) [member function] - cls.add_method('EnableAsciiIpv4All', - 'void', - [param('std::string', 'prefix')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4All(ns3::Ptr stream) [member function] - cls.add_method('EnableAsciiIpv4All', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv4, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv4Internal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6_methods(root_module, cls): - ## trace-helper.h: ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6() [constructor] - cls.add_constructor([]) - ## trace-helper.h: ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6(ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6 const &', 'arg0')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] - cls.add_method('EnablePcapIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6::EnablePcapIpv6(std::string prefix, std::string ipv6Name, uint32_t interface) [member function] - cls.add_method('EnablePcapIpv6', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function] - cls.add_method('EnablePcapIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::NodeContainer n) [member function] - cls.add_method('EnablePcapIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6::EnablePcapIpv6(std::string prefix, uint32_t nodeid, uint32_t interface) [member function] - cls.add_method('EnablePcapIpv6', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6::EnablePcapIpv6All(std::string prefix) [member function] - cls.add_method('EnablePcapIpv6All', - 'void', - [param('std::string', 'prefix')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] - cls.add_method('EnablePcapIpv6Internal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3PointToPointHelper_methods(root_module, cls): - ## point-to-point-helper.h: ns3::PointToPointHelper::PointToPointHelper(ns3::PointToPointHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PointToPointHelper const &', 'arg0')]) - ## point-to-point-helper.h: ns3::PointToPointHelper::PointToPointHelper() [constructor] - cls.add_constructor([]) - ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::NodeContainer c) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c')]) - ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr a, ns3::Ptr b) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'a'), param('ns3::Ptr< ns3::Node >', 'b')]) - ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr a, std::string bName) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'a'), param('std::string', 'bName')]) - ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aName, ns3::Ptr b) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'aName'), param('ns3::Ptr< ns3::Node >', 'b')]) - ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aNode, std::string bNode) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'aNode'), param('std::string', 'bNode')]) - ## point-to-point-helper.h: void ns3::PointToPointHelper::SetChannelAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetChannelAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## point-to-point-helper.h: void ns3::PointToPointHelper::SetDeviceAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetDeviceAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## point-to-point-helper.h: void ns3::PointToPointHelper::SetQueue(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetQueue', - 'void', - [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()')]) - ## point-to-point-helper.h: void ns3::PointToPointHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd) [member function] - cls.add_method('EnableAsciiInternal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')], - visibility='private', is_virtual=True) - ## point-to-point-helper.h: void ns3::PointToPointHelper::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous=false) [member function] - cls.add_method('EnablePcapInternal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous', default_value='false')], - visibility='private', is_virtual=True) - return - def register_Ns3QosWifiMacHelper_methods(root_module, cls): ## qos-wifi-mac-helper.h: ns3::QosWifiMacHelper::QosWifiMacHelper(ns3::QosWifiMacHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::QosWifiMacHelper const &', 'arg0')]) @@ -2206,66 +2324,6 @@ def register_Ns3QosWifiMacHelper_methods(root_module, cls): is_const=True, visibility='private', is_virtual=True) return -def register_Ns3TraceHelperForProtocol_methods(root_module, cls): - ## trace-helper.h: ns3::TraceHelperForProtocol::TraceHelperForProtocol() [constructor] - cls.add_constructor([]) - ## trace-helper.h: ns3::TraceHelperForProtocol::TraceHelperForProtocol(ns3::TraceHelperForProtocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TraceHelperForProtocol const &', 'arg0')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6(std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6(ns3::Ptr stream, ns3::Ptr ipv6, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6(std::string prefix, std::string ipv6Name, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6(ns3::Ptr stream, std::string ipv6Name, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6(ns3::Ptr stream, ns3::Ipv6InterfaceContainer c) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('ns3::Ipv6InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6(std::string prefix, ns3::NodeContainer n) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6(ns3::Ptr stream, ns3::NodeContainer n) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6(std::string prefix, uint32_t nodeid, uint32_t deviceid) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6(ns3::Ptr stream, uint32_t nodeid, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6All(std::string prefix) [member function] - cls.add_method('EnableAsciiIpv6All', - 'void', - [param('std::string', 'prefix')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6All(ns3::Ptr stream) [member function] - cls.add_method('EnableAsciiIpv6All', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv6Internal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - return - def register_Ns3AthstatsWifiTraceSink_methods(root_module, cls): ## athstats-helper.h: ns3::AthstatsWifiTraceSink::AthstatsWifiTraceSink(ns3::AthstatsWifiTraceSink const & arg0) [copy constructor] cls.add_constructor([param('ns3::AthstatsWifiTraceSink const &', 'arg0')]) @@ -2343,81 +2401,6 @@ def register_Ns3CanvasLocation_methods(root_module, cls): [param('ns3::Vector const &', 'location')]) return -def register_Ns3InternetStackHelper_methods(root_module, cls): - ## internet-stack-helper.h: ns3::InternetStackHelper::InternetStackHelper() [constructor] - cls.add_constructor([]) - ## internet-stack-helper.h: ns3::InternetStackHelper::InternetStackHelper(ns3::InternetStackHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::InternetStackHelper const &', 'arg0')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'void', - [param('std::string', 'nodeName')], - is_const=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'void', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::InstallAll() const [member function] - cls.add_method('InstallAll', - 'void', - [], - is_const=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::Reset() [member function] - cls.add_method('Reset', - 'void', - []) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetIpv4StackInstall(bool enable) [member function] - cls.add_method('SetIpv4StackInstall', - 'void', - [param('bool', 'enable')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetIpv6StackInstall(bool enable) [member function] - cls.add_method('SetIpv6StackInstall', - 'void', - [param('bool', 'enable')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv4RoutingHelper const & routing) [member function] - cls.add_method('SetRoutingHelper', - 'void', - [param('ns3::Ipv4RoutingHelper const &', 'routing')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv6RoutingHelper const & routing) [member function] - cls.add_method('SetRoutingHelper', - 'void', - [param('ns3::Ipv6RoutingHelper const &', 'routing')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetTcp(std::string tid) [member function] - cls.add_method('SetTcp', - 'void', - [param('std::string', 'tid')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetTcp(std::string tid, std::string attr, ns3::AttributeValue const & val) [member function] - cls.add_method('SetTcp', - 'void', - [param('std::string', 'tid'), param('std::string', 'attr'), param('ns3::AttributeValue const &', 'val')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::EnableAsciiIpv4Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv4, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv4Internal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')], - visibility='private', is_virtual=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::EnableAsciiIpv6Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv6Internal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')], - visibility='private', is_virtual=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr ipv4, uint32_t interface) [member function] - cls.add_method('EnablePcapIpv4Internal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')], - visibility='private', is_virtual=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] - cls.add_method('EnablePcapIpv6Internal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')], - visibility='private', is_virtual=True) - return - def register_Ns3MeshStack_methods(root_module, cls): ## mesh-stack-installer.h: ns3::MeshStack::MeshStack() [constructor] cls.add_constructor([]) diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_mobility.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_mobility.py index f52a3df35..2eedc731d 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_mobility.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_mobility.py @@ -39,6 +39,8 @@ def register_types(module): module.add_class('RectangleChecker', parent=root_module['ns3::AttributeChecker']) ## rectangle.h: ns3::RectangleValue [class] module.add_class('RectangleValue', parent=root_module['ns3::AttributeValue']) + ## steady-state-random-waypoint-mobility-model.h: ns3::SteadyStateRandomWaypointMobilityModel [class] + module.add_class('SteadyStateRandomWaypointMobilityModel', parent=root_module['ns3::MobilityModel']) ## waypoint.h: ns3::WaypointChecker [class] module.add_class('WaypointChecker', parent=root_module['ns3::AttributeChecker']) ## waypoint-mobility-model.h: ns3::WaypointMobilityModel [class] @@ -150,6 +152,7 @@ def register_methods(root_module): 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_Ns3SteadyStateRandomWaypointMobilityModel_methods(root_module, root_module['ns3::SteadyStateRandomWaypointMobilityModel']) 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']) @@ -646,6 +649,38 @@ def register_Ns3RectangleValue_methods(root_module, cls): [param('ns3::Rectangle const &', 'value')]) return +def register_Ns3SteadyStateRandomWaypointMobilityModel_methods(root_module, cls): + ## steady-state-random-waypoint-mobility-model.h: ns3::SteadyStateRandomWaypointMobilityModel::SteadyStateRandomWaypointMobilityModel(ns3::SteadyStateRandomWaypointMobilityModel const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SteadyStateRandomWaypointMobilityModel const &', 'arg0')]) + ## steady-state-random-waypoint-mobility-model.h: ns3::SteadyStateRandomWaypointMobilityModel::SteadyStateRandomWaypointMobilityModel() [constructor] + cls.add_constructor([]) + ## steady-state-random-waypoint-mobility-model.h: static ns3::TypeId ns3::SteadyStateRandomWaypointMobilityModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## steady-state-random-waypoint-mobility-model.h: void ns3::SteadyStateRandomWaypointMobilityModel::DoStart() [member function] + cls.add_method('DoStart', + 'void', + [], + visibility='protected', is_virtual=True) + ## steady-state-random-waypoint-mobility-model.h: ns3::Vector ns3::SteadyStateRandomWaypointMobilityModel::DoGetPosition() const [member function] + cls.add_method('DoGetPosition', + 'ns3::Vector', + [], + is_const=True, visibility='private', is_virtual=True) + ## steady-state-random-waypoint-mobility-model.h: ns3::Vector ns3::SteadyStateRandomWaypointMobilityModel::DoGetVelocity() const [member function] + cls.add_method('DoGetVelocity', + 'ns3::Vector', + [], + is_const=True, visibility='private', is_virtual=True) + ## steady-state-random-waypoint-mobility-model.h: void ns3::SteadyStateRandomWaypointMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] + cls.add_method('DoSetPosition', + 'void', + [param('ns3::Vector const &', 'position')], + visibility='private', is_virtual=True) + return + def register_Ns3WaypointChecker_methods(root_module, cls): ## waypoint.h: ns3::WaypointChecker::WaypointChecker() [constructor] cls.add_constructor([]) diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_node.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_node.py index 6689c22e2..26d826bff 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_node.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_node.py @@ -76,41 +76,9 @@ def register_types(module): ## radiotap-header.h: ns3::RadiotapHeader [class] module.add_class('RadiotapHeader', parent=root_module['ns3::Header']) ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['FRAME_FLAG_NONE'], outer_class=root_module['ns3::RadiotapHeader']) + module.add_enum('', ['FRAME_FLAG_NONE', 'FRAME_FLAG_CFP', 'FRAME_FLAG_SHORT_PREAMBLE', 'FRAME_FLAG_WEP', 'FRAME_FLAG_FRAGMENTED', 'FRAME_FLAG_FCS_INCLUDED', 'FRAME_FLAG_DATA_PADDING', 'FRAME_FLAG_BAD_FCS', 'FRAME_FLAG_SHORT_GUARD'], outer_class=root_module['ns3::RadiotapHeader']) ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['FRAME_FLAG_CFP'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['FRAME_FLAG_SHORT_PREAMBLE'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['FRAME_FLAG_WEP'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['FRAME_FLAG_FRAGMENTED'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['FRAME_FLAG_FCS_INCLUDED'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['FRAME_FLAG_DATA_PADDING'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['FRAME_FLAG_BAD_FCS'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['FRAME_FLAG_SHORT_GUARD'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['CHANNEL_FLAG_NONE'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['CHANNEL_FLAG_TURBO'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['CHANNEL_FLAG_CCK'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['CHANNEL_FLAG_OFDM'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['CHANNEL_FLAG_SPECTRUM_2GHZ'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['CHANNEL_FLAG_SPECTRUM_5GHZ'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['CHANNEL_FLAG_PASSIVE'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['CHANNEL_FLAG_DYNAMIC'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['CHANNEL_FLAG_GFSK'], outer_class=root_module['ns3::RadiotapHeader']) + module.add_enum('', ['CHANNEL_FLAG_NONE', 'CHANNEL_FLAG_TURBO', 'CHANNEL_FLAG_CCK', 'CHANNEL_FLAG_OFDM', 'CHANNEL_FLAG_SPECTRUM_2GHZ', 'CHANNEL_FLAG_SPECTRUM_5GHZ', 'CHANNEL_FLAG_PASSIVE', 'CHANNEL_FLAG_DYNAMIC', 'CHANNEL_FLAG_GFSK'], outer_class=root_module['ns3::RadiotapHeader']) ## simple-ref-count.h: ns3::SimpleRefCount > [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::Ipv4MulticastRoute', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simple-ref-count.h: ns3::SimpleRefCount > [class] diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_common.py b/bindings/python/apidefs/gcc-LP64/ns3_module_common.py index 2dd28e662..d03b897ee 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_common.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_common.py @@ -47,12 +47,8 @@ def register_types(module): module.add_class('Chunk', parent=root_module['ns3::ObjectBase']) ## header.h: ns3::Header [class] module.add_class('Header', parent=root_module['ns3::Chunk']) - ## output-stream-object.h: ns3::OutputStreamObject [class] - module.add_class('OutputStreamObject', parent=root_module['ns3::Object']) ## pcap-file-object.h: ns3::PcapFileObject [class] module.add_class('PcapFileObject', parent=root_module['ns3::Object']) - ## pcap-writer.h: ns3::PcapWriter [class] - module.add_class('PcapWriter', parent=root_module['ns3::Object']) ## propagation-delay-model.h: ns3::PropagationDelayModel [class] module.add_class('PropagationDelayModel', parent=root_module['ns3::Object']) ## propagation-loss-model.h: ns3::PropagationLossModel [class] @@ -61,8 +57,8 @@ def register_types(module): module.add_class('RandomPropagationDelayModel', parent=root_module['ns3::PropagationDelayModel']) ## propagation-loss-model.h: ns3::RandomPropagationLossModel [class] module.add_class('RandomPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::AsciiWriter', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) + ## simple-ref-count.h: ns3::SimpleRefCount > [class] + module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::OutputStreamKeeper', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simple-ref-count.h: ns3::SimpleRefCount > [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## propagation-loss-model.h: ns3::ThreeLogDistancePropagationLossModel [class] @@ -71,10 +67,6 @@ def register_types(module): module.add_class('Trailer', parent=root_module['ns3::Chunk']) ## propagation-loss-model.h: ns3::TwoRayGroundPropagationLossModel [class] module.add_class('TwoRayGroundPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## ascii-writer.h: ns3::AsciiWriter [class] - module.add_class('AsciiWriter', parent=root_module['ns3::SimpleRefCount< ns3::AsciiWriter, ns3::empty, ns3::DefaultDeleter >']) - ## ascii-writer.h: ns3::AsciiWriter::Type [enumeration] - module.add_enum('Type', ['ENQUEUE', 'DEQUEUE', 'DROP', 'TX', 'RX'], outer_class=root_module['ns3::AsciiWriter']) ## propagation-delay-model.h: ns3::ConstantSpeedPropagationDelayModel [class] module.add_class('ConstantSpeedPropagationDelayModel', parent=root_module['ns3::PropagationDelayModel']) ## data-rate.h: ns3::DataRateChecker [class] @@ -97,6 +89,8 @@ def register_types(module): module.add_class('NakagamiPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) ## nix-vector.h: ns3::NixVector [class] module.add_class('NixVector', parent=root_module['ns3::Object']) + ## output-stream-keeper.h: ns3::OutputStreamKeeper [class] + module.add_class('OutputStreamKeeper', parent=root_module['ns3::SimpleRefCount< ns3::OutputStreamKeeper, ns3::empty, ns3::DefaultDeleter >']) ## packet.h: ns3::Packet [class] module.add_class('Packet', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter >']) ## error-model.h: ns3::RateErrorModel [class] @@ -203,9 +197,7 @@ def register_methods(root_module): register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) register_Ns3Header_methods(root_module, root_module['ns3::Header']) - register_Ns3OutputStreamObject_methods(root_module, root_module['ns3::OutputStreamObject']) register_Ns3PcapFileObject_methods(root_module, root_module['ns3::PcapFileObject']) - register_Ns3PcapWriter_methods(root_module, root_module['ns3::PcapWriter']) register_Ns3PropagationDelayModel_methods(root_module, root_module['ns3::PropagationDelayModel']) register_Ns3PropagationLossModel_methods(root_module, root_module['ns3::PropagationLossModel']) register_Ns3RandomPropagationDelayModel_methods(root_module, root_module['ns3::RandomPropagationDelayModel']) @@ -213,7 +205,6 @@ def register_methods(root_module): register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, root_module['ns3::ThreeLogDistancePropagationLossModel']) register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, root_module['ns3::TwoRayGroundPropagationLossModel']) - register_Ns3AsciiWriter_methods(root_module, root_module['ns3::AsciiWriter']) register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, root_module['ns3::ConstantSpeedPropagationDelayModel']) register_Ns3DataRateChecker_methods(root_module, root_module['ns3::DataRateChecker']) register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue']) @@ -225,6 +216,7 @@ def register_methods(root_module): register_Ns3LogDistancePropagationLossModel_methods(root_module, root_module['ns3::LogDistancePropagationLossModel']) register_Ns3NakagamiPropagationLossModel_methods(root_module, root_module['ns3::NakagamiPropagationLossModel']) register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector']) + register_Ns3OutputStreamKeeper_methods(root_module, root_module['ns3::OutputStreamKeeper']) register_Ns3Packet_methods(root_module, root_module['ns3::Packet']) register_Ns3RateErrorModel_methods(root_module, root_module['ns3::RateErrorModel']) return @@ -995,26 +987,6 @@ def register_Ns3Header_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return -def register_Ns3OutputStreamObject_methods(root_module, cls): - ## output-stream-object.h: ns3::OutputStreamObject::OutputStreamObject(ns3::OutputStreamObject const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OutputStreamObject const &', 'arg0')]) - ## output-stream-object.h: ns3::OutputStreamObject::OutputStreamObject() [constructor] - cls.add_constructor([]) - ## output-stream-object.h: std::ostream * ns3::OutputStreamObject::GetStream() [member function] - cls.add_method('GetStream', - 'std::ostream *', - []) - ## output-stream-object.h: static ns3::TypeId ns3::OutputStreamObject::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## output-stream-object.h: void ns3::OutputStreamObject::SetStream(std::ostream * ostream) [member function] - cls.add_method('SetStream', - 'void', - [param('std::ostream *', 'ostream')]) - return - def register_Ns3PcapFileObject_methods(root_module, cls): ## pcap-file-object.h: ns3::PcapFileObject::PcapFileObject(ns3::PcapFileObject const & arg0) [copy constructor] cls.add_constructor([param('ns3::PcapFileObject const &', 'arg0')]) @@ -1057,10 +1029,10 @@ def register_Ns3PcapFileObject_methods(root_module, cls): cls.add_method('GetVersionMinor', 'uint16_t', []) - ## pcap-file-object.h: bool ns3::PcapFileObject::Init(uint32_t dataLinkType, uint32_t snapLen=ns3::PcapFile::SNAPLEN_DEFAULT, int32_t tzCorrection=ns3::PcapFile::ZONE_DEFAULT) [member function] + ## pcap-file-object.h: bool ns3::PcapFileObject::Init(uint32_t dataLinkType, uint32_t snapLen=std::numeric_limits::max(), int32_t tzCorrection=ns3::PcapFile::ZONE_DEFAULT) [member function] cls.add_method('Init', 'bool', - [param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='ns3::PcapFile::SNAPLEN_DEFAULT'), param('int32_t', 'tzCorrection', default_value='ns3::PcapFile::ZONE_DEFAULT')]) + [param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='std::numeric_limits::max()'), param('int32_t', 'tzCorrection', default_value='ns3::PcapFile::ZONE_DEFAULT')]) ## pcap-file-object.h: bool ns3::PcapFileObject::Open(std::string const & filename, std::string const & mode) [member function] cls.add_method('Open', 'bool', @@ -1069,64 +1041,16 @@ def register_Ns3PcapFileObject_methods(root_module, cls): cls.add_method('Write', 'bool', [param('ns3::Time', 't'), param('ns3::Ptr< ns3::Packet const >', 'p')]) + ## pcap-file-object.h: bool ns3::PcapFileObject::Write(ns3::Time t, ns3::Header & header, ns3::Ptr p) [member function] + cls.add_method('Write', + 'bool', + [param('ns3::Time', 't'), param('ns3::Header &', 'header'), param('ns3::Ptr< ns3::Packet const >', 'p')]) ## pcap-file-object.h: bool ns3::PcapFileObject::Write(ns3::Time t, uint8_t const * buffer, uint32_t length) [member function] cls.add_method('Write', 'bool', [param('ns3::Time', 't'), param('uint8_t const *', 'buffer'), param('uint32_t', 'length')]) return -def register_Ns3PcapWriter_methods(root_module, cls): - ## pcap-writer.h: ns3::PcapWriter::PcapWriter(ns3::PcapWriter const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PcapWriter const &', 'arg0')]) - ## pcap-writer.h: ns3::PcapWriter::PcapWriter() [constructor] - cls.add_constructor([]) - ## pcap-writer.h: static ns3::TypeId ns3::PcapWriter::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## pcap-writer.h: void ns3::PcapWriter::Open(std::string const & name) [member function] - cls.add_method('Open', - 'void', - [param('std::string const &', 'name')]) - ## pcap-writer.h: void ns3::PcapWriter::SetCaptureSize(uint32_t size) [member function] - cls.add_method('SetCaptureSize', - 'void', - [param('uint32_t', 'size')]) - ## pcap-writer.h: void ns3::PcapWriter::WriteEthernetHeader() [member function] - cls.add_method('WriteEthernetHeader', - 'void', - []) - ## pcap-writer.h: void ns3::PcapWriter::WriteIpHeader() [member function] - cls.add_method('WriteIpHeader', - 'void', - []) - ## pcap-writer.h: void ns3::PcapWriter::WritePacket(ns3::Ptr packet) [member function] - cls.add_method('WritePacket', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## pcap-writer.h: void ns3::PcapWriter::WritePppHeader() [member function] - cls.add_method('WritePppHeader', - 'void', - []) - ## pcap-writer.h: void ns3::PcapWriter::WriteWifiHeader() [member function] - cls.add_method('WriteWifiHeader', - 'void', - []) - ## pcap-writer.h: void ns3::PcapWriter::WriteWifiMonitorPacket(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble, bool isTx, double signalDbm, double noiseDbm) [member function] - cls.add_method('WriteWifiMonitorPacket', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'channelFreqMhz'), param('uint16_t', 'channelNumber'), param('uint32_t', 'rate'), param('bool', 'isShortPreamble'), param('bool', 'isTx'), param('double', 'signalDbm'), param('double', 'noiseDbm')]) - ## pcap-writer.h: void ns3::PcapWriter::WriteWifiPrismHeader() [member function] - cls.add_method('WriteWifiPrismHeader', - 'void', - []) - ## pcap-writer.h: void ns3::PcapWriter::WriteWifiRadiotapHeader() [member function] - cls.add_method('WriteWifiRadiotapHeader', - 'void', - []) - return - def register_Ns3PropagationDelayModel_methods(root_module, cls): ## propagation-delay-model.h: ns3::PropagationDelayModel::PropagationDelayModel() [constructor] cls.add_constructor([]) @@ -1298,20 +1222,6 @@ def register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, cls): is_const=True, visibility='private', 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_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, cls): ## propagation-delay-model.h: ns3::ConstantSpeedPropagationDelayModel::ConstantSpeedPropagationDelayModel(ns3::ConstantSpeedPropagationDelayModel const & arg0) [copy constructor] cls.add_constructor([param('ns3::ConstantSpeedPropagationDelayModel const &', 'arg0')]) @@ -1647,6 +1557,26 @@ def register_Ns3NixVector_methods(root_module, cls): is_const=True) return +def register_Ns3OutputStreamKeeper_methods(root_module, cls): + ## output-stream-keeper.h: ns3::OutputStreamKeeper::OutputStreamKeeper(ns3::OutputStreamKeeper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::OutputStreamKeeper const &', 'arg0')]) + ## output-stream-keeper.h: ns3::OutputStreamKeeper::OutputStreamKeeper() [constructor] + cls.add_constructor([]) + ## output-stream-keeper.h: std::ostream * ns3::OutputStreamKeeper::GetStream() [member function] + cls.add_method('GetStream', + 'std::ostream *', + []) + ## output-stream-keeper.h: static ns3::TypeId ns3::OutputStreamKeeper::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## output-stream-keeper.h: void ns3::OutputStreamKeeper::SetStream(std::ostream * ostream) [member function] + cls.add_method('SetStream', + 'void', + [param('std::ostream *', 'ostream')]) + return + def register_Ns3Packet_methods(root_module, cls): cls.add_output_stream_operator() ## packet.h: ns3::Packet::Packet() [constructor] diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_core.py b/bindings/python/apidefs/gcc-LP64/ns3_module_core.py index 01e4b7db0..18760b263 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_core.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_core.py @@ -368,7 +368,6 @@ def register_methods(root_module): 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_Ns3DefaultDeleter__lt__ns3AsciiWriter__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AsciiWriter, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter >']) @@ -382,6 +381,7 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3Ipv6MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv6MulticastRoute__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv6MulticastRoute, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3Ipv6Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv6Route__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv6Route, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3MeshWifiInterfaceMacPlugin_Ns3Empty_Ns3DefaultDeleter__lt__ns3MeshWifiInterfaceMacPlugin__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::MeshWifiInterfaceMacPlugin, ns3::empty, ns3::DefaultDeleter >']) + register_Ns3SimpleRefCount__Ns3OutputStreamKeeper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamKeeper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamKeeper, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3PbbAddressBlock_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbAddressBlock__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbAddressBlock, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3PbbMessage_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbMessage__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbMessage, ns3::empty, ns3::DefaultDeleter >']) @@ -1792,18 +1792,6 @@ def register_Ns3ParetoVariable_methods(root_module, cls): cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')]) return -def register_Ns3SimpleRefCount__Ns3AsciiWriter_Ns3Empty_Ns3DefaultDeleter__lt__ns3AsciiWriter__gt___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, ns3::DefaultDeleter< ns3::AsciiWriter > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls): ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -1960,6 +1948,18 @@ def register_Ns3SimpleRefCount__Ns3MeshWifiInterfaceMacPlugin_Ns3Empty_Ns3Defaul is_static=True) return +def register_Ns3SimpleRefCount__Ns3OutputStreamKeeper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamKeeper__gt___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::OutputStreamKeeper, ns3::empty, ns3::DefaultDeleter< ns3::OutputStreamKeeper > > const &', 'o')]) + ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] + cls.add_method('Cleanup', + 'void', + [], + is_static=True) + return + def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls): ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -3055,21 +3055,21 @@ def register_functions(root_module): module.add_function('MakeBooleanChecker', 'ns3::Ptr< ns3::AttributeChecker const >', []) - ## callback.h: extern ns3::Callback,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::MakeBoundCallback(void (*)( ::ns3::Ptr,::ns3::Ptr ) * fnPtr, ns3::Ptr a) [free function] + ## callback.h: extern ns3::Callback,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::MakeBoundCallback(void (*)( ::ns3::Ptr,::ns3::Ptr ) * fnPtr, ns3::Ptr a) [free function] module.add_function('MakeBoundCallback', 'ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [param('void ( * ) ( ns3::Ptr< ns3::OutputStreamObject >, ns3::Ptr< ns3::Packet const > ) *', 'fnPtr'), param('ns3::Ptr< ns3::OutputStreamObject >', 'a')], - template_parameters=['void', 'ns3::Ptr', 'ns3::Ptr', 'ns3::Ptr']) + [param('void ( * ) ( ns3::Ptr< ns3::OutputStreamKeeper >, ns3::Ptr< ns3::Packet const > ) *', 'fnPtr'), param('ns3::Ptr< ns3::OutputStreamKeeper >', 'a')], + template_parameters=['void', 'ns3::Ptr', 'ns3::Ptr', 'ns3::Ptr']) ## callback.h: extern ns3::Callback,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::MakeBoundCallback(void (*)( ::ns3::Ptr,::ns3::Ptr ) * fnPtr, ns3::Ptr a) [free function] module.add_function('MakeBoundCallback', 'ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', [param('void ( * ) ( ns3::Ptr< ns3::PcapFileObject >, ns3::Ptr< ns3::Packet const > ) *', 'fnPtr'), param('ns3::Ptr< ns3::PcapFileObject >', 'a')], template_parameters=['void', 'ns3::Ptr', 'ns3::Ptr', 'ns3::Ptr']) - ## callback.h: extern ns3::Callback, std::allocator >,ns3::Ptr,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::MakeBoundCallback(void (*)( ::ns3::Ptr,::std::basic_string,std::allocator >,::ns3::Ptr ) * fnPtr, ns3::Ptr a) [free function] + ## callback.h: extern ns3::Callback, std::allocator >,ns3::Ptr,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::MakeBoundCallback(void (*)( ::ns3::Ptr,::std::basic_string,std::allocator >,::ns3::Ptr ) * fnPtr, ns3::Ptr a) [free function] module.add_function('MakeBoundCallback', 'ns3::Callback< void, std::basic_string< char, std::char_traits< char >, std::allocator< char > >, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [param('void ( * ) ( ns3::Ptr< ns3::OutputStreamObject >, std::string, ns3::Ptr< ns3::Packet const > ) *', 'fnPtr'), param('ns3::Ptr< ns3::OutputStreamObject >', 'a')], - template_parameters=['void', 'ns3::Ptr', 'ns3::Ptr', 'std::string', 'ns3::Ptr']) + [param('void ( * ) ( ns3::Ptr< ns3::OutputStreamKeeper >, std::string, ns3::Ptr< ns3::Packet const > ) *', 'fnPtr'), param('ns3::Ptr< ns3::OutputStreamKeeper >', 'a')], + template_parameters=['void', 'ns3::Ptr', 'ns3::Ptr', 'std::string', 'ns3::Ptr']) ## callback.h: extern ns3::Ptr ns3::MakeCallbackChecker() [free function] module.add_function('MakeCallbackChecker', 'ns3::Ptr< ns3::AttributeChecker const >', diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_helper.py b/bindings/python/apidefs/gcc-LP64/ns3_module_helper.py index 8fbf5ae7a..c6abff5d2 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_helper.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_helper.py @@ -9,6 +9,12 @@ def register_types(module): module.add_class('ApplicationContainer') ## trace-helper.h: ns3::AsciiTraceHelper [class] module.add_class('AsciiTraceHelper') + ## trace-helper.h: ns3::AsciiTraceHelperForDevice [class] + module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True) + ## trace-helper.h: ns3::AsciiTraceHelperForIpv4 [class] + module.add_class('AsciiTraceHelperForIpv4', allow_subclassing=True) + ## trace-helper.h: ns3::AsciiTraceHelperForIpv6 [class] + module.add_class('AsciiTraceHelperForIpv6', allow_subclassing=True) ## athstats-helper.h: ns3::AthstatsHelper [class] module.add_class('AthstatsHelper') ## bridge-helper.h: ns3::BridgeHelper [class] @@ -56,35 +62,25 @@ def register_types(module): ## trace-helper.h: ns3::PcapHelper [class] module.add_class('PcapHelper') ## trace-helper.h: ns3::PcapHelper [enumeration] - module.add_enum('', ['DLT_NULL'], outer_class=root_module['ns3::PcapHelper']) - ## trace-helper.h: ns3::PcapHelper [enumeration] - module.add_enum('', ['DLT_EN10MB'], outer_class=root_module['ns3::PcapHelper']) - ## trace-helper.h: ns3::PcapHelper [enumeration] - module.add_enum('', ['DLT_PPP'], outer_class=root_module['ns3::PcapHelper']) - ## trace-helper.h: ns3::PcapHelper [enumeration] - module.add_enum('', ['DLT_RAW'], outer_class=root_module['ns3::PcapHelper']) - ## trace-helper.h: ns3::PcapHelper [enumeration] - module.add_enum('', ['DLT_IEEE802_11'], outer_class=root_module['ns3::PcapHelper']) - ## trace-helper.h: ns3::PcapHelper [enumeration] - module.add_enum('', ['DLT_PRISM_HEADER'], outer_class=root_module['ns3::PcapHelper']) - ## trace-helper.h: ns3::PcapHelper [enumeration] - module.add_enum('', ['DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::PcapHelper']) + module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::PcapHelper']) ## trace-helper.h: ns3::PcapHelperForDevice [class] module.add_class('PcapHelperForDevice', allow_subclassing=True) ## trace-helper.h: ns3::PcapHelperForIpv4 [class] module.add_class('PcapHelperForIpv4', allow_subclassing=True) + ## trace-helper.h: ns3::PcapHelperForIpv6 [class] + module.add_class('PcapHelperForIpv6', allow_subclassing=True) ## ping6-helper.h: ns3::Ping6Helper [class] module.add_class('Ping6Helper') ## point-to-point-dumbbell-helper.h: ns3::PointToPointDumbbellHelper [class] module.add_class('PointToPointDumbbellHelper') ## point-to-point-grid-helper.h: ns3::PointToPointGridHelper [class] module.add_class('PointToPointGridHelper') + ## point-to-point-helper.h: ns3::PointToPointHelper [class] + module.add_class('PointToPointHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) ## point-to-point-star-helper.h: ns3::PointToPointStarHelper [class] module.add_class('PointToPointStarHelper') ## tap-bridge-helper.h: ns3::TapBridgeHelper [class] module.add_class('TapBridgeHelper') - ## trace-helper.h: ns3::TraceHelperForDevice [class] - module.add_class('TraceHelperForDevice', parent=root_module['ns3::PcapHelperForDevice']) ## udp-client-server-helper.h: ns3::UdpClientHelper [class] module.add_class('UdpClientHelper') ## udp-echo-helper.h: ns3::UdpEchoClientHelper [class] @@ -102,19 +98,21 @@ def register_types(module): ## wifi-helper.h: ns3::WifiMacHelper [class] module.add_class('WifiMacHelper', allow_subclassing=True) ## wifi-helper.h: ns3::WifiPhyHelper [class] - module.add_class('WifiPhyHelper', parent=root_module['ns3::TraceHelperForDevice']) + module.add_class('WifiPhyHelper', allow_subclassing=True) ## yans-wifi-helper.h: ns3::YansWifiChannelHelper [class] module.add_class('YansWifiChannelHelper') ## yans-wifi-helper.h: ns3::YansWifiPhyHelper [class] - module.add_class('YansWifiPhyHelper', 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']) + module.add_class('YansWifiPhyHelper', parent=[root_module['ns3::WifiPhyHelper'], root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) + ## yans-wifi-helper.h: ns3::YansWifiPhyHelper::SupportedPcapDataLinkTypes [enumeration] + module.add_enum('SupportedPcapDataLinkTypes', ['DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::YansWifiPhyHelper']) ## aodv-helper.h: ns3::AodvHelper [class] module.add_class('AodvHelper', parent=root_module['ns3::Ipv4RoutingHelper']) ## csma-helper.h: ns3::CsmaHelper [class] - module.add_class('CsmaHelper', parent=root_module['ns3::TraceHelperForDevice']) + module.add_class('CsmaHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) ## emu-helper.h: ns3::EmuHelper [class] - module.add_class('EmuHelper', parent=root_module['ns3::TraceHelperForDevice']) + module.add_class('EmuHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) + ## internet-stack-helper.h: ns3::InternetStackHelper [class] + module.add_class('InternetStackHelper', parent=[root_module['ns3::PcapHelperForIpv4'], root_module['ns3::PcapHelperForIpv6'], root_module['ns3::AsciiTraceHelperForIpv4'], root_module['ns3::AsciiTraceHelperForIpv6']]) ## ipv4-global-routing-helper.h: ns3::Ipv4GlobalRoutingHelper [class] module.add_class('Ipv4GlobalRoutingHelper', parent=root_module['ns3::Ipv4RoutingHelper']) ## ipv4-list-routing-helper.h: ns3::Ipv4ListRoutingHelper [class] @@ -125,22 +123,12 @@ def register_types(module): module.add_class('Ipv6ListRoutingHelper', parent=root_module['ns3::Ipv6RoutingHelper']) ## nqos-wifi-mac-helper.h: ns3::NqosWifiMacHelper [class] module.add_class('NqosWifiMacHelper', parent=root_module['ns3::WifiMacHelper']) - ## trace-helper.h: ns3::PcapAndAsciiHelperForIpv4 [class] - module.add_class('PcapAndAsciiHelperForIpv4', parent=root_module['ns3::PcapHelperForIpv4']) - ## trace-helper.h: ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6 [class] - module.add_class('PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6', parent=root_module['ns3::PcapAndAsciiHelperForIpv4']) - ## point-to-point-helper.h: ns3::PointToPointHelper [class] - module.add_class('PointToPointHelper', parent=root_module['ns3::TraceHelperForDevice']) ## qos-wifi-mac-helper.h: ns3::QosWifiMacHelper [class] module.add_class('QosWifiMacHelper', parent=root_module['ns3::WifiMacHelper']) - ## trace-helper.h: ns3::TraceHelperForProtocol [class] - module.add_class('TraceHelperForProtocol', parent=root_module['ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6']) ## athstats-helper.h: ns3::AthstatsWifiTraceSink [class] module.add_class('AthstatsWifiTraceSink', parent=root_module['ns3::Object']) ## canvas-location.h: ns3::CanvasLocation [class] module.add_class('CanvasLocation', parent=root_module['ns3::Object']) - ## internet-stack-helper.h: ns3::InternetStackHelper [class] - module.add_class('InternetStackHelper', parent=root_module['ns3::TraceHelperForProtocol']) ## mesh-stack-installer.h: ns3::MeshStack [class] module.add_class('MeshStack', parent=root_module['ns3::Object']) ## dot11s-installer.h: ns3::Dot11sStack [class] @@ -232,6 +220,9 @@ def register_methods(root_module): register_Ns3AnimationInterface_methods(root_module, root_module['ns3::AnimationInterface']) register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer']) register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) + register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) + register_Ns3AsciiTraceHelperForIpv4_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv4']) + register_Ns3AsciiTraceHelperForIpv6_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv6']) register_Ns3AthstatsHelper_methods(root_module, root_module['ns3::AthstatsHelper']) register_Ns3BridgeHelper_methods(root_module, root_module['ns3::BridgeHelper']) register_Ns3CsmaStarHelper_methods(root_module, root_module['ns3::CsmaStarHelper']) @@ -256,12 +247,13 @@ def register_methods(root_module): register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper']) register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice']) register_Ns3PcapHelperForIpv4_methods(root_module, root_module['ns3::PcapHelperForIpv4']) + register_Ns3PcapHelperForIpv6_methods(root_module, root_module['ns3::PcapHelperForIpv6']) register_Ns3Ping6Helper_methods(root_module, root_module['ns3::Ping6Helper']) register_Ns3PointToPointDumbbellHelper_methods(root_module, root_module['ns3::PointToPointDumbbellHelper']) register_Ns3PointToPointGridHelper_methods(root_module, root_module['ns3::PointToPointGridHelper']) + register_Ns3PointToPointHelper_methods(root_module, root_module['ns3::PointToPointHelper']) register_Ns3PointToPointStarHelper_methods(root_module, root_module['ns3::PointToPointStarHelper']) register_Ns3TapBridgeHelper_methods(root_module, root_module['ns3::TapBridgeHelper']) - register_Ns3TraceHelperForDevice_methods(root_module, root_module['ns3::TraceHelperForDevice']) register_Ns3UdpClientHelper_methods(root_module, root_module['ns3::UdpClientHelper']) register_Ns3UdpEchoClientHelper_methods(root_module, root_module['ns3::UdpEchoClientHelper']) register_Ns3UdpEchoServerHelper_methods(root_module, root_module['ns3::UdpEchoServerHelper']) @@ -276,19 +268,15 @@ def register_methods(root_module): register_Ns3AodvHelper_methods(root_module, root_module['ns3::AodvHelper']) register_Ns3CsmaHelper_methods(root_module, root_module['ns3::CsmaHelper']) register_Ns3EmuHelper_methods(root_module, root_module['ns3::EmuHelper']) + register_Ns3InternetStackHelper_methods(root_module, root_module['ns3::InternetStackHelper']) 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']) register_Ns3Ipv6ListRoutingHelper_methods(root_module, root_module['ns3::Ipv6ListRoutingHelper']) register_Ns3NqosWifiMacHelper_methods(root_module, root_module['ns3::NqosWifiMacHelper']) - register_Ns3PcapAndAsciiHelperForIpv4_methods(root_module, root_module['ns3::PcapAndAsciiHelperForIpv4']) - register_Ns3PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6_methods(root_module, root_module['ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6']) - register_Ns3PointToPointHelper_methods(root_module, root_module['ns3::PointToPointHelper']) register_Ns3QosWifiMacHelper_methods(root_module, root_module['ns3::QosWifiMacHelper']) - register_Ns3TraceHelperForProtocol_methods(root_module, root_module['ns3::TraceHelperForProtocol']) register_Ns3AthstatsWifiTraceSink_methods(root_module, root_module['ns3::AthstatsWifiTraceSink']) register_Ns3CanvasLocation_methods(root_module, root_module['ns3::CanvasLocation']) - register_Ns3InternetStackHelper_methods(root_module, root_module['ns3::InternetStackHelper']) register_Ns3MeshStack_methods(root_module, root_module['ns3::MeshStack']) register_Ns3Dot11sStack_methods(root_module, root_module['ns3::Dot11sStack']) register_Ns3FlameStack_methods(root_module, root_module['ns3::FlameStack']) @@ -373,49 +361,49 @@ def register_Ns3AsciiTraceHelper_methods(root_module, cls): cls.add_constructor([param('ns3::AsciiTraceHelper const &', 'arg0')]) ## trace-helper.h: ns3::AsciiTraceHelper::AsciiTraceHelper() [constructor] cls.add_constructor([]) - ## trace-helper.h: ns3::Ptr ns3::AsciiTraceHelper::CreateFileStream(std::string filename, std::string filemode="w") [member function] + ## trace-helper.h: ns3::Ptr ns3::AsciiTraceHelper::CreateFileStream(std::string filename, std::string filemode="w") [member function] cls.add_method('CreateFileStream', - 'ns3::Ptr< ns3::OutputStreamObject >', + 'ns3::Ptr< ns3::OutputStreamKeeper >', [param('std::string', 'filename'), param('std::string', 'filemode', default_value='"w"')]) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] cls.add_method('DefaultDequeueSinkWithContext', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] cls.add_method('DefaultDequeueSinkWithoutContext', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDropSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDropSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] cls.add_method('DefaultDropSinkWithContext', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDropSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDropSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] cls.add_method('DefaultDropSinkWithoutContext', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] cls.add_method('DefaultEnqueueSinkWithContext', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] cls.add_method('DefaultEnqueueSinkWithoutContext', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] cls.add_method('DefaultReceiveSinkWithContext', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] cls.add_method('DefaultReceiveSinkWithoutContext', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], is_static=True) ## trace-helper.h: std::string ns3::AsciiTraceHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr device, bool useObjectNames=true) [member function] cls.add_method('GetFilenameFromDevice', @@ -427,6 +415,186 @@ def register_Ns3AsciiTraceHelper_methods(root_module, cls): [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')]) return +def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): + ## trace-helper.h: ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice() [constructor] + cls.add_constructor([]) + ## trace-helper.h: ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice(ns3::AsciiTraceHelperForDevice const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AsciiTraceHelperForDevice const &', 'arg0')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::Ptr nd) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::Ptr nd) [member function] + cls.add_method('EnableAscii', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, std::string ndName) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::string', 'prefix'), param('std::string', 'ndName')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, std::string ndName) [member function] + cls.add_method('EnableAscii', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'ndName')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NetDeviceContainer d) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NetDeviceContainer d) [member function] + cls.add_method('EnableAscii', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('ns3::NetDeviceContainer', 'd')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NodeContainer n) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NodeContainer n) [member function] + cls.add_method('EnableAscii', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('ns3::NodeContainer', 'n')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, uint32_t nodeid, uint32_t deviceid) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, uint32_t nodeid, uint32_t deviceid) [member function] + cls.add_method('EnableAscii', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(std::string prefix) [member function] + cls.add_method('EnableAsciiAll', + 'void', + [param('std::string', 'prefix')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(ns3::Ptr stream) [member function] + cls.add_method('EnableAsciiAll', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd) [member function] + cls.add_method('EnableAsciiInternal', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')], + is_pure_virtual=True, is_virtual=True) + return + +def register_Ns3AsciiTraceHelperForIpv4_methods(root_module, cls): + ## trace-helper.h: ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4() [constructor] + cls.add_constructor([]) + ## trace-helper.h: ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4(ns3::AsciiTraceHelperForIpv4 const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AsciiTraceHelperForIpv4 const &', 'arg0')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ptr ipv4, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv4', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::Ptr ipv4, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv4', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, std::string ipv4Name, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv4', + 'void', + [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, std::string ipv4Name, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv4', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function] + cls.add_method('EnableAsciiIpv4', + 'void', + [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::Ipv4InterfaceContainer c) [member function] + cls.add_method('EnableAsciiIpv4', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('ns3::Ipv4InterfaceContainer', 'c')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::NodeContainer n) [member function] + cls.add_method('EnableAsciiIpv4', + 'void', + [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::NodeContainer n) [member function] + cls.add_method('EnableAsciiIpv4', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('ns3::NodeContainer', 'n')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, uint32_t nodeid, uint32_t deviceid) [member function] + cls.add_method('EnableAsciiIpv4', + 'void', + [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, uint32_t nodeid, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv4', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(std::string prefix) [member function] + cls.add_method('EnableAsciiIpv4All', + 'void', + [param('std::string', 'prefix')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(ns3::Ptr stream) [member function] + cls.add_method('EnableAsciiIpv4All', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv4, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv4Internal', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')], + is_pure_virtual=True, is_virtual=True) + return + +def register_Ns3AsciiTraceHelperForIpv6_methods(root_module, cls): + ## trace-helper.h: ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6() [constructor] + cls.add_constructor([]) + ## trace-helper.h: ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6(ns3::AsciiTraceHelperForIpv6 const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AsciiTraceHelperForIpv6 const &', 'arg0')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv6', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::Ptr ipv6, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv6', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, std::string ipv6Name, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv6', + 'void', + [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, std::string ipv6Name, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv6', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function] + cls.add_method('EnableAsciiIpv6', + 'void', + [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::Ipv6InterfaceContainer c) [member function] + cls.add_method('EnableAsciiIpv6', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('ns3::Ipv6InterfaceContainer', 'c')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::NodeContainer n) [member function] + cls.add_method('EnableAsciiIpv6', + 'void', + [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::NodeContainer n) [member function] + cls.add_method('EnableAsciiIpv6', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('ns3::NodeContainer', 'n')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, uint32_t nodeid, uint32_t deviceid) [member function] + cls.add_method('EnableAsciiIpv6', + 'void', + [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, uint32_t nodeid, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv6', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(std::string prefix) [member function] + cls.add_method('EnableAsciiIpv6All', + 'void', + [param('std::string', 'prefix')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(ns3::Ptr stream) [member function] + cls.add_method('EnableAsciiIpv6All', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv6Internal', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')], + is_pure_virtual=True, is_virtual=True) + return + def register_Ns3AthstatsHelper_methods(root_module, cls): ## athstats-helper.h: ns3::AthstatsHelper::AthstatsHelper(ns3::AthstatsHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::AthstatsHelper const &', 'arg0')]) @@ -1254,6 +1422,42 @@ def register_Ns3PcapHelperForIpv4_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return +def register_Ns3PcapHelperForIpv6_methods(root_module, cls): + ## trace-helper.h: ns3::PcapHelperForIpv6::PcapHelperForIpv6() [constructor] + cls.add_constructor([]) + ## trace-helper.h: ns3::PcapHelperForIpv6::PcapHelperForIpv6(ns3::PcapHelperForIpv6 const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PcapHelperForIpv6 const &', 'arg0')]) + ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] + cls.add_method('EnablePcapIpv6', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, std::string ipv6Name, uint32_t interface) [member function] + cls.add_method('EnablePcapIpv6', + 'void', + [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function] + cls.add_method('EnablePcapIpv6', + 'void', + [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')]) + ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::NodeContainer n) [member function] + cls.add_method('EnablePcapIpv6', + 'void', + [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) + ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, uint32_t nodeid, uint32_t interface) [member function] + cls.add_method('EnablePcapIpv6', + 'void', + [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')]) + ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6All(std::string prefix) [member function] + cls.add_method('EnablePcapIpv6All', + 'void', + [param('std::string', 'prefix')]) + ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] + cls.add_method('EnablePcapIpv6Internal', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')], + is_pure_virtual=True, is_virtual=True) + return + def register_Ns3Ping6Helper_methods(root_module, cls): ## ping6-helper.h: ns3::Ping6Helper::Ping6Helper(ns3::Ping6Helper const & arg0) [copy constructor] cls.add_constructor([param('ns3::Ping6Helper const &', 'arg0')]) @@ -1371,6 +1575,55 @@ def register_Ns3PointToPointGridHelper_methods(root_module, cls): [param('ns3::InternetStackHelper', 'stack')]) return +def register_Ns3PointToPointHelper_methods(root_module, cls): + ## point-to-point-helper.h: ns3::PointToPointHelper::PointToPointHelper(ns3::PointToPointHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PointToPointHelper const &', 'arg0')]) + ## point-to-point-helper.h: ns3::PointToPointHelper::PointToPointHelper() [constructor] + cls.add_constructor([]) + ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::NodeContainer c) [member function] + cls.add_method('Install', + 'ns3::NetDeviceContainer', + [param('ns3::NodeContainer', 'c')]) + ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr a, ns3::Ptr b) [member function] + cls.add_method('Install', + 'ns3::NetDeviceContainer', + [param('ns3::Ptr< ns3::Node >', 'a'), param('ns3::Ptr< ns3::Node >', 'b')]) + ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr a, std::string bName) [member function] + cls.add_method('Install', + 'ns3::NetDeviceContainer', + [param('ns3::Ptr< ns3::Node >', 'a'), param('std::string', 'bName')]) + ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aName, ns3::Ptr b) [member function] + cls.add_method('Install', + 'ns3::NetDeviceContainer', + [param('std::string', 'aName'), param('ns3::Ptr< ns3::Node >', 'b')]) + ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aNode, std::string bNode) [member function] + cls.add_method('Install', + 'ns3::NetDeviceContainer', + [param('std::string', 'aNode'), param('std::string', 'bNode')]) + ## point-to-point-helper.h: void ns3::PointToPointHelper::SetChannelAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetChannelAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## point-to-point-helper.h: void ns3::PointToPointHelper::SetDeviceAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetDeviceAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## point-to-point-helper.h: void ns3::PointToPointHelper::SetQueue(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue()) [member function] + cls.add_method('SetQueue', + 'void', + [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()')]) + ## point-to-point-helper.h: void ns3::PointToPointHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd) [member function] + cls.add_method('EnableAsciiInternal', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')], + visibility='private', is_virtual=True) + ## point-to-point-helper.h: void ns3::PointToPointHelper::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous=false) [member function] + cls.add_method('EnablePcapInternal', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous', default_value='false')], + visibility='private', is_virtual=True) + return + def register_Ns3PointToPointStarHelper_methods(root_module, cls): ## point-to-point-star-helper.h: ns3::PointToPointStarHelper::PointToPointStarHelper(ns3::PointToPointStarHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::PointToPointStarHelper const &', 'arg0')]) @@ -1448,66 +1701,6 @@ def register_Ns3TapBridgeHelper_methods(root_module, cls): [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) return -def register_Ns3TraceHelperForDevice_methods(root_module, cls): - ## trace-helper.h: ns3::TraceHelperForDevice::TraceHelperForDevice() [constructor] - cls.add_constructor([]) - ## trace-helper.h: ns3::TraceHelperForDevice::TraceHelperForDevice(ns3::TraceHelperForDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TraceHelperForDevice const &', 'arg0')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAscii(std::string prefix, ns3::Ptr nd) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::Ptr nd) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAscii(std::string prefix, std::string ndName) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ndName')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAscii(ns3::Ptr stream, std::string ndName) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'ndName')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAscii(std::string prefix, ns3::NetDeviceContainer d) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NetDeviceContainer d) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('ns3::NetDeviceContainer', 'd')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAscii(std::string prefix, ns3::NodeContainer n) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NodeContainer n) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAscii(std::string prefix, uint32_t nodeid, uint32_t deviceid) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAscii(ns3::Ptr stream, uint32_t nodeid, uint32_t deviceid) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAsciiAll(std::string prefix) [member function] - cls.add_method('EnableAsciiAll', - 'void', - [param('std::string', 'prefix')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAsciiAll(ns3::Ptr stream) [member function] - cls.add_method('EnableAsciiAll', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream')]) - ## trace-helper.h: void ns3::TraceHelperForDevice::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd) [member function] - cls.add_method('EnableAsciiInternal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')], - is_pure_virtual=True, is_virtual=True) - return - def register_Ns3UdpClientHelper_methods(root_module, cls): ## udp-client-server-helper.h: ns3::UdpClientHelper::UdpClientHelper(ns3::UdpClientHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::UdpClientHelper const &', 'arg0')]) @@ -1768,24 +1961,19 @@ def register_Ns3YansWifiPhyHelper_methods(root_module, cls): cls.add_method('SetErrorRateModel', 'void', [param('std::string', 'name'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::SetPcapDataLinkType(uint32_t dlt) [member function] + ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::SetPcapDataLinkType(ns3::YansWifiPhyHelper::SupportedPcapDataLinkTypes dlt) [member function] cls.add_method('SetPcapDataLinkType', 'void', - [param('uint32_t', 'dlt')]) - ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::SetPcapFormat(ns3::YansWifiPhyHelper::PcapFormat format) [member function] - cls.add_method('SetPcapFormat', - 'void', - [param('ns3::YansWifiPhyHelper::PcapFormat', 'format')], - deprecated=True) + [param('ns3::YansWifiPhyHelper::SupportedPcapDataLinkTypes', 'dlt')]) ## yans-wifi-helper.h: ns3::Ptr ns3::YansWifiPhyHelper::Create(ns3::Ptr node, ns3::Ptr device) const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::WifiPhy >', [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::WifiNetDevice >', 'device')], is_const=True, visibility='private', is_virtual=True) - ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd) [member function] + ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd) [member function] cls.add_method('EnableAsciiInternal', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')], visibility='private', is_virtual=True) ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous) [member function] cls.add_method('EnablePcapInternal', @@ -1877,10 +2065,10 @@ def register_Ns3CsmaHelper_methods(root_module, cls): cls.add_method('SetQueue', 'void', [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()')]) - ## csma-helper.h: void ns3::CsmaHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd) [member function] + ## csma-helper.h: void ns3::CsmaHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd) [member function] cls.add_method('EnableAsciiInternal', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')], visibility='private', is_virtual=True) ## csma-helper.h: void ns3::CsmaHelper::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous=false) [member function] cls.add_method('EnablePcapInternal', @@ -1917,10 +2105,10 @@ def register_Ns3EmuHelper_methods(root_module, cls): cls.add_method('SetQueue', 'void', [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()')]) - ## emu-helper.h: void ns3::EmuHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd) [member function] + ## emu-helper.h: void ns3::EmuHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd) [member function] cls.add_method('EnableAsciiInternal', 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')], + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')], visibility='private', is_virtual=True) ## emu-helper.h: void ns3::EmuHelper::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous=false) [member function] cls.add_method('EnablePcapInternal', @@ -1929,6 +2117,81 @@ def register_Ns3EmuHelper_methods(root_module, cls): visibility='private', is_virtual=True) return +def register_Ns3InternetStackHelper_methods(root_module, cls): + ## internet-stack-helper.h: ns3::InternetStackHelper::InternetStackHelper() [constructor] + cls.add_constructor([]) + ## internet-stack-helper.h: ns3::InternetStackHelper::InternetStackHelper(ns3::InternetStackHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::InternetStackHelper const &', 'arg0')]) + ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(std::string nodeName) const [member function] + cls.add_method('Install', + 'void', + [param('std::string', 'nodeName')], + is_const=True) + ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(ns3::Ptr node) const [member function] + cls.add_method('Install', + 'void', + [param('ns3::Ptr< ns3::Node >', 'node')], + is_const=True) + ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(ns3::NodeContainer c) const [member function] + cls.add_method('Install', + 'void', + [param('ns3::NodeContainer', 'c')], + is_const=True) + ## internet-stack-helper.h: void ns3::InternetStackHelper::InstallAll() const [member function] + cls.add_method('InstallAll', + 'void', + [], + is_const=True) + ## internet-stack-helper.h: void ns3::InternetStackHelper::Reset() [member function] + cls.add_method('Reset', + 'void', + []) + ## internet-stack-helper.h: void ns3::InternetStackHelper::SetIpv4StackInstall(bool enable) [member function] + cls.add_method('SetIpv4StackInstall', + 'void', + [param('bool', 'enable')]) + ## internet-stack-helper.h: void ns3::InternetStackHelper::SetIpv6StackInstall(bool enable) [member function] + cls.add_method('SetIpv6StackInstall', + 'void', + [param('bool', 'enable')]) + ## internet-stack-helper.h: void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv4RoutingHelper const & routing) [member function] + cls.add_method('SetRoutingHelper', + 'void', + [param('ns3::Ipv4RoutingHelper const &', 'routing')]) + ## internet-stack-helper.h: void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv6RoutingHelper const & routing) [member function] + cls.add_method('SetRoutingHelper', + 'void', + [param('ns3::Ipv6RoutingHelper const &', 'routing')]) + ## internet-stack-helper.h: void ns3::InternetStackHelper::SetTcp(std::string tid) [member function] + cls.add_method('SetTcp', + 'void', + [param('std::string', 'tid')]) + ## internet-stack-helper.h: void ns3::InternetStackHelper::SetTcp(std::string tid, std::string attr, ns3::AttributeValue const & val) [member function] + cls.add_method('SetTcp', + 'void', + [param('std::string', 'tid'), param('std::string', 'attr'), param('ns3::AttributeValue const &', 'val')]) + ## internet-stack-helper.h: void ns3::InternetStackHelper::EnableAsciiIpv4Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv4, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv4Internal', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')], + visibility='private', is_virtual=True) + ## internet-stack-helper.h: void ns3::InternetStackHelper::EnableAsciiIpv6Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] + cls.add_method('EnableAsciiIpv6Internal', + 'void', + [param('ns3::Ptr< ns3::OutputStreamKeeper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')], + visibility='private', is_virtual=True) + ## internet-stack-helper.h: void ns3::InternetStackHelper::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr ipv4, uint32_t interface) [member function] + cls.add_method('EnablePcapIpv4Internal', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')], + visibility='private', is_virtual=True) + ## internet-stack-helper.h: void ns3::InternetStackHelper::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] + cls.add_method('EnablePcapIpv6Internal', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')], + visibility='private', is_virtual=True) + return + def register_Ns3Ipv4GlobalRoutingHelper_methods(root_module, cls): ## ipv4-global-routing-helper.h: ns3::Ipv4GlobalRoutingHelper::Ipv4GlobalRoutingHelper() [constructor] cls.add_constructor([]) @@ -2036,151 +2299,6 @@ def register_Ns3NqosWifiMacHelper_methods(root_module, cls): is_const=True, visibility='private', is_virtual=True) return -def register_Ns3PcapAndAsciiHelperForIpv4_methods(root_module, cls): - ## trace-helper.h: ns3::PcapAndAsciiHelperForIpv4::PcapAndAsciiHelperForIpv4() [constructor] - cls.add_constructor([]) - ## trace-helper.h: ns3::PcapAndAsciiHelperForIpv4::PcapAndAsciiHelperForIpv4(ns3::PcapAndAsciiHelperForIpv4 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PcapAndAsciiHelperForIpv4 const &', 'arg0')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ptr ipv4, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::Ptr ipv4, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4(std::string prefix, std::string ipv4Name, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, std::string ipv4Name, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::Ipv4InterfaceContainer c) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('ns3::Ipv4InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::NodeContainer n) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::NodeContainer n) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4(std::string prefix, uint32_t nodeid, uint32_t deviceid) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, uint32_t nodeid, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4All(std::string prefix) [member function] - cls.add_method('EnableAsciiIpv4All', - 'void', - [param('std::string', 'prefix')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4All(ns3::Ptr stream) [member function] - cls.add_method('EnableAsciiIpv4All', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4::EnableAsciiIpv4Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv4, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv4Internal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6_methods(root_module, cls): - ## trace-helper.h: ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6() [constructor] - cls.add_constructor([]) - ## trace-helper.h: ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6(ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6 const &', 'arg0')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] - cls.add_method('EnablePcapIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6::EnablePcapIpv6(std::string prefix, std::string ipv6Name, uint32_t interface) [member function] - cls.add_method('EnablePcapIpv6', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function] - cls.add_method('EnablePcapIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::NodeContainer n) [member function] - cls.add_method('EnablePcapIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6::EnablePcapIpv6(std::string prefix, uint32_t nodeid, uint32_t interface) [member function] - cls.add_method('EnablePcapIpv6', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6::EnablePcapIpv6All(std::string prefix) [member function] - cls.add_method('EnablePcapIpv6All', - 'void', - [param('std::string', 'prefix')]) - ## trace-helper.h: void ns3::PcapAndAsciiHelperForIpv4AndPcapHelperForIpv6::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] - cls.add_method('EnablePcapIpv6Internal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3PointToPointHelper_methods(root_module, cls): - ## point-to-point-helper.h: ns3::PointToPointHelper::PointToPointHelper(ns3::PointToPointHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PointToPointHelper const &', 'arg0')]) - ## point-to-point-helper.h: ns3::PointToPointHelper::PointToPointHelper() [constructor] - cls.add_constructor([]) - ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::NodeContainer c) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c')]) - ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr a, ns3::Ptr b) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'a'), param('ns3::Ptr< ns3::Node >', 'b')]) - ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr a, std::string bName) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'a'), param('std::string', 'bName')]) - ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aName, ns3::Ptr b) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'aName'), param('ns3::Ptr< ns3::Node >', 'b')]) - ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aNode, std::string bNode) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'aNode'), param('std::string', 'bNode')]) - ## point-to-point-helper.h: void ns3::PointToPointHelper::SetChannelAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetChannelAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## point-to-point-helper.h: void ns3::PointToPointHelper::SetDeviceAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetDeviceAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## point-to-point-helper.h: void ns3::PointToPointHelper::SetQueue(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetQueue', - 'void', - [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()')]) - ## point-to-point-helper.h: void ns3::PointToPointHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd) [member function] - cls.add_method('EnableAsciiInternal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd')], - visibility='private', is_virtual=True) - ## point-to-point-helper.h: void ns3::PointToPointHelper::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous=false) [member function] - cls.add_method('EnablePcapInternal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous', default_value='false')], - visibility='private', is_virtual=True) - return - def register_Ns3QosWifiMacHelper_methods(root_module, cls): ## qos-wifi-mac-helper.h: ns3::QosWifiMacHelper::QosWifiMacHelper(ns3::QosWifiMacHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::QosWifiMacHelper const &', 'arg0')]) @@ -2206,66 +2324,6 @@ def register_Ns3QosWifiMacHelper_methods(root_module, cls): is_const=True, visibility='private', is_virtual=True) return -def register_Ns3TraceHelperForProtocol_methods(root_module, cls): - ## trace-helper.h: ns3::TraceHelperForProtocol::TraceHelperForProtocol() [constructor] - cls.add_constructor([]) - ## trace-helper.h: ns3::TraceHelperForProtocol::TraceHelperForProtocol(ns3::TraceHelperForProtocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TraceHelperForProtocol const &', 'arg0')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6(std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6(ns3::Ptr stream, ns3::Ptr ipv6, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6(std::string prefix, std::string ipv6Name, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6(ns3::Ptr stream, std::string ipv6Name, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6(ns3::Ptr stream, ns3::Ipv6InterfaceContainer c) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('ns3::Ipv6InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6(std::string prefix, ns3::NodeContainer n) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6(ns3::Ptr stream, ns3::NodeContainer n) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6(std::string prefix, uint32_t nodeid, uint32_t deviceid) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6(ns3::Ptr stream, uint32_t nodeid, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6All(std::string prefix) [member function] - cls.add_method('EnableAsciiIpv6All', - 'void', - [param('std::string', 'prefix')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6All(ns3::Ptr stream) [member function] - cls.add_method('EnableAsciiIpv6All', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream')]) - ## trace-helper.h: void ns3::TraceHelperForProtocol::EnableAsciiIpv6Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv6Internal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - return - def register_Ns3AthstatsWifiTraceSink_methods(root_module, cls): ## athstats-helper.h: ns3::AthstatsWifiTraceSink::AthstatsWifiTraceSink(ns3::AthstatsWifiTraceSink const & arg0) [copy constructor] cls.add_constructor([param('ns3::AthstatsWifiTraceSink const &', 'arg0')]) @@ -2343,81 +2401,6 @@ def register_Ns3CanvasLocation_methods(root_module, cls): [param('ns3::Vector const &', 'location')]) return -def register_Ns3InternetStackHelper_methods(root_module, cls): - ## internet-stack-helper.h: ns3::InternetStackHelper::InternetStackHelper() [constructor] - cls.add_constructor([]) - ## internet-stack-helper.h: ns3::InternetStackHelper::InternetStackHelper(ns3::InternetStackHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::InternetStackHelper const &', 'arg0')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'void', - [param('std::string', 'nodeName')], - is_const=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'void', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::InstallAll() const [member function] - cls.add_method('InstallAll', - 'void', - [], - is_const=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::Reset() [member function] - cls.add_method('Reset', - 'void', - []) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetIpv4StackInstall(bool enable) [member function] - cls.add_method('SetIpv4StackInstall', - 'void', - [param('bool', 'enable')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetIpv6StackInstall(bool enable) [member function] - cls.add_method('SetIpv6StackInstall', - 'void', - [param('bool', 'enable')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv4RoutingHelper const & routing) [member function] - cls.add_method('SetRoutingHelper', - 'void', - [param('ns3::Ipv4RoutingHelper const &', 'routing')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv6RoutingHelper const & routing) [member function] - cls.add_method('SetRoutingHelper', - 'void', - [param('ns3::Ipv6RoutingHelper const &', 'routing')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetTcp(std::string tid) [member function] - cls.add_method('SetTcp', - 'void', - [param('std::string', 'tid')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetTcp(std::string tid, std::string attr, ns3::AttributeValue const & val) [member function] - cls.add_method('SetTcp', - 'void', - [param('std::string', 'tid'), param('std::string', 'attr'), param('ns3::AttributeValue const &', 'val')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::EnableAsciiIpv4Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv4, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv4Internal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')], - visibility='private', is_virtual=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::EnableAsciiIpv6Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv6Internal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamObject >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')], - visibility='private', is_virtual=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr ipv4, uint32_t interface) [member function] - cls.add_method('EnablePcapIpv4Internal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')], - visibility='private', is_virtual=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr ipv6, uint32_t interface) [member function] - cls.add_method('EnablePcapIpv6Internal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')], - visibility='private', is_virtual=True) - return - def register_Ns3MeshStack_methods(root_module, cls): ## mesh-stack-installer.h: ns3::MeshStack::MeshStack() [constructor] cls.add_constructor([]) diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_mobility.py b/bindings/python/apidefs/gcc-LP64/ns3_module_mobility.py index f52a3df35..2eedc731d 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_mobility.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_mobility.py @@ -39,6 +39,8 @@ def register_types(module): module.add_class('RectangleChecker', parent=root_module['ns3::AttributeChecker']) ## rectangle.h: ns3::RectangleValue [class] module.add_class('RectangleValue', parent=root_module['ns3::AttributeValue']) + ## steady-state-random-waypoint-mobility-model.h: ns3::SteadyStateRandomWaypointMobilityModel [class] + module.add_class('SteadyStateRandomWaypointMobilityModel', parent=root_module['ns3::MobilityModel']) ## waypoint.h: ns3::WaypointChecker [class] module.add_class('WaypointChecker', parent=root_module['ns3::AttributeChecker']) ## waypoint-mobility-model.h: ns3::WaypointMobilityModel [class] @@ -150,6 +152,7 @@ def register_methods(root_module): 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_Ns3SteadyStateRandomWaypointMobilityModel_methods(root_module, root_module['ns3::SteadyStateRandomWaypointMobilityModel']) 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']) @@ -646,6 +649,38 @@ def register_Ns3RectangleValue_methods(root_module, cls): [param('ns3::Rectangle const &', 'value')]) return +def register_Ns3SteadyStateRandomWaypointMobilityModel_methods(root_module, cls): + ## steady-state-random-waypoint-mobility-model.h: ns3::SteadyStateRandomWaypointMobilityModel::SteadyStateRandomWaypointMobilityModel(ns3::SteadyStateRandomWaypointMobilityModel const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SteadyStateRandomWaypointMobilityModel const &', 'arg0')]) + ## steady-state-random-waypoint-mobility-model.h: ns3::SteadyStateRandomWaypointMobilityModel::SteadyStateRandomWaypointMobilityModel() [constructor] + cls.add_constructor([]) + ## steady-state-random-waypoint-mobility-model.h: static ns3::TypeId ns3::SteadyStateRandomWaypointMobilityModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## steady-state-random-waypoint-mobility-model.h: void ns3::SteadyStateRandomWaypointMobilityModel::DoStart() [member function] + cls.add_method('DoStart', + 'void', + [], + visibility='protected', is_virtual=True) + ## steady-state-random-waypoint-mobility-model.h: ns3::Vector ns3::SteadyStateRandomWaypointMobilityModel::DoGetPosition() const [member function] + cls.add_method('DoGetPosition', + 'ns3::Vector', + [], + is_const=True, visibility='private', is_virtual=True) + ## steady-state-random-waypoint-mobility-model.h: ns3::Vector ns3::SteadyStateRandomWaypointMobilityModel::DoGetVelocity() const [member function] + cls.add_method('DoGetVelocity', + 'ns3::Vector', + [], + is_const=True, visibility='private', is_virtual=True) + ## steady-state-random-waypoint-mobility-model.h: void ns3::SteadyStateRandomWaypointMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] + cls.add_method('DoSetPosition', + 'void', + [param('ns3::Vector const &', 'position')], + visibility='private', is_virtual=True) + return + def register_Ns3WaypointChecker_methods(root_module, cls): ## waypoint.h: ns3::WaypointChecker::WaypointChecker() [constructor] cls.add_constructor([]) diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_node.py b/bindings/python/apidefs/gcc-LP64/ns3_module_node.py index 6689c22e2..26d826bff 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_node.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_node.py @@ -76,41 +76,9 @@ def register_types(module): ## radiotap-header.h: ns3::RadiotapHeader [class] module.add_class('RadiotapHeader', parent=root_module['ns3::Header']) ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['FRAME_FLAG_NONE'], outer_class=root_module['ns3::RadiotapHeader']) + module.add_enum('', ['FRAME_FLAG_NONE', 'FRAME_FLAG_CFP', 'FRAME_FLAG_SHORT_PREAMBLE', 'FRAME_FLAG_WEP', 'FRAME_FLAG_FRAGMENTED', 'FRAME_FLAG_FCS_INCLUDED', 'FRAME_FLAG_DATA_PADDING', 'FRAME_FLAG_BAD_FCS', 'FRAME_FLAG_SHORT_GUARD'], outer_class=root_module['ns3::RadiotapHeader']) ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['FRAME_FLAG_CFP'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['FRAME_FLAG_SHORT_PREAMBLE'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['FRAME_FLAG_WEP'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['FRAME_FLAG_FRAGMENTED'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['FRAME_FLAG_FCS_INCLUDED'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['FRAME_FLAG_DATA_PADDING'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['FRAME_FLAG_BAD_FCS'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['FRAME_FLAG_SHORT_GUARD'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['CHANNEL_FLAG_NONE'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['CHANNEL_FLAG_TURBO'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['CHANNEL_FLAG_CCK'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['CHANNEL_FLAG_OFDM'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['CHANNEL_FLAG_SPECTRUM_2GHZ'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['CHANNEL_FLAG_SPECTRUM_5GHZ'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['CHANNEL_FLAG_PASSIVE'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['CHANNEL_FLAG_DYNAMIC'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['CHANNEL_FLAG_GFSK'], outer_class=root_module['ns3::RadiotapHeader']) + module.add_enum('', ['CHANNEL_FLAG_NONE', 'CHANNEL_FLAG_TURBO', 'CHANNEL_FLAG_CCK', 'CHANNEL_FLAG_OFDM', 'CHANNEL_FLAG_SPECTRUM_2GHZ', 'CHANNEL_FLAG_SPECTRUM_5GHZ', 'CHANNEL_FLAG_PASSIVE', 'CHANNEL_FLAG_DYNAMIC', 'CHANNEL_FLAG_GFSK'], outer_class=root_module['ns3::RadiotapHeader']) ## simple-ref-count.h: ns3::SimpleRefCount > [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::Ipv4MulticastRoute', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simple-ref-count.h: ns3::SimpleRefCount > [class]