From fcf182c8f83fe1e421150d8b516e34da66b5ad66 Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Fri, 18 Feb 2011 16:51:38 -0800 Subject: [PATCH] rescan bindings --- .../apidefs/gcc-ILP32/ns3_module_contrib.py | 18 + .../apidefs/gcc-ILP32/ns3_module_core.py | 1608 +++++++++++++++ .../apidefs/gcc-ILP32/ns3_module_simulator.py | 1749 ----------------- .../apidefs/gcc-ILP32/ns3_module_stats.py | 20 + .../gcc-ILP32/ns3modulegen_generated.py | 170 +- .../apidefs/gcc-LP64/ns3_module_contrib.py | 18 + .../apidefs/gcc-LP64/ns3_module_core.py | 1608 +++++++++++++++ .../apidefs/gcc-LP64/ns3_module_simulator.py | 1749 ----------------- .../apidefs/gcc-LP64/ns3_module_stats.py | 20 + .../gcc-LP64/ns3modulegen_generated.py | 170 +- 10 files changed, 3428 insertions(+), 3702 deletions(-) delete mode 100644 bindings/python/apidefs/gcc-ILP32/ns3_module_simulator.py delete mode 100644 bindings/python/apidefs/gcc-LP64/ns3_module_simulator.py diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_contrib.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_contrib.py index c71e3b90b..a58d25fd8 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_contrib.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_contrib.py @@ -17,6 +17,8 @@ def register_types(module): module.add_class('GnuplotCollection') ## gnuplot.h: ns3::GnuplotDataset [class] module.add_class('GnuplotDataset') + ## gtk-config-store.h: ns3::GtkConfigStore [class] + module.add_class('GtkConfigStore') ## file-config.h: ns3::NoneFileConfig [class] module.add_class('NoneFileConfig', parent=root_module['ns3::FileConfig']) ## config-store.h: ns3::ConfigStore [class] @@ -138,6 +140,7 @@ def register_methods(root_module): register_Ns3Gnuplot_methods(root_module, root_module['ns3::Gnuplot']) register_Ns3GnuplotCollection_methods(root_module, root_module['ns3::GnuplotCollection']) register_Ns3GnuplotDataset_methods(root_module, root_module['ns3::GnuplotDataset']) + register_Ns3GtkConfigStore_methods(root_module, root_module['ns3::GtkConfigStore']) register_Ns3NoneFileConfig_methods(root_module, root_module['ns3::NoneFileConfig']) register_Ns3ConfigStore_methods(root_module, root_module['ns3::ConfigStore']) register_Ns3FlowIdTag_methods(root_module, root_module['ns3::FlowIdTag']) @@ -362,6 +365,21 @@ def register_Ns3GnuplotDataset_methods(root_module, cls): visibility='protected') return +def register_Ns3GtkConfigStore_methods(root_module, cls): + ## gtk-config-store.h: ns3::GtkConfigStore::GtkConfigStore(ns3::GtkConfigStore const & arg0) [copy constructor] + cls.add_constructor([param('ns3::GtkConfigStore const &', 'arg0')]) + ## gtk-config-store.h: ns3::GtkConfigStore::GtkConfigStore() [constructor] + cls.add_constructor([]) + ## gtk-config-store.h: void ns3::GtkConfigStore::ConfigureAttributes() [member function] + cls.add_method('ConfigureAttributes', + 'void', + []) + ## gtk-config-store.h: void ns3::GtkConfigStore::ConfigureDefaults() [member function] + cls.add_method('ConfigureDefaults', + 'void', + []) + return + def register_Ns3NoneFileConfig_methods(root_module, cls): ## file-config.h: ns3::NoneFileConfig::NoneFileConfig(ns3::NoneFileConfig const & arg0) [copy constructor] cls.add_constructor([param('ns3::NoneFileConfig const &', 'arg0')]) diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py index 71751dbd1..9c196294f 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py @@ -13,8 +13,12 @@ def register_types(module): module.add_class('CommandLine', allow_subclassing=True) ## system-mutex.h: ns3::CriticalSection [class] module.add_class('CriticalSection') + ## event-id.h: ns3::EventId [class] + module.add_class('EventId') ## global-value.h: ns3::GlobalValue [class] module.add_class('GlobalValue') + ## high-precision-double.h: ns3::HighPrecision [class] + module.add_class('HighPrecision') ## int-to-type.h: ns3::IntToType<0> [struct] module.add_class('IntToType', template_parameters=['0']) ## int-to-type.h: ns3::IntToType<0>::v_e [enumeration] @@ -61,6 +65,8 @@ def register_types(module): module.add_class('SequentialVariable', parent=root_module['ns3::RandomVariable']) ## simple-ref-count.h: ns3::SimpleRefCount [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) + ## simulator.h: ns3::Simulator [class] + module.add_class('Simulator', is_singleton=True) ## system-condition.h: ns3::SystemCondition [class] module.add_class('SystemCondition') ## system-mutex.h: ns3::SystemMutex [class] @@ -75,8 +81,28 @@ def register_types(module): module.add_class('TestSuite', allow_subclassing=True) ## test.h: ns3::TestSuite::TestType [enumeration] module.add_enum('TestType', ['BVT', 'UNIT', 'SYSTEM', 'EXAMPLE', 'PERFORMANCE'], outer_class=root_module['ns3::TestSuite']) + ## nstime.h: ns3::Time [class] + module.add_class('Time') + ## nstime.h: ns3::Time::Unit [enumeration] + module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time']) + ## time-base.h: ns3::TimeBase [class] + module.add_class('TimeBase') + ## time-base.h: ns3::TimeBase::Unit [enumeration] + module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::TimeBase']) + ## timer.h: ns3::Timer [class] + module.add_class('Timer') + ## timer.h: ns3::Timer::DestroyPolicy [enumeration] + module.add_enum('DestroyPolicy', ['CANCEL_ON_DESTROY', 'REMOVE_ON_DESTROY', 'CHECK_ON_DESTROY'], outer_class=root_module['ns3::Timer']) + ## timer.h: ns3::Timer::State [enumeration] + module.add_enum('State', ['RUNNING', 'EXPIRED', 'SUSPENDED'], outer_class=root_module['ns3::Timer']) + ## timer-impl.h: ns3::TimerImpl [class] + module.add_class('TimerImpl', allow_subclassing=True) ## traced-value.h: ns3::TracedValue [class] module.add_class('TracedValue', template_parameters=['double']) + ## traced-value.h: ns3::TracedValue [class] + module.add_class('TracedValue', template_parameters=['ns3::Time']) + ## traced-value.h: ns3::TracedValue [class] + root_module['ns3::TracedValue< ns3::Time >'].implicitly_converts_to(root_module['ns3::Time']) ## random-variable.h: ns3::TriangularVariable [class] module.add_class('TriangularVariable', parent=root_module['ns3::RandomVariable']) ## type-id.h: ns3::TypeId [class] @@ -93,6 +119,8 @@ def register_types(module): module.add_class('Vector2D') ## vector.h: ns3::Vector3D [class] module.add_class('Vector3D') + ## watchdog.h: ns3::Watchdog [class] + module.add_class('Watchdog') ## random-variable.h: ns3::WeibullVariable [class] module.add_class('WeibullVariable', parent=root_module['ns3::RandomVariable']) ## random-variable.h: ns3::ZetaVariable [class] @@ -125,6 +153,16 @@ def register_types(module): module.add_class('AggregateIterator', outer_class=root_module['ns3::Object']) ## random-variable.h: ns3::ParetoVariable [class] module.add_class('ParetoVariable', parent=root_module['ns3::RandomVariable']) + ## nstime.h: ns3::Scalar [class] + module.add_class('Scalar') + ## nstime.h: ns3::Scalar [class] + root_module['ns3::Scalar'].implicitly_converts_to(root_module['ns3::Time']) + ## scheduler.h: ns3::Scheduler [class] + module.add_class('Scheduler', parent=root_module['ns3::Object']) + ## scheduler.h: ns3::Scheduler::Event [struct] + module.add_class('Event', outer_class=root_module['ns3::Scheduler']) + ## scheduler.h: ns3::Scheduler::EventKey [struct] + module.add_class('EventKey', outer_class=root_module['ns3::Scheduler']) ## simple-ref-count.h: ns3::SimpleRefCount > [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::AttributeAccessor', '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] @@ -133,16 +171,26 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::AttributeValue', '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::CallbackImplBase', '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::EventImpl', '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::FdReader', '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::RefCountBase', '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::SystemThread', '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::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) + ## simulator-impl.h: ns3::SimulatorImpl [class] + module.add_class('SimulatorImpl', parent=root_module['ns3::Object']) + ## synchronizer.h: ns3::Synchronizer [class] + module.add_class('Synchronizer', parent=root_module['ns3::Object']) ## system-thread.h: ns3::SystemThread [class] module.add_class('SystemThread', parent=root_module['ns3::SimpleRefCount< ns3::SystemThread, ns3::empty, ns3::DefaultDeleter >']) ## trace-source-accessor.h: ns3::TraceSourceAccessor [class] module.add_class('TraceSourceAccessor', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) + ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer [class] + module.add_class('WallClockSynchronizer', parent=root_module['ns3::Synchronizer']) ## attribute.h: ns3::AttributeAccessor [class] module.add_class('AttributeAccessor', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) ## attribute.h: ns3::AttributeChecker [class] @@ -153,12 +201,16 @@ def register_types(module): module.add_class('BooleanChecker', parent=root_module['ns3::AttributeChecker']) ## boolean.h: ns3::BooleanValue [class] module.add_class('BooleanValue', parent=root_module['ns3::AttributeValue']) + ## calendar-scheduler.h: ns3::CalendarScheduler [class] + module.add_class('CalendarScheduler', parent=root_module['ns3::Scheduler']) ## callback.h: ns3::CallbackChecker [class] module.add_class('CallbackChecker', parent=root_module['ns3::AttributeChecker']) ## callback.h: ns3::CallbackImplBase [class] module.add_class('CallbackImplBase', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter >']) ## callback.h: ns3::CallbackValue [class] module.add_class('CallbackValue', parent=root_module['ns3::AttributeValue']) + ## default-simulator-impl.h: ns3::DefaultSimulatorImpl [class] + module.add_class('DefaultSimulatorImpl', parent=root_module['ns3::SimulatorImpl']) ## double.h: ns3::DoubleValue [class] module.add_class('DoubleValue', parent=root_module['ns3::AttributeValue']) ## attribute.h: ns3::EmptyAttributeValue [class] @@ -167,8 +219,20 @@ def register_types(module): module.add_class('EnumChecker', parent=root_module['ns3::AttributeChecker']) ## enum.h: ns3::EnumValue [class] module.add_class('EnumValue', parent=root_module['ns3::AttributeValue']) + ## event-impl.h: ns3::EventImpl [class] + module.add_class('EventImpl', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >']) + ## unix-fd-reader.h: ns3::FdReader [class] + module.add_class('FdReader', parent=root_module['ns3::SimpleRefCount< ns3::FdReader, ns3::empty, ns3::DefaultDeleter >']) + ## heap-scheduler.h: ns3::HeapScheduler [class] + module.add_class('HeapScheduler', parent=root_module['ns3::Scheduler']) ## integer.h: ns3::IntegerValue [class] module.add_class('IntegerValue', parent=root_module['ns3::AttributeValue']) + ## list-scheduler.h: ns3::ListScheduler [class] + module.add_class('ListScheduler', parent=root_module['ns3::Scheduler']) + ## map-scheduler.h: ns3::MapScheduler [class] + module.add_class('MapScheduler', parent=root_module['ns3::Scheduler']) + ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler [class] + module.add_class('Ns2CalendarScheduler', parent=root_module['ns3::Scheduler']) ## object-factory.h: ns3::ObjectFactoryChecker [class] module.add_class('ObjectFactoryChecker', parent=root_module['ns3::AttributeChecker']) ## object-factory.h: ns3::ObjectFactoryValue [class] @@ -187,12 +251,20 @@ def register_types(module): module.add_class('RandomVariableChecker', parent=root_module['ns3::AttributeChecker']) ## random-variable.h: ns3::RandomVariableValue [class] module.add_class('RandomVariableValue', parent=root_module['ns3::AttributeValue']) + ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl [class] + module.add_class('RealtimeSimulatorImpl', parent=root_module['ns3::SimulatorImpl']) + ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode [enumeration] + module.add_enum('SynchronizationMode', ['SYNC_BEST_EFFORT', 'SYNC_HARD_LIMIT'], outer_class=root_module['ns3::RealtimeSimulatorImpl']) ## ref-count-base.h: ns3::RefCountBase [class] module.add_class('RefCountBase', parent=root_module['ns3::SimpleRefCount< ns3::RefCountBase, ns3::empty, ns3::DefaultDeleter >']) ## string.h: ns3::StringChecker [class] module.add_class('StringChecker', parent=root_module['ns3::AttributeChecker']) ## string.h: ns3::StringValue [class] module.add_class('StringValue', parent=root_module['ns3::AttributeValue']) + ## nstime.h: ns3::TimeChecker [class] + module.add_class('TimeChecker', parent=root_module['ns3::AttributeChecker']) + ## nstime.h: ns3::TimeValue [class] + module.add_class('TimeValue', parent=root_module['ns3::AttributeValue']) ## type-id.h: ns3::TypeIdChecker [class] module.add_class('TypeIdChecker', parent=root_module['ns3::AttributeChecker']) ## type-id.h: ns3::TypeIdValue [class] @@ -222,10 +294,18 @@ def register_types(module): module.add_container('std::list< ns3::Ptr< ns3::UanTransducer > >', 'ns3::Ptr< ns3::UanTransducer >', container_type='list') module.add_container('std::vector< ns3::Ptr< ns3::NetDevice > >', 'ns3::Ptr< ns3::NetDevice >', container_type='vector') module.add_container('std::vector< ns3::Ptr< ns3::SpectrumPhy > >', 'ns3::Ptr< ns3::SpectrumPhy >', container_type='vector') + typehandlers.add_type_alias('ns3::Time', 'ns3::TimeInvert') + typehandlers.add_type_alias('ns3::Time*', 'ns3::TimeInvert*') + typehandlers.add_type_alias('ns3::Time&', 'ns3::TimeInvert&') + module.add_typedef(root_module['ns3::Time'], 'TimeInvert') typehandlers.add_type_alias('ns3::Vector3DChecker', 'ns3::VectorChecker') typehandlers.add_type_alias('ns3::Vector3DChecker*', 'ns3::VectorChecker*') typehandlers.add_type_alias('ns3::Vector3DChecker&', 'ns3::VectorChecker&') module.add_typedef(root_module['ns3::Vector3DChecker'], 'VectorChecker') + typehandlers.add_type_alias('ns3::Time', 'ns3::TimeSquare') + typehandlers.add_type_alias('ns3::Time*', 'ns3::TimeSquare*') + typehandlers.add_type_alias('ns3::Time&', 'ns3::TimeSquare&') + module.add_typedef(root_module['ns3::Time'], 'TimeSquare') typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector') typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*') typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&') @@ -335,7 +415,9 @@ def register_methods(root_module): register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) register_Ns3CommandLine_methods(root_module, root_module['ns3::CommandLine']) register_Ns3CriticalSection_methods(root_module, root_module['ns3::CriticalSection']) + register_Ns3EventId_methods(root_module, root_module['ns3::EventId']) register_Ns3GlobalValue_methods(root_module, root_module['ns3::GlobalValue']) + register_Ns3HighPrecision_methods(root_module, root_module['ns3::HighPrecision']) register_Ns3IntToType__0_methods(root_module, root_module['ns3::IntToType< 0 >']) register_Ns3IntToType__1_methods(root_module, root_module['ns3::IntToType< 1 >']) register_Ns3IntToType__2_methods(root_module, root_module['ns3::IntToType< 2 >']) @@ -352,12 +434,17 @@ def register_methods(root_module): register_Ns3SeedManager_methods(root_module, root_module['ns3::SeedManager']) register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable']) register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) + register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) register_Ns3SystemCondition_methods(root_module, root_module['ns3::SystemCondition']) register_Ns3SystemMutex_methods(root_module, root_module['ns3::SystemMutex']) register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs']) register_Ns3TestCase_methods(root_module, root_module['ns3::TestCase']) register_Ns3TestRunner_methods(root_module, root_module['ns3::TestRunner']) register_Ns3TestSuite_methods(root_module, root_module['ns3::TestSuite']) + register_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TimeBase_methods(root_module, root_module['ns3::TimeBase']) + register_Ns3Timer_methods(root_module, root_module['ns3::Timer']) + register_Ns3TimerImpl_methods(root_module, root_module['ns3::TimerImpl']) register_Ns3TracedValue__Double_methods(root_module, root_module['ns3::TracedValue< double >']) register_Ns3TracedValue__Ns3Time_methods(root_module, root_module['ns3::TracedValue< ns3::Time >']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) @@ -367,6 +454,7 @@ def register_methods(root_module): register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) + register_Ns3Watchdog_methods(root_module, root_module['ns3::Watchdog']) register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable']) register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable']) @@ -383,6 +471,10 @@ 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_Ns3Scalar_methods(root_module, root_module['ns3::Scalar']) + register_Ns3Scheduler_methods(root_module, root_module['ns3::Scheduler']) + register_Ns3SchedulerEvent_methods(root_module, root_module['ns3::Scheduler::Event']) + register_Ns3SchedulerEventKey_methods(root_module, root_module['ns3::Scheduler::EventKey']) 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 >']) @@ -415,21 +507,32 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3Dot11sIeBeaconTimingUnit_Ns3Empty_Ns3DefaultDeleter__lt__ns3Dot11sIeBeaconTimingUnit__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::dot11s::IeBeaconTimingUnit, ns3::empty, ns3::DefaultDeleter >']) + register_Ns3SimulatorImpl_methods(root_module, root_module['ns3::SimulatorImpl']) + register_Ns3Synchronizer_methods(root_module, root_module['ns3::Synchronizer']) register_Ns3SystemThread_methods(root_module, root_module['ns3::SystemThread']) register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) + register_Ns3WallClockSynchronizer_methods(root_module, root_module['ns3::WallClockSynchronizer']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker']) register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue']) register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker']) register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue']) + register_Ns3CalendarScheduler_methods(root_module, root_module['ns3::CalendarScheduler']) register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker']) register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase']) register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue']) + register_Ns3DefaultSimulatorImpl_methods(root_module, root_module['ns3::DefaultSimulatorImpl']) register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue']) register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue']) register_Ns3EnumChecker_methods(root_module, root_module['ns3::EnumChecker']) register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue']) + register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) + register_Ns3FdReader_methods(root_module, root_module['ns3::FdReader']) + register_Ns3HeapScheduler_methods(root_module, root_module['ns3::HeapScheduler']) register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue']) + register_Ns3ListScheduler_methods(root_module, root_module['ns3::ListScheduler']) + register_Ns3MapScheduler_methods(root_module, root_module['ns3::MapScheduler']) + register_Ns3Ns2CalendarScheduler_methods(root_module, root_module['ns3::Ns2CalendarScheduler']) register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker']) register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue']) register_Ns3ObjectVectorAccessor_methods(root_module, root_module['ns3::ObjectVectorAccessor']) @@ -439,9 +542,12 @@ def register_methods(root_module): register_Ns3PointerValue_methods(root_module, root_module['ns3::PointerValue']) register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker']) register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue']) + register_Ns3RealtimeSimulatorImpl_methods(root_module, root_module['ns3::RealtimeSimulatorImpl']) register_Ns3RefCountBase_methods(root_module, root_module['ns3::RefCountBase']) register_Ns3StringChecker_methods(root_module, root_module['ns3::StringChecker']) register_Ns3StringValue_methods(root_module, root_module['ns3::StringValue']) + register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker']) + register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue']) register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker']) register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue']) register_Ns3UintegerValue_methods(root_module, root_module['ns3::UintegerValue']) @@ -527,6 +633,51 @@ def register_Ns3CriticalSection_methods(root_module, cls): cls.add_constructor([param('ns3::SystemMutex &', 'mutex')]) return +def register_Ns3EventId_methods(root_module, cls): + cls.add_binary_comparison_operator('!=') + cls.add_binary_comparison_operator('==') + ## event-id.h: ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor] + cls.add_constructor([param('ns3::EventId const &', 'arg0')]) + ## event-id.h: ns3::EventId::EventId() [constructor] + cls.add_constructor([]) + ## event-id.h: ns3::EventId::EventId(ns3::Ptr const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor] + cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')]) + ## event-id.h: void ns3::EventId::Cancel() [member function] + cls.add_method('Cancel', + 'void', + []) + ## event-id.h: uint32_t ns3::EventId::GetContext() const [member function] + cls.add_method('GetContext', + 'uint32_t', + [], + is_const=True) + ## event-id.h: uint64_t ns3::EventId::GetTs() const [member function] + cls.add_method('GetTs', + 'uint64_t', + [], + is_const=True) + ## event-id.h: uint32_t ns3::EventId::GetUid() const [member function] + cls.add_method('GetUid', + 'uint32_t', + [], + is_const=True) + ## event-id.h: bool ns3::EventId::IsExpired() const [member function] + cls.add_method('IsExpired', + 'bool', + [], + is_const=True) + ## event-id.h: bool ns3::EventId::IsRunning() const [member function] + cls.add_method('IsRunning', + 'bool', + [], + is_const=True) + ## event-id.h: ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function] + cls.add_method('PeekEventImpl', + 'ns3::EventImpl *', + [], + is_const=True) + return + def register_Ns3GlobalValue_methods(root_module, cls): ## global-value.h: ns3::GlobalValue::GlobalValue(ns3::GlobalValue const & arg0) [copy constructor] cls.add_constructor([param('ns3::GlobalValue const &', 'arg0')]) @@ -588,6 +739,73 @@ def register_Ns3GlobalValue_methods(root_module, cls): [param('ns3::AttributeValue const &', 'value')]) return +def register_Ns3HighPrecision_methods(root_module, cls): + cls.add_output_stream_operator() + ## high-precision-double.h: ns3::HighPrecision::HighPrecision(ns3::HighPrecision const & arg0) [copy constructor] + cls.add_constructor([param('ns3::HighPrecision const &', 'arg0')]) + ## high-precision-double.h: ns3::HighPrecision::HighPrecision() [constructor] + cls.add_constructor([]) + ## high-precision-double.h: ns3::HighPrecision::HighPrecision(int64_t value, bool dummy) [constructor] + cls.add_constructor([param('int64_t', 'value'), param('bool', 'dummy')]) + ## high-precision-double.h: ns3::HighPrecision::HighPrecision(double value) [constructor] + cls.add_constructor([param('double', 'value')]) + ## high-precision-double.h: void ns3::HighPrecision::Add(ns3::HighPrecision const & o) [member function] + cls.add_method('Add', + 'void', + [param('ns3::HighPrecision const &', 'o')]) + ## high-precision-double.h: int ns3::HighPrecision::Compare(ns3::HighPrecision const & o) const [member function] + cls.add_method('Compare', + 'int', + [param('ns3::HighPrecision const &', 'o')], + is_const=True) + ## high-precision-double.h: void ns3::HighPrecision::Div(ns3::HighPrecision const & o) [member function] + cls.add_method('Div', + 'void', + [param('ns3::HighPrecision const &', 'o')]) + ## high-precision-double.h: double ns3::HighPrecision::GetDouble() const [member function] + cls.add_method('GetDouble', + 'double', + [], + is_const=True) + ## high-precision-double.h: int64_t ns3::HighPrecision::GetHigh() const [member function] + cls.add_method('GetHigh', + 'int64_t', + [], + is_const=True) + ## high-precision-double.h: int64_t ns3::HighPrecision::GetInteger() const [member function] + cls.add_method('GetInteger', + 'int64_t', + [], + is_const=True) + ## high-precision-double.h: uint64_t ns3::HighPrecision::GetLow() const [member function] + cls.add_method('GetLow', + 'uint64_t', + [], + is_const=True) + ## high-precision-double.h: static ns3::HighPrecision ns3::HighPrecision::Invert(uint64_t v) [member function] + cls.add_method('Invert', + 'ns3::HighPrecision', + [param('uint64_t', 'v')], + is_static=True) + ## high-precision-double.h: void ns3::HighPrecision::Mul(ns3::HighPrecision const & o) [member function] + cls.add_method('Mul', + 'void', + [param('ns3::HighPrecision const &', 'o')]) + ## high-precision-double.h: void ns3::HighPrecision::MulByInvert(ns3::HighPrecision const & o) [member function] + cls.add_method('MulByInvert', + 'void', + [param('ns3::HighPrecision const &', 'o')]) + ## high-precision-double.h: void ns3::HighPrecision::Sub(ns3::HighPrecision const & o) [member function] + cls.add_method('Sub', + 'void', + [param('ns3::HighPrecision const &', 'o')]) + ## high-precision-double.h: static ns3::HighPrecision ns3::HighPrecision::Zero() [member function] + cls.add_method('Zero', + 'ns3::HighPrecision', + [], + is_static=True) + return + def register_Ns3IntToType__0_methods(root_module, cls): ## int-to-type.h: ns3::IntToType<0>::IntToType() [constructor] cls.add_constructor([]) @@ -962,6 +1180,96 @@ def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods is_static=True) return +def register_Ns3Simulator_methods(root_module, cls): + ## simulator.h: ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Simulator const &', 'arg0')]) + ## simulator.h: static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function] + cls.add_method('Cancel', + 'void', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h: static void ns3::Simulator::Destroy() [member function] + cls.add_method('Destroy', + 'void', + [], + is_static=True) + ## simulator.h: static uint32_t ns3::Simulator::GetContext() [member function] + cls.add_method('GetContext', + 'uint32_t', + [], + is_static=True) + ## simulator.h: static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function] + cls.add_method('GetDelayLeft', + 'ns3::Time', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h: static ns3::Ptr ns3::Simulator::GetImplementation() [member function] + cls.add_method('GetImplementation', + 'ns3::Ptr< ns3::SimulatorImpl >', + [], + is_static=True) + ## simulator.h: static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function] + cls.add_method('GetMaximumSimulationTime', + 'ns3::Time', + [], + is_static=True) + ## simulator.h: static uint32_t ns3::Simulator::GetSystemId() [member function] + cls.add_method('GetSystemId', + 'uint32_t', + [], + is_static=True) + ## simulator.h: static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function] + cls.add_method('IsExpired', + 'bool', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h: static bool ns3::Simulator::IsFinished() [member function] + cls.add_method('IsFinished', + 'bool', + [], + is_static=True) + ## simulator.h: static ns3::Time ns3::Simulator::Next() [member function] + cls.add_method('Next', + 'ns3::Time', + [], + is_static=True, deprecated=True) + ## simulator.h: static ns3::Time ns3::Simulator::Now() [member function] + cls.add_method('Now', + 'ns3::Time', + [], + is_static=True) + ## simulator.h: static void ns3::Simulator::Remove(ns3::EventId const & id) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h: static void ns3::Simulator::RunOneEvent() [member function] + cls.add_method('RunOneEvent', + 'void', + [], + is_static=True, deprecated=True) + ## simulator.h: static void ns3::Simulator::SetImplementation(ns3::Ptr impl) [member function] + cls.add_method('SetImplementation', + 'void', + [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')], + is_static=True) + ## simulator.h: static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] + cls.add_method('SetScheduler', + 'void', + [param('ns3::ObjectFactory', 'schedulerFactory')], + is_static=True) + ## simulator.h: static void ns3::Simulator::Stop() [member function] + cls.add_method('Stop', + 'void', + [], + is_static=True) + ## simulator.h: static void ns3::Simulator::Stop(ns3::Time const & time) [member function] + cls.add_method('Stop', + 'void', + [param('ns3::Time const &', 'time')], + is_static=True) + return + def register_Ns3SystemCondition_methods(root_module, cls): ## system-condition.h: ns3::SystemCondition::SystemCondition(ns3::SystemCondition const & arg0) [copy constructor] cls.add_constructor([param('ns3::SystemCondition const &', 'arg0')]) @@ -1317,6 +1625,293 @@ def register_Ns3TestSuite_methods(root_module, cls): visibility='protected', is_virtual=True) return +def register_Ns3Time_methods(root_module, cls): + cls.add_binary_comparison_operator('!=') + cls.add_inplace_numeric_operator('*=', param('ns3::Time const &', 'right')) + cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right')) + cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right')) + cls.add_inplace_numeric_operator('/=', param('ns3::Time const &', 'right')) + cls.add_output_stream_operator() + cls.add_binary_comparison_operator('<=') + cls.add_binary_comparison_operator('==') + cls.add_binary_comparison_operator('>=') + cls.add_binary_numeric_operator('*', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) + cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) + cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) + cls.add_binary_numeric_operator('/', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) + cls.add_binary_comparison_operator('<') + cls.add_binary_comparison_operator('>') + ## nstime.h: ns3::Time::Time() [constructor] + cls.add_constructor([]) + ## nstime.h: ns3::Time::Time(ns3::Time const & o) [copy constructor] + cls.add_constructor([param('ns3::Time const &', 'o')]) + ## nstime.h: ns3::Time::Time(ns3::HighPrecision const & data) [constructor] + cls.add_constructor([param('ns3::HighPrecision const &', 'data')]) + ## nstime.h: ns3::Time::Time(std::string const & s) [constructor] + cls.add_constructor([param('std::string const &', 's')]) + ## nstime.h: int ns3::Time::Compare(ns3::Time const & o) const [member function] + cls.add_method('Compare', + 'int', + [param('ns3::Time const &', 'o')], + is_const=True) + ## nstime.h: static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function] + cls.add_method('FromDouble', + 'ns3::Time', + [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')], + is_static=True) + ## nstime.h: static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function] + cls.add_method('FromInteger', + 'ns3::Time', + [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')], + is_static=True) + ## nstime.h: int64_t ns3::Time::GetFemtoSeconds() const [member function] + cls.add_method('GetFemtoSeconds', + 'int64_t', + [], + is_const=True) + ## nstime.h: ns3::HighPrecision const & ns3::Time::GetHighPrecision() const [member function] + cls.add_method('GetHighPrecision', + 'ns3::HighPrecision const &', + [], + is_const=True) + ## nstime.h: int64_t ns3::Time::GetMicroSeconds() const [member function] + cls.add_method('GetMicroSeconds', + 'int64_t', + [], + is_const=True) + ## nstime.h: int64_t ns3::Time::GetMilliSeconds() const [member function] + cls.add_method('GetMilliSeconds', + 'int64_t', + [], + is_const=True) + ## nstime.h: int64_t ns3::Time::GetNanoSeconds() const [member function] + cls.add_method('GetNanoSeconds', + 'int64_t', + [], + is_const=True) + ## nstime.h: int64_t ns3::Time::GetPicoSeconds() const [member function] + cls.add_method('GetPicoSeconds', + 'int64_t', + [], + is_const=True) + ## nstime.h: static ns3::Time::Unit ns3::Time::GetResolution() [member function] + cls.add_method('GetResolution', + 'ns3::Time::Unit', + [], + is_static=True) + ## nstime.h: double ns3::Time::GetSeconds() const [member function] + cls.add_method('GetSeconds', + 'double', + [], + is_const=True) + ## nstime.h: int64_t ns3::Time::GetTimeStep() const [member function] + cls.add_method('GetTimeStep', + 'int64_t', + [], + is_const=True) + ## nstime.h: bool ns3::Time::IsNegative() const [member function] + cls.add_method('IsNegative', + 'bool', + [], + is_const=True) + ## nstime.h: bool ns3::Time::IsPositive() const [member function] + cls.add_method('IsPositive', + 'bool', + [], + is_const=True) + ## nstime.h: bool ns3::Time::IsStrictlyNegative() const [member function] + cls.add_method('IsStrictlyNegative', + 'bool', + [], + is_const=True) + ## nstime.h: bool ns3::Time::IsStrictlyPositive() const [member function] + cls.add_method('IsStrictlyPositive', + 'bool', + [], + is_const=True) + ## nstime.h: bool ns3::Time::IsZero() const [member function] + cls.add_method('IsZero', + 'bool', + [], + is_const=True) + ## nstime.h: ns3::HighPrecision * ns3::Time::PeekHighPrecision() [member function] + cls.add_method('PeekHighPrecision', + 'ns3::HighPrecision *', + []) + ## nstime.h: static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function] + cls.add_method('SetResolution', + 'void', + [param('ns3::Time::Unit', 'resolution')], + is_static=True) + ## nstime.h: static double ns3::Time::ToDouble(ns3::Time const & time, ns3::Time::Unit timeUnit) [member function] + cls.add_method('ToDouble', + 'double', + [param('ns3::Time const &', 'time'), param('ns3::Time::Unit', 'timeUnit')], + is_static=True) + ## nstime.h: static uint64_t ns3::Time::ToInteger(ns3::Time const & time, ns3::Time::Unit timeUnit) [member function] + cls.add_method('ToInteger', + 'uint64_t', + [param('ns3::Time const &', 'time'), param('ns3::Time::Unit', 'timeUnit')], + is_static=True) + return + +def register_Ns3TimeBase_methods(root_module, cls): + ## time-base.h: ns3::TimeBase::TimeBase() [constructor] + cls.add_constructor([]) + ## time-base.h: ns3::TimeBase::TimeBase(ns3::TimeBase const & o) [copy constructor] + cls.add_constructor([param('ns3::TimeBase const &', 'o')]) + ## time-base.h: ns3::TimeBase::TimeBase(ns3::HighPrecision const & data) [constructor] + cls.add_constructor([param('ns3::HighPrecision const &', 'data')]) + ## time-base.h: static ns3::TimeBase ns3::TimeBase::FromDouble(double value, ns3::TimeBase::Unit timeUnit) [member function] + cls.add_method('FromDouble', + 'ns3::TimeBase', + [param('double', 'value'), param('ns3::TimeBase::Unit', 'timeUnit')], + is_static=True) + ## time-base.h: static ns3::TimeBase ns3::TimeBase::FromInteger(uint64_t value, ns3::TimeBase::Unit timeUnit) [member function] + cls.add_method('FromInteger', + 'ns3::TimeBase', + [param('uint64_t', 'value'), param('ns3::TimeBase::Unit', 'timeUnit')], + is_static=True) + ## time-base.h: ns3::HighPrecision const & ns3::TimeBase::GetHighPrecision() const [member function] + cls.add_method('GetHighPrecision', + 'ns3::HighPrecision const &', + [], + is_const=True) + ## time-base.h: static ns3::TimeBase::Unit ns3::TimeBase::GetResolution() [member function] + cls.add_method('GetResolution', + 'ns3::TimeBase::Unit', + [], + is_static=True) + ## time-base.h: bool ns3::TimeBase::IsNegative() const [member function] + cls.add_method('IsNegative', + 'bool', + [], + is_const=True) + ## time-base.h: bool ns3::TimeBase::IsPositive() const [member function] + cls.add_method('IsPositive', + 'bool', + [], + is_const=True) + ## time-base.h: bool ns3::TimeBase::IsStrictlyNegative() const [member function] + cls.add_method('IsStrictlyNegative', + 'bool', + [], + is_const=True) + ## time-base.h: bool ns3::TimeBase::IsStrictlyPositive() const [member function] + cls.add_method('IsStrictlyPositive', + 'bool', + [], + is_const=True) + ## time-base.h: bool ns3::TimeBase::IsZero() const [member function] + cls.add_method('IsZero', + 'bool', + [], + is_const=True) + ## time-base.h: ns3::HighPrecision * ns3::TimeBase::PeekHighPrecision() [member function] + cls.add_method('PeekHighPrecision', + 'ns3::HighPrecision *', + []) + ## time-base.h: static void ns3::TimeBase::SetResolution(ns3::TimeBase::Unit resolution) [member function] + cls.add_method('SetResolution', + 'void', + [param('ns3::TimeBase::Unit', 'resolution')], + is_static=True) + ## time-base.h: static double ns3::TimeBase::ToDouble(ns3::TimeBase const & time, ns3::TimeBase::Unit timeUnit) [member function] + cls.add_method('ToDouble', + 'double', + [param('ns3::TimeBase const &', 'time'), param('ns3::TimeBase::Unit', 'timeUnit')], + is_static=True) + ## time-base.h: static uint64_t ns3::TimeBase::ToInteger(ns3::TimeBase const & time, ns3::TimeBase::Unit timeUnit) [member function] + cls.add_method('ToInteger', + 'uint64_t', + [param('ns3::TimeBase const &', 'time'), param('ns3::TimeBase::Unit', 'timeUnit')], + is_static=True) + return + +def register_Ns3Timer_methods(root_module, cls): + ## timer.h: ns3::Timer::Timer(ns3::Timer const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Timer const &', 'arg0')]) + ## timer.h: ns3::Timer::Timer() [constructor] + cls.add_constructor([]) + ## timer.h: ns3::Timer::Timer(ns3::Timer::DestroyPolicy destroyPolicy) [constructor] + cls.add_constructor([param('ns3::Timer::DestroyPolicy', 'destroyPolicy')]) + ## timer.h: void ns3::Timer::Cancel() [member function] + cls.add_method('Cancel', + 'void', + []) + ## timer.h: ns3::Time ns3::Timer::GetDelay() const [member function] + cls.add_method('GetDelay', + 'ns3::Time', + [], + is_const=True) + ## timer.h: ns3::Time ns3::Timer::GetDelayLeft() const [member function] + cls.add_method('GetDelayLeft', + 'ns3::Time', + [], + is_const=True) + ## timer.h: ns3::Timer::State ns3::Timer::GetState() const [member function] + cls.add_method('GetState', + 'ns3::Timer::State', + [], + is_const=True) + ## timer.h: bool ns3::Timer::IsExpired() const [member function] + cls.add_method('IsExpired', + 'bool', + [], + is_const=True) + ## timer.h: bool ns3::Timer::IsRunning() const [member function] + cls.add_method('IsRunning', + 'bool', + [], + is_const=True) + ## timer.h: bool ns3::Timer::IsSuspended() const [member function] + cls.add_method('IsSuspended', + 'bool', + [], + is_const=True) + ## timer.h: void ns3::Timer::Remove() [member function] + cls.add_method('Remove', + 'void', + []) + ## timer.h: void ns3::Timer::Resume() [member function] + cls.add_method('Resume', + 'void', + []) + ## timer.h: void ns3::Timer::Schedule() [member function] + cls.add_method('Schedule', + 'void', + []) + ## timer.h: void ns3::Timer::Schedule(ns3::Time delay) [member function] + cls.add_method('Schedule', + 'void', + [param('ns3::Time', 'delay')]) + ## timer.h: void ns3::Timer::SetDelay(ns3::Time const & delay) [member function] + cls.add_method('SetDelay', + 'void', + [param('ns3::Time const &', 'delay')]) + ## timer.h: void ns3::Timer::Suspend() [member function] + cls.add_method('Suspend', + 'void', + []) + return + +def register_Ns3TimerImpl_methods(root_module, cls): + ## timer-impl.h: ns3::TimerImpl::TimerImpl() [constructor] + cls.add_constructor([]) + ## timer-impl.h: ns3::TimerImpl::TimerImpl(ns3::TimerImpl const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TimerImpl const &', 'arg0')]) + ## timer-impl.h: void ns3::TimerImpl::Invoke() [member function] + cls.add_method('Invoke', + 'void', + [], + is_pure_virtual=True, is_virtual=True) + ## timer-impl.h: ns3::EventId ns3::TimerImpl::Schedule(ns3::Time const & delay) [member function] + cls.add_method('Schedule', + 'ns3::EventId', + [param('ns3::Time const &', 'delay')], + is_pure_virtual=True, is_virtual=True) + return + def register_Ns3TracedValue__Double_methods(root_module, cls): ## traced-value.h: ns3::TracedValue::TracedValue() [constructor] cls.add_constructor([]) @@ -1653,6 +2248,17 @@ def register_Ns3Vector3D_methods(root_module, cls): cls.add_instance_attribute('z', 'double', is_const=False) return +def register_Ns3Watchdog_methods(root_module, cls): + ## watchdog.h: ns3::Watchdog::Watchdog(ns3::Watchdog const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Watchdog const &', 'arg0')]) + ## watchdog.h: ns3::Watchdog::Watchdog() [constructor] + cls.add_constructor([]) + ## watchdog.h: void ns3::Watchdog::Ping(ns3::Time delay) [member function] + cls.add_method('Ping', + 'void', + [param('ns3::Time', 'delay')]) + return + def register_Ns3WeibullVariable_methods(root_module, cls): ## random-variable.h: ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor] cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')]) @@ -1884,6 +2490,95 @@ def register_Ns3ParetoVariable_methods(root_module, cls): cls.add_constructor([param('std::pair< double, double >', 'params'), param('double', 'b')]) return +def register_Ns3Scalar_methods(root_module, cls): + ## nstime.h: ns3::Scalar::Scalar(ns3::Scalar const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Scalar const &', 'arg0')]) + ## nstime.h: ns3::Scalar::Scalar() [constructor] + cls.add_constructor([]) + ## nstime.h: ns3::Scalar::Scalar(double v) [constructor] + cls.add_constructor([param('double', 'v')]) + ## nstime.h: ns3::Scalar::Scalar(uint32_t v) [constructor] + cls.add_constructor([param('uint32_t', 'v')]) + ## nstime.h: ns3::Scalar::Scalar(int32_t v) [constructor] + cls.add_constructor([param('int32_t', 'v')]) + ## nstime.h: ns3::Scalar::Scalar(uint64_t v) [constructor] + cls.add_constructor([param('uint64_t', 'v')]) + ## nstime.h: ns3::Scalar::Scalar(int64_t v) [constructor] + cls.add_constructor([param('int64_t', 'v')]) + ## nstime.h: ns3::Scalar::Scalar(ns3::Time t) [constructor] + cls.add_constructor([param('ns3::Time', 't')]) + ## nstime.h: double ns3::Scalar::GetDouble() const [member function] + cls.add_method('GetDouble', + 'double', + [], + is_const=True) + return + +def register_Ns3Scheduler_methods(root_module, cls): + ## scheduler.h: ns3::Scheduler::Scheduler() [constructor] + cls.add_constructor([]) + ## scheduler.h: ns3::Scheduler::Scheduler(ns3::Scheduler const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Scheduler const &', 'arg0')]) + ## scheduler.h: static ns3::TypeId ns3::Scheduler::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## scheduler.h: void ns3::Scheduler::Insert(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_pure_virtual=True, is_virtual=True) + ## scheduler.h: bool ns3::Scheduler::IsEmpty() const [member function] + cls.add_method('IsEmpty', + 'bool', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## scheduler.h: ns3::Scheduler::Event ns3::Scheduler::PeekNext() const [member function] + cls.add_method('PeekNext', + 'ns3::Scheduler::Event', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## scheduler.h: void ns3::Scheduler::Remove(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_pure_virtual=True, is_virtual=True) + ## scheduler.h: ns3::Scheduler::Event ns3::Scheduler::RemoveNext() [member function] + cls.add_method('RemoveNext', + 'ns3::Scheduler::Event', + [], + is_pure_virtual=True, is_virtual=True) + return + +def register_Ns3SchedulerEvent_methods(root_module, cls): + cls.add_binary_comparison_operator('<') + ## scheduler.h: ns3::Scheduler::Event::Event() [constructor] + cls.add_constructor([]) + ## scheduler.h: ns3::Scheduler::Event::Event(ns3::Scheduler::Event const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Scheduler::Event const &', 'arg0')]) + ## scheduler.h: ns3::Scheduler::Event::impl [variable] + cls.add_instance_attribute('impl', 'ns3::EventImpl *', is_const=False) + ## scheduler.h: ns3::Scheduler::Event::key [variable] + cls.add_instance_attribute('key', 'ns3::Scheduler::EventKey', is_const=False) + return + +def register_Ns3SchedulerEventKey_methods(root_module, cls): + cls.add_binary_comparison_operator('!=') + cls.add_binary_comparison_operator('<') + cls.add_binary_comparison_operator('>') + ## scheduler.h: ns3::Scheduler::EventKey::EventKey() [constructor] + cls.add_constructor([]) + ## scheduler.h: ns3::Scheduler::EventKey::EventKey(ns3::Scheduler::EventKey const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Scheduler::EventKey const &', 'arg0')]) + ## scheduler.h: ns3::Scheduler::EventKey::m_context [variable] + cls.add_instance_attribute('m_context', 'uint32_t', is_const=False) + ## scheduler.h: ns3::Scheduler::EventKey::m_ts [variable] + cls.add_instance_attribute('m_ts', 'uint64_t', is_const=False) + ## scheduler.h: ns3::Scheduler::EventKey::m_uid [variable] + cls.add_instance_attribute('m_uid', 'uint32_t', is_const=False) + 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([]) @@ -2268,6 +2963,215 @@ def register_Ns3SimpleRefCount__Ns3Dot11sIeBeaconTimingUnit_Ns3Empty_Ns3DefaultD is_static=True) return +def register_Ns3SimulatorImpl_methods(root_module, cls): + ## simulator-impl.h: ns3::SimulatorImpl::SimulatorImpl() [constructor] + cls.add_constructor([]) + ## simulator-impl.h: ns3::SimulatorImpl::SimulatorImpl(ns3::SimulatorImpl const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SimulatorImpl const &', 'arg0')]) + ## simulator-impl.h: void ns3::SimulatorImpl::Cancel(ns3::EventId const & ev) [member function] + cls.add_method('Cancel', + 'void', + [param('ns3::EventId const &', 'ev')], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: void ns3::SimulatorImpl::Destroy() [member function] + cls.add_method('Destroy', + 'void', + [], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: uint32_t ns3::SimulatorImpl::GetContext() const [member function] + cls.add_method('GetContext', + 'uint32_t', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] + cls.add_method('GetDelayLeft', + 'ns3::Time', + [param('ns3::EventId const &', 'id')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::GetMaximumSimulationTime() const [member function] + cls.add_method('GetMaximumSimulationTime', + 'ns3::Time', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## simulator-impl.h: uint32_t ns3::SimulatorImpl::GetSystemId() const [member function] + cls.add_method('GetSystemId', + 'uint32_t', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## simulator-impl.h: static ns3::TypeId ns3::SimulatorImpl::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## simulator-impl.h: bool ns3::SimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] + cls.add_method('IsExpired', + 'bool', + [param('ns3::EventId const &', 'ev')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## simulator-impl.h: bool ns3::SimulatorImpl::IsFinished() const [member function] + cls.add_method('IsFinished', + 'bool', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::Next() const [member function] + cls.add_method('Next', + 'ns3::Time', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::Now() const [member function] + cls.add_method('Now', + 'ns3::Time', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## simulator-impl.h: void ns3::SimulatorImpl::Remove(ns3::EventId const & ev) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::EventId const &', 'ev')], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: void ns3::SimulatorImpl::Run() [member function] + cls.add_method('Run', + 'void', + [], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: void ns3::SimulatorImpl::RunOneEvent() [member function] + cls.add_method('RunOneEvent', + 'void', + [], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function] + cls.add_method('Schedule', + 'ns3::EventId', + [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] + cls.add_method('ScheduleDestroy', + 'ns3::EventId', + [param('ns3::EventImpl *', 'event')], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] + cls.add_method('ScheduleNow', + 'ns3::EventId', + [param('ns3::EventImpl *', 'event')], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: void ns3::SimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] + cls.add_method('ScheduleWithContext', + 'void', + [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: void ns3::SimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] + cls.add_method('SetScheduler', + 'void', + [param('ns3::ObjectFactory', 'schedulerFactory')], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: void ns3::SimulatorImpl::Stop() [member function] + cls.add_method('Stop', + 'void', + [], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: void ns3::SimulatorImpl::Stop(ns3::Time const & time) [member function] + cls.add_method('Stop', + 'void', + [param('ns3::Time const &', 'time')], + is_pure_virtual=True, is_virtual=True) + return + +def register_Ns3Synchronizer_methods(root_module, cls): + ## synchronizer.h: ns3::Synchronizer::Synchronizer(ns3::Synchronizer const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Synchronizer const &', 'arg0')]) + ## synchronizer.h: ns3::Synchronizer::Synchronizer() [constructor] + cls.add_constructor([]) + ## synchronizer.h: uint64_t ns3::Synchronizer::EventEnd() [member function] + cls.add_method('EventEnd', + 'uint64_t', + []) + ## synchronizer.h: void ns3::Synchronizer::EventStart() [member function] + cls.add_method('EventStart', + 'void', + []) + ## synchronizer.h: uint64_t ns3::Synchronizer::GetCurrentRealtime() [member function] + cls.add_method('GetCurrentRealtime', + 'uint64_t', + []) + ## synchronizer.h: int64_t ns3::Synchronizer::GetDrift(uint64_t ts) [member function] + cls.add_method('GetDrift', + 'int64_t', + [param('uint64_t', 'ts')]) + ## synchronizer.h: uint64_t ns3::Synchronizer::GetOrigin() [member function] + cls.add_method('GetOrigin', + 'uint64_t', + []) + ## synchronizer.h: static ns3::TypeId ns3::Synchronizer::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## synchronizer.h: bool ns3::Synchronizer::Realtime() [member function] + cls.add_method('Realtime', + 'bool', + []) + ## synchronizer.h: void ns3::Synchronizer::SetCondition(bool arg0) [member function] + cls.add_method('SetCondition', + 'void', + [param('bool', 'arg0')]) + ## synchronizer.h: void ns3::Synchronizer::SetOrigin(uint64_t ts) [member function] + cls.add_method('SetOrigin', + 'void', + [param('uint64_t', 'ts')]) + ## synchronizer.h: void ns3::Synchronizer::Signal() [member function] + cls.add_method('Signal', + 'void', + []) + ## synchronizer.h: bool ns3::Synchronizer::Synchronize(uint64_t tsCurrent, uint64_t tsDelay) [member function] + cls.add_method('Synchronize', + 'bool', + [param('uint64_t', 'tsCurrent'), param('uint64_t', 'tsDelay')]) + ## synchronizer.h: uint64_t ns3::Synchronizer::DoEventEnd() [member function] + cls.add_method('DoEventEnd', + 'uint64_t', + [], + is_pure_virtual=True, visibility='protected', is_virtual=True) + ## synchronizer.h: void ns3::Synchronizer::DoEventStart() [member function] + cls.add_method('DoEventStart', + 'void', + [], + is_pure_virtual=True, visibility='protected', is_virtual=True) + ## synchronizer.h: uint64_t ns3::Synchronizer::DoGetCurrentRealtime() [member function] + cls.add_method('DoGetCurrentRealtime', + 'uint64_t', + [], + is_pure_virtual=True, visibility='protected', is_virtual=True) + ## synchronizer.h: int64_t ns3::Synchronizer::DoGetDrift(uint64_t ns) [member function] + cls.add_method('DoGetDrift', + 'int64_t', + [param('uint64_t', 'ns')], + is_pure_virtual=True, visibility='protected', is_virtual=True) + ## synchronizer.h: bool ns3::Synchronizer::DoRealtime() [member function] + cls.add_method('DoRealtime', + 'bool', + [], + is_pure_virtual=True, visibility='protected', is_virtual=True) + ## synchronizer.h: void ns3::Synchronizer::DoSetCondition(bool arg0) [member function] + cls.add_method('DoSetCondition', + 'void', + [param('bool', 'arg0')], + is_pure_virtual=True, visibility='protected', is_virtual=True) + ## synchronizer.h: void ns3::Synchronizer::DoSetOrigin(uint64_t ns) [member function] + cls.add_method('DoSetOrigin', + 'void', + [param('uint64_t', 'ns')], + is_pure_virtual=True, visibility='protected', is_virtual=True) + ## synchronizer.h: void ns3::Synchronizer::DoSignal() [member function] + cls.add_method('DoSignal', + 'void', + [], + is_pure_virtual=True, visibility='protected', is_virtual=True) + ## synchronizer.h: bool ns3::Synchronizer::DoSynchronize(uint64_t nsCurrent, uint64_t nsDelay) [member function] + cls.add_method('DoSynchronize', + 'bool', + [param('uint64_t', 'nsCurrent'), param('uint64_t', 'nsDelay')], + is_pure_virtual=True, visibility='protected', is_virtual=True) + return + def register_Ns3SystemThread_methods(root_module, cls): ## system-thread.h: ns3::SystemThread::SystemThread(ns3::SystemThread const & arg0) [copy constructor] cls.add_constructor([param('ns3::SystemThread const &', 'arg0')]) @@ -2318,6 +3222,104 @@ def register_Ns3TraceSourceAccessor_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return +def register_Ns3WallClockSynchronizer_methods(root_module, cls): + ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::WallClockSynchronizer(ns3::WallClockSynchronizer const & arg0) [copy constructor] + cls.add_constructor([param('ns3::WallClockSynchronizer const &', 'arg0')]) + ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::WallClockSynchronizer() [constructor] + cls.add_constructor([]) + ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::NS_PER_SEC [variable] + cls.add_static_attribute('NS_PER_SEC', 'uint64_t const', is_const=True) + ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::US_PER_NS [variable] + cls.add_static_attribute('US_PER_NS', 'uint64_t const', is_const=True) + ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::US_PER_SEC [variable] + cls.add_static_attribute('US_PER_SEC', 'uint64_t const', is_const=True) + ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DoEventEnd() [member function] + cls.add_method('DoEventEnd', + 'uint64_t', + [], + visibility='protected', is_virtual=True) + ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoEventStart() [member function] + cls.add_method('DoEventStart', + 'void', + [], + visibility='protected', is_virtual=True) + ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DoGetCurrentRealtime() [member function] + cls.add_method('DoGetCurrentRealtime', + 'uint64_t', + [], + visibility='protected', is_virtual=True) + ## wall-clock-synchronizer.h: int64_t ns3::WallClockSynchronizer::DoGetDrift(uint64_t ns) [member function] + cls.add_method('DoGetDrift', + 'int64_t', + [param('uint64_t', 'ns')], + visibility='protected', is_virtual=True) + ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::DoRealtime() [member function] + cls.add_method('DoRealtime', + 'bool', + [], + visibility='protected', is_virtual=True) + ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSetCondition(bool cond) [member function] + cls.add_method('DoSetCondition', + 'void', + [param('bool', 'cond')], + visibility='protected', is_virtual=True) + ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSetOrigin(uint64_t ns) [member function] + cls.add_method('DoSetOrigin', + 'void', + [param('uint64_t', 'ns')], + visibility='protected', is_virtual=True) + ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSignal() [member function] + cls.add_method('DoSignal', + 'void', + [], + visibility='protected', is_virtual=True) + ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::DoSynchronize(uint64_t nsCurrent, uint64_t nsDelay) [member function] + cls.add_method('DoSynchronize', + 'bool', + [param('uint64_t', 'nsCurrent'), param('uint64_t', 'nsDelay')], + visibility='protected', is_virtual=True) + ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DriftCorrect(uint64_t nsNow, uint64_t nsDelay) [member function] + cls.add_method('DriftCorrect', + 'uint64_t', + [param('uint64_t', 'nsNow'), param('uint64_t', 'nsDelay')], + visibility='protected') + ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::GetNormalizedRealtime() [member function] + cls.add_method('GetNormalizedRealtime', + 'uint64_t', + [], + visibility='protected') + ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::GetRealtime() [member function] + cls.add_method('GetRealtime', + 'uint64_t', + [], + visibility='protected') + ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::NsToTimeval(int64_t ns, timeval * tv) [member function] + cls.add_method('NsToTimeval', + 'void', + [param('int64_t', 'ns'), param('timeval *', 'tv')], + visibility='protected') + ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::SleepWait(uint64_t arg0) [member function] + cls.add_method('SleepWait', + 'bool', + [param('uint64_t', 'arg0')], + visibility='protected') + ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::SpinWait(uint64_t arg0) [member function] + cls.add_method('SpinWait', + 'bool', + [param('uint64_t', 'arg0')], + visibility='protected') + ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::TimevalAdd(timeval * tv1, timeval * tv2, timeval * result) [member function] + cls.add_method('TimevalAdd', + 'void', + [param('timeval *', 'tv1'), param('timeval *', 'tv2'), param('timeval *', 'result')], + visibility='protected') + ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::TimevalToNs(timeval * tv) [member function] + cls.add_method('TimevalToNs', + 'uint64_t', + [param('timeval *', 'tv')], + visibility='protected') + return + def register_Ns3AttributeAccessor_methods(root_module, cls): ## attribute.h: ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor] cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')]) @@ -2445,6 +3447,43 @@ def register_Ns3BooleanValue_methods(root_module, cls): [param('bool', 'value')]) return +def register_Ns3CalendarScheduler_methods(root_module, cls): + ## calendar-scheduler.h: ns3::CalendarScheduler::CalendarScheduler(ns3::CalendarScheduler const & arg0) [copy constructor] + cls.add_constructor([param('ns3::CalendarScheduler const &', 'arg0')]) + ## calendar-scheduler.h: ns3::CalendarScheduler::CalendarScheduler() [constructor] + cls.add_constructor([]) + ## calendar-scheduler.h: static ns3::TypeId ns3::CalendarScheduler::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## calendar-scheduler.h: void ns3::CalendarScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_virtual=True) + ## calendar-scheduler.h: bool ns3::CalendarScheduler::IsEmpty() const [member function] + cls.add_method('IsEmpty', + 'bool', + [], + is_const=True, is_virtual=True) + ## calendar-scheduler.h: ns3::Scheduler::Event ns3::CalendarScheduler::PeekNext() const [member function] + cls.add_method('PeekNext', + 'ns3::Scheduler::Event', + [], + is_const=True, is_virtual=True) + ## calendar-scheduler.h: void ns3::CalendarScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_virtual=True) + ## calendar-scheduler.h: ns3::Scheduler::Event ns3::CalendarScheduler::RemoveNext() [member function] + cls.add_method('RemoveNext', + 'ns3::Scheduler::Event', + [], + is_virtual=True) + return + def register_Ns3CallbackChecker_methods(root_module, cls): ## callback.h: ns3::CallbackChecker::CallbackChecker() [constructor] cls.add_constructor([]) @@ -2492,6 +3531,123 @@ def register_Ns3CallbackValue_methods(root_module, cls): [param('ns3::CallbackBase', 'base')]) return +def register_Ns3DefaultSimulatorImpl_methods(root_module, cls): + ## default-simulator-impl.h: ns3::DefaultSimulatorImpl::DefaultSimulatorImpl(ns3::DefaultSimulatorImpl const & arg0) [copy constructor] + cls.add_constructor([param('ns3::DefaultSimulatorImpl const &', 'arg0')]) + ## default-simulator-impl.h: ns3::DefaultSimulatorImpl::DefaultSimulatorImpl() [constructor] + cls.add_constructor([]) + ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Cancel(ns3::EventId const & ev) [member function] + cls.add_method('Cancel', + 'void', + [param('ns3::EventId const &', 'ev')], + is_virtual=True) + ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Destroy() [member function] + cls.add_method('Destroy', + 'void', + [], + is_virtual=True) + ## default-simulator-impl.h: uint32_t ns3::DefaultSimulatorImpl::GetContext() const [member function] + cls.add_method('GetContext', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] + cls.add_method('GetDelayLeft', + 'ns3::Time', + [param('ns3::EventId const &', 'id')], + is_const=True, is_virtual=True) + ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetMaximumSimulationTime() const [member function] + cls.add_method('GetMaximumSimulationTime', + 'ns3::Time', + [], + is_const=True, is_virtual=True) + ## default-simulator-impl.h: uint32_t ns3::DefaultSimulatorImpl::GetSystemId() const [member function] + cls.add_method('GetSystemId', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## default-simulator-impl.h: static ns3::TypeId ns3::DefaultSimulatorImpl::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## default-simulator-impl.h: bool ns3::DefaultSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] + cls.add_method('IsExpired', + 'bool', + [param('ns3::EventId const &', 'ev')], + is_const=True, is_virtual=True) + ## default-simulator-impl.h: bool ns3::DefaultSimulatorImpl::IsFinished() const [member function] + cls.add_method('IsFinished', + 'bool', + [], + is_const=True, is_virtual=True) + ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::Next() const [member function] + cls.add_method('Next', + 'ns3::Time', + [], + is_const=True, is_virtual=True) + ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::Now() const [member function] + cls.add_method('Now', + 'ns3::Time', + [], + is_const=True, is_virtual=True) + ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Remove(ns3::EventId const & ev) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::EventId const &', 'ev')], + is_virtual=True) + ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Run() [member function] + cls.add_method('Run', + 'void', + [], + is_virtual=True) + ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::RunOneEvent() [member function] + cls.add_method('RunOneEvent', + 'void', + [], + is_virtual=True) + ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function] + cls.add_method('Schedule', + 'ns3::EventId', + [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], + is_virtual=True) + ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] + cls.add_method('ScheduleDestroy', + 'ns3::EventId', + [param('ns3::EventImpl *', 'event')], + is_virtual=True) + ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] + cls.add_method('ScheduleNow', + 'ns3::EventId', + [param('ns3::EventImpl *', 'event')], + is_virtual=True) + ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] + cls.add_method('ScheduleWithContext', + 'void', + [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], + is_virtual=True) + ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] + cls.add_method('SetScheduler', + 'void', + [param('ns3::ObjectFactory', 'schedulerFactory')], + is_virtual=True) + ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop() [member function] + cls.add_method('Stop', + 'void', + [], + is_virtual=True) + ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop(ns3::Time const & time) [member function] + cls.add_method('Stop', + 'void', + [param('ns3::Time const &', 'time')], + is_virtual=True) + ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='private', is_virtual=True) + return + def register_Ns3DoubleValue_methods(root_module, cls): ## double.h: ns3::DoubleValue::DoubleValue() [constructor] cls.add_constructor([]) @@ -2625,6 +3781,87 @@ def register_Ns3EnumValue_methods(root_module, cls): [param('int', 'v')]) return +def register_Ns3EventImpl_methods(root_module, cls): + ## event-impl.h: ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor] + cls.add_constructor([param('ns3::EventImpl const &', 'arg0')]) + ## event-impl.h: ns3::EventImpl::EventImpl() [constructor] + cls.add_constructor([]) + ## event-impl.h: void ns3::EventImpl::Cancel() [member function] + cls.add_method('Cancel', + 'void', + []) + ## event-impl.h: void ns3::EventImpl::Invoke() [member function] + cls.add_method('Invoke', + 'void', + []) + ## event-impl.h: bool ns3::EventImpl::IsCancelled() [member function] + cls.add_method('IsCancelled', + 'bool', + []) + ## event-impl.h: void ns3::EventImpl::Notify() [member function] + cls.add_method('Notify', + 'void', + [], + is_pure_virtual=True, visibility='protected', is_virtual=True) + return + +def register_Ns3FdReader_methods(root_module, cls): + ## unix-fd-reader.h: ns3::FdReader::FdReader(ns3::FdReader const & arg0) [copy constructor] + cls.add_constructor([param('ns3::FdReader const &', 'arg0')]) + ## unix-fd-reader.h: ns3::FdReader::FdReader() [constructor] + cls.add_constructor([]) + ## unix-fd-reader.h: void ns3::FdReader::Start(int fd, ns3::Callback readCallback) [member function] + cls.add_method('Start', + 'void', + [param('int', 'fd'), param('ns3::Callback< void, unsigned char *, int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'readCallback')]) + ## unix-fd-reader.h: void ns3::FdReader::Stop() [member function] + cls.add_method('Stop', + 'void', + []) + ## unix-fd-reader.h: ns3::FdReader::Data ns3::FdReader::DoRead() [member function] + cls.add_method('DoRead', + 'ns3::FdReader::Data', + [], + is_pure_virtual=True, visibility='protected', is_virtual=True) + return + +def register_Ns3HeapScheduler_methods(root_module, cls): + ## heap-scheduler.h: ns3::HeapScheduler::HeapScheduler(ns3::HeapScheduler const & arg0) [copy constructor] + cls.add_constructor([param('ns3::HeapScheduler const &', 'arg0')]) + ## heap-scheduler.h: ns3::HeapScheduler::HeapScheduler() [constructor] + cls.add_constructor([]) + ## heap-scheduler.h: static ns3::TypeId ns3::HeapScheduler::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## heap-scheduler.h: void ns3::HeapScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_virtual=True) + ## heap-scheduler.h: bool ns3::HeapScheduler::IsEmpty() const [member function] + cls.add_method('IsEmpty', + 'bool', + [], + is_const=True, is_virtual=True) + ## heap-scheduler.h: ns3::Scheduler::Event ns3::HeapScheduler::PeekNext() const [member function] + cls.add_method('PeekNext', + 'ns3::Scheduler::Event', + [], + is_const=True, is_virtual=True) + ## heap-scheduler.h: void ns3::HeapScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_virtual=True) + ## heap-scheduler.h: ns3::Scheduler::Event ns3::HeapScheduler::RemoveNext() [member function] + cls.add_method('RemoveNext', + 'ns3::Scheduler::Event', + [], + is_virtual=True) + return + def register_Ns3IntegerValue_methods(root_module, cls): ## integer.h: ns3::IntegerValue::IntegerValue() [constructor] cls.add_constructor([]) @@ -2658,6 +3895,117 @@ def register_Ns3IntegerValue_methods(root_module, cls): [param('int64_t const &', 'value')]) return +def register_Ns3ListScheduler_methods(root_module, cls): + ## list-scheduler.h: ns3::ListScheduler::ListScheduler(ns3::ListScheduler const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ListScheduler const &', 'arg0')]) + ## list-scheduler.h: ns3::ListScheduler::ListScheduler() [constructor] + cls.add_constructor([]) + ## list-scheduler.h: static ns3::TypeId ns3::ListScheduler::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## list-scheduler.h: void ns3::ListScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_virtual=True) + ## list-scheduler.h: bool ns3::ListScheduler::IsEmpty() const [member function] + cls.add_method('IsEmpty', + 'bool', + [], + is_const=True, is_virtual=True) + ## list-scheduler.h: ns3::Scheduler::Event ns3::ListScheduler::PeekNext() const [member function] + cls.add_method('PeekNext', + 'ns3::Scheduler::Event', + [], + is_const=True, is_virtual=True) + ## list-scheduler.h: void ns3::ListScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_virtual=True) + ## list-scheduler.h: ns3::Scheduler::Event ns3::ListScheduler::RemoveNext() [member function] + cls.add_method('RemoveNext', + 'ns3::Scheduler::Event', + [], + is_virtual=True) + return + +def register_Ns3MapScheduler_methods(root_module, cls): + ## map-scheduler.h: ns3::MapScheduler::MapScheduler(ns3::MapScheduler const & arg0) [copy constructor] + cls.add_constructor([param('ns3::MapScheduler const &', 'arg0')]) + ## map-scheduler.h: ns3::MapScheduler::MapScheduler() [constructor] + cls.add_constructor([]) + ## map-scheduler.h: static ns3::TypeId ns3::MapScheduler::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## map-scheduler.h: void ns3::MapScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_virtual=True) + ## map-scheduler.h: bool ns3::MapScheduler::IsEmpty() const [member function] + cls.add_method('IsEmpty', + 'bool', + [], + is_const=True, is_virtual=True) + ## map-scheduler.h: ns3::Scheduler::Event ns3::MapScheduler::PeekNext() const [member function] + cls.add_method('PeekNext', + 'ns3::Scheduler::Event', + [], + is_const=True, is_virtual=True) + ## map-scheduler.h: void ns3::MapScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_virtual=True) + ## map-scheduler.h: ns3::Scheduler::Event ns3::MapScheduler::RemoveNext() [member function] + cls.add_method('RemoveNext', + 'ns3::Scheduler::Event', + [], + is_virtual=True) + return + +def register_Ns3Ns2CalendarScheduler_methods(root_module, cls): + ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler::Ns2CalendarScheduler(ns3::Ns2CalendarScheduler const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ns2CalendarScheduler const &', 'arg0')]) + ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler::Ns2CalendarScheduler() [constructor] + cls.add_constructor([]) + ## ns2-calendar-scheduler.h: static ns3::TypeId ns3::Ns2CalendarScheduler::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## ns2-calendar-scheduler.h: void ns3::Ns2CalendarScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_virtual=True) + ## ns2-calendar-scheduler.h: bool ns3::Ns2CalendarScheduler::IsEmpty() const [member function] + cls.add_method('IsEmpty', + 'bool', + [], + is_const=True, is_virtual=True) + ## ns2-calendar-scheduler.h: ns3::Scheduler::Event ns3::Ns2CalendarScheduler::PeekNext() const [member function] + cls.add_method('PeekNext', + 'ns3::Scheduler::Event', + [], + is_const=True, is_virtual=True) + ## ns2-calendar-scheduler.h: void ns3::Ns2CalendarScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_virtual=True) + ## ns2-calendar-scheduler.h: ns3::Scheduler::Event ns3::Ns2CalendarScheduler::RemoveNext() [member function] + cls.add_method('RemoveNext', + 'ns3::Scheduler::Event', + [], + is_virtual=True) + return + def register_Ns3ObjectFactoryChecker_methods(root_module, cls): ## object-factory.h: ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor] cls.add_constructor([]) @@ -2874,6 +4222,162 @@ def register_Ns3RandomVariableValue_methods(root_module, cls): [param('ns3::RandomVariable const &', 'value')]) return +def register_Ns3RealtimeSimulatorImpl_methods(root_module, cls): + ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::RealtimeSimulatorImpl(ns3::RealtimeSimulatorImpl const & arg0) [copy constructor] + cls.add_constructor([param('ns3::RealtimeSimulatorImpl const &', 'arg0')]) + ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::RealtimeSimulatorImpl() [constructor] + cls.add_constructor([]) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Cancel(ns3::EventId const & ev) [member function] + cls.add_method('Cancel', + 'void', + [param('ns3::EventId const &', 'ev')], + is_virtual=True) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Destroy() [member function] + cls.add_method('Destroy', + 'void', + [], + is_virtual=True) + ## realtime-simulator-impl.h: uint32_t ns3::RealtimeSimulatorImpl::GetContext() const [member function] + cls.add_method('GetContext', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] + cls.add_method('GetDelayLeft', + 'ns3::Time', + [param('ns3::EventId const &', 'id')], + is_const=True, is_virtual=True) + ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetHardLimit() const [member function] + cls.add_method('GetHardLimit', + 'ns3::Time', + [], + is_const=True) + ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetMaximumSimulationTime() const [member function] + cls.add_method('GetMaximumSimulationTime', + 'ns3::Time', + [], + is_const=True, is_virtual=True) + ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode ns3::RealtimeSimulatorImpl::GetSynchronizationMode() const [member function] + cls.add_method('GetSynchronizationMode', + 'ns3::RealtimeSimulatorImpl::SynchronizationMode', + [], + is_const=True) + ## realtime-simulator-impl.h: uint32_t ns3::RealtimeSimulatorImpl::GetSystemId() const [member function] + cls.add_method('GetSystemId', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## realtime-simulator-impl.h: static ns3::TypeId ns3::RealtimeSimulatorImpl::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## realtime-simulator-impl.h: bool ns3::RealtimeSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] + cls.add_method('IsExpired', + 'bool', + [param('ns3::EventId const &', 'ev')], + is_const=True, is_virtual=True) + ## realtime-simulator-impl.h: bool ns3::RealtimeSimulatorImpl::IsFinished() const [member function] + cls.add_method('IsFinished', + 'bool', + [], + is_const=True, is_virtual=True) + ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::Next() const [member function] + cls.add_method('Next', + 'ns3::Time', + [], + is_const=True, is_virtual=True) + ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::Now() const [member function] + cls.add_method('Now', + 'ns3::Time', + [], + is_const=True, is_virtual=True) + ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::RealtimeNow() const [member function] + cls.add_method('RealtimeNow', + 'ns3::Time', + [], + is_const=True) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Remove(ns3::EventId const & ev) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::EventId const &', 'ev')], + is_virtual=True) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Run() [member function] + cls.add_method('Run', + 'void', + [], + is_virtual=True) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::RunOneEvent() [member function] + cls.add_method('RunOneEvent', + 'void', + [], + is_virtual=True) + ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function] + cls.add_method('Schedule', + 'ns3::EventId', + [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], + is_virtual=True) + ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] + cls.add_method('ScheduleDestroy', + 'ns3::EventId', + [param('ns3::EventImpl *', 'event')], + is_virtual=True) + ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] + cls.add_method('ScheduleNow', + 'ns3::EventId', + [param('ns3::EventImpl *', 'event')], + is_virtual=True) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtime(ns3::Time const & time, ns3::EventImpl * event) [member function] + cls.add_method('ScheduleRealtime', + 'void', + [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')]) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeNow(ns3::EventImpl * event) [member function] + cls.add_method('ScheduleRealtimeNow', + 'void', + [param('ns3::EventImpl *', 'event')]) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeNowWithContext(uint32_t context, ns3::EventImpl * event) [member function] + cls.add_method('ScheduleRealtimeNowWithContext', + 'void', + [param('uint32_t', 'context'), param('ns3::EventImpl *', 'event')]) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] + cls.add_method('ScheduleRealtimeWithContext', + 'void', + [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')]) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] + cls.add_method('ScheduleWithContext', + 'void', + [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], + is_virtual=True) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetHardLimit(ns3::Time limit) [member function] + cls.add_method('SetHardLimit', + 'void', + [param('ns3::Time', 'limit')]) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] + cls.add_method('SetScheduler', + 'void', + [param('ns3::ObjectFactory', 'schedulerFactory')], + is_virtual=True) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetSynchronizationMode(ns3::RealtimeSimulatorImpl::SynchronizationMode mode) [member function] + cls.add_method('SetSynchronizationMode', + 'void', + [param('ns3::RealtimeSimulatorImpl::SynchronizationMode', 'mode')]) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Stop() [member function] + cls.add_method('Stop', + 'void', + [], + is_virtual=True) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Stop(ns3::Time const & time) [member function] + cls.add_method('Stop', + 'void', + [param('ns3::Time const &', 'time')], + is_virtual=True) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='private', is_virtual=True) + return + def register_Ns3RefCountBase_methods(root_module, cls): ## ref-count-base.h: ns3::RefCountBase::RefCountBase() [constructor] cls.add_constructor([]) @@ -2921,6 +4425,46 @@ def register_Ns3StringValue_methods(root_module, cls): [param('std::string const &', 'value')]) return +def register_Ns3TimeChecker_methods(root_module, cls): + ## nstime.h: ns3::TimeChecker::TimeChecker() [constructor] + cls.add_constructor([]) + ## nstime.h: ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')]) + return + +def register_Ns3TimeValue_methods(root_module, cls): + ## nstime.h: ns3::TimeValue::TimeValue() [constructor] + cls.add_constructor([]) + ## nstime.h: ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TimeValue const &', 'arg0')]) + ## nstime.h: ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor] + cls.add_constructor([param('ns3::Time const &', 'value')]) + ## nstime.h: ns3::Ptr ns3::TimeValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## nstime.h: bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] + cls.add_method('DeserializeFromString', + 'bool', + [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_virtual=True) + ## nstime.h: ns3::Time ns3::TimeValue::Get() const [member function] + cls.add_method('Get', + 'ns3::Time', + [], + is_const=True) + ## nstime.h: std::string ns3::TimeValue::SerializeToString(ns3::Ptr checker) const [member function] + cls.add_method('SerializeToString', + 'std::string', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True, is_virtual=True) + ## nstime.h: void ns3::TimeValue::Set(ns3::Time const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::Time const &', 'value')]) + return + def register_Ns3TypeIdChecker_methods(root_module, cls): ## type-id.h: ns3::TypeIdChecker::TypeIdChecker() [constructor] cls.add_constructor([]) @@ -3135,6 +4679,14 @@ def register_Ns3ConfigMatchContainer_methods(root_module, cls): def register_functions(root_module): module = root_module + ## high-precision.h: extern ns3::HighPrecision ns3::Abs(ns3::HighPrecision const & value) [free function] + module.add_function('Abs', + 'ns3::HighPrecision', + [param('ns3::HighPrecision const &', 'value')]) + ## nstime.h: ns3::Time ns3::Abs(ns3::Time const & time) [free function] + module.add_function('Abs', + 'ns3::Time', + [param('ns3::Time const &', 'time')]) ## breakpoint.h: extern void ns3::BreakpointFallback() [free function] module.add_function('BreakpointFallback', 'void', @@ -3157,6 +4709,10 @@ def register_functions(root_module): 'ns3::Ptr< ns3::PointerValue >', [], template_parameters=['ns3::PointerValue']) + ## nstime.h: ns3::Time ns3::FemtoSeconds(uint64_t fs) [free function] + module.add_function('FemtoSeconds', + 'ns3::Time', + [param('uint64_t', 'fs')]) ## log.h: extern void ns3::LogComponentDisable(char const * name, ns3::LogLevel level) [free function] module.add_function('LogComponentDisable', 'void', @@ -3200,6 +4756,10 @@ def register_functions(root_module): module.add_function('MakeEnumChecker', 'ns3::Ptr< ns3::AttributeChecker const >', [param('int', 'v1'), param('std::string', 'n1'), param('int', 'v2', default_value='0'), param('std::string', 'n2', default_value='""'), param('int', 'v3', default_value='0'), param('std::string', 'n3', default_value='""'), param('int', 'v4', default_value='0'), param('std::string', 'n4', default_value='""'), param('int', 'v5', default_value='0'), param('std::string', 'n5', default_value='""'), param('int', 'v6', default_value='0'), param('std::string', 'n6', default_value='""'), param('int', 'v7', default_value='0'), param('std::string', 'n7', default_value='""'), param('int', 'v8', default_value='0'), param('std::string', 'n8', default_value='""'), param('int', 'v9', default_value='0'), param('std::string', 'n9', default_value='""'), param('int', 'v10', default_value='0'), param('std::string', 'n10', default_value='""'), param('int', 'v11', default_value='0'), param('std::string', 'n11', default_value='""'), param('int', 'v12', default_value='0'), param('std::string', 'n12', default_value='""'), param('int', 'v13', default_value='0'), param('std::string', 'n13', default_value='""'), param('int', 'v14', default_value='0'), param('std::string', 'n14', default_value='""'), param('int', 'v15', default_value='0'), param('std::string', 'n15', default_value='""'), param('int', 'v16', default_value='0'), param('std::string', 'n16', default_value='""'), param('int', 'v17', default_value='0'), param('std::string', 'n17', default_value='""'), param('int', 'v18', default_value='0'), param('std::string', 'n18', default_value='""'), param('int', 'v19', default_value='0'), param('std::string', 'n19', default_value='""'), param('int', 'v20', default_value='0'), param('std::string', 'n20', default_value='""'), param('int', 'v21', default_value='0'), param('std::string', 'n21', default_value='""'), param('int', 'v22', default_value='0'), param('std::string', 'n22', default_value='""')]) + ## make-event.h: extern ns3::EventImpl * ns3::MakeEvent(void (*)( ) * f) [free function] + module.add_function('MakeEvent', + 'ns3::EventImpl *', + [param('void ( * ) ( ) *', 'f')]) ## object-factory.h: extern ns3::Ptr ns3::MakeObjectFactoryChecker() [free function] module.add_function('MakeObjectFactoryChecker', 'ns3::Ptr< ns3::AttributeChecker const >', @@ -3212,6 +4772,10 @@ def register_functions(root_module): module.add_function('MakeStringChecker', 'ns3::Ptr< ns3::AttributeChecker const >', []) + ## nstime.h: extern ns3::Ptr ns3::MakeTimeChecker() [free function] + module.add_function('MakeTimeChecker', + 'ns3::Ptr< ns3::AttributeChecker const >', + []) ## type-id.h: extern ns3::Ptr ns3::MakeTypeIdChecker() [free function] module.add_function('MakeTypeIdChecker', 'ns3::Ptr< ns3::AttributeChecker const >', @@ -3228,10 +4792,54 @@ def register_functions(root_module): module.add_function('MakeVectorChecker', 'ns3::Ptr< ns3::AttributeChecker const >', []) + ## high-precision.h: ns3::HighPrecision ns3::Max(ns3::HighPrecision const & a, ns3::HighPrecision const & b) [free function] + module.add_function('Max', + 'ns3::HighPrecision', + [param('ns3::HighPrecision const &', 'a'), param('ns3::HighPrecision const &', 'b')]) + ## nstime.h: ns3::Time ns3::Max(ns3::Time const & ta, ns3::Time const & tb) [free function] + module.add_function('Max', + 'ns3::Time', + [param('ns3::Time const &', 'ta'), param('ns3::Time const &', 'tb')]) + ## nstime.h: ns3::Time ns3::MicroSeconds(uint64_t us) [free function] + module.add_function('MicroSeconds', + 'ns3::Time', + [param('uint64_t', 'us')]) + ## nstime.h: ns3::Time ns3::MilliSeconds(uint64_t ms) [free function] + module.add_function('MilliSeconds', + 'ns3::Time', + [param('uint64_t', 'ms')]) + ## high-precision.h: ns3::HighPrecision ns3::Min(ns3::HighPrecision const & a, ns3::HighPrecision const & b) [free function] + module.add_function('Min', + 'ns3::HighPrecision', + [param('ns3::HighPrecision const &', 'a'), param('ns3::HighPrecision const &', 'b')]) + ## nstime.h: ns3::Time ns3::Min(ns3::Time const & ta, ns3::Time const & tb) [free function] + module.add_function('Min', + 'ns3::Time', + [param('ns3::Time const &', 'ta'), param('ns3::Time const &', 'tb')]) + ## nstime.h: ns3::Time ns3::NanoSeconds(uint64_t ns) [free function] + module.add_function('NanoSeconds', + 'ns3::Time', + [param('uint64_t', 'ns')]) + ## simulator.h: extern ns3::Time ns3::Now() [free function] + module.add_function('Now', + 'ns3::Time', + []) + ## nstime.h: ns3::Time ns3::PicoSeconds(uint64_t ps) [free function] + module.add_function('PicoSeconds', + 'ns3::Time', + [param('uint64_t', 'ps')]) + ## nstime.h: ns3::Time ns3::Seconds(double seconds) [free function] + module.add_function('Seconds', + 'ns3::Time', + [param('double', 'seconds')]) ## test.h: extern bool ns3::TestDoubleIsEqual(double const a, double const b, double const epsilon=std::numeric_limits::epsilon()) [free function] module.add_function('TestDoubleIsEqual', 'bool', [param('double const', 'a'), param('double const', 'b'), param('double const', 'epsilon', default_value='std::numeric_limits::epsilon()')]) + ## nstime.h: ns3::Time ns3::TimeStep(uint64_t ts) [free function] + module.add_function('TimeStep', + 'ns3::Time', + [param('uint64_t', 'ts')]) ## type-name.h: extern std::string ns3::TypeNameGet() [free function] module.add_function('TypeNameGet', 'std::string', diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_simulator.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_simulator.py deleted file mode 100644 index 4a6b44419..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_simulator.py +++ /dev/null @@ -1,1749 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## event-id.h: ns3::EventId [class] - module.add_class('EventId') - ## high-precision-128.h: ns3::HighPrecision [class] - module.add_class('HighPrecision') - ## simulator.h: ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True) - ## nstime.h: ns3::Time [class] - module.add_class('Time') - ## nstime.h: ns3::Time::Unit [enumeration] - module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time']) - ## time-base.h: ns3::TimeBase [class] - module.add_class('TimeBase') - ## time-base.h: ns3::TimeBase::Unit [enumeration] - module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::TimeBase']) - ## timer.h: ns3::Timer [class] - module.add_class('Timer') - ## timer.h: ns3::Timer::DestroyPolicy [enumeration] - module.add_enum('DestroyPolicy', ['CANCEL_ON_DESTROY', 'REMOVE_ON_DESTROY', 'CHECK_ON_DESTROY'], outer_class=root_module['ns3::Timer']) - ## timer.h: ns3::Timer::State [enumeration] - module.add_enum('State', ['RUNNING', 'EXPIRED', 'SUSPENDED'], outer_class=root_module['ns3::Timer']) - ## timer-impl.h: ns3::TimerImpl [class] - module.add_class('TimerImpl', allow_subclassing=True) - ## traced-value.h: ns3::TracedValue [class] - module.add_class('TracedValue', template_parameters=['ns3::Time']) - ## traced-value.h: ns3::TracedValue [class] - root_module['ns3::TracedValue< ns3::Time >'].implicitly_converts_to(root_module['ns3::Time']) - ## watchdog.h: ns3::Watchdog [class] - module.add_class('Watchdog') - ## nstime.h: ns3::Scalar [class] - module.add_class('Scalar') - ## nstime.h: ns3::Scalar [class] - root_module['ns3::Scalar'].implicitly_converts_to(root_module['ns3::Time']) - ## scheduler.h: ns3::Scheduler [class] - module.add_class('Scheduler', parent=root_module['ns3::Object']) - ## scheduler.h: ns3::Scheduler::Event [struct] - module.add_class('Event', outer_class=root_module['ns3::Scheduler']) - ## scheduler.h: ns3::Scheduler::EventKey [struct] - module.add_class('EventKey', outer_class=root_module['ns3::Scheduler']) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::EventImpl', '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::FdReader', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## simulator-impl.h: ns3::SimulatorImpl [class] - module.add_class('SimulatorImpl', parent=root_module['ns3::Object']) - ## synchronizer.h: ns3::Synchronizer [class] - module.add_class('Synchronizer', parent=root_module['ns3::Object']) - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer [class] - module.add_class('WallClockSynchronizer', parent=root_module['ns3::Synchronizer']) - ## calendar-scheduler.h: ns3::CalendarScheduler [class] - module.add_class('CalendarScheduler', parent=root_module['ns3::Scheduler']) - ## default-simulator-impl.h: ns3::DefaultSimulatorImpl [class] - module.add_class('DefaultSimulatorImpl', parent=root_module['ns3::SimulatorImpl']) - ## event-impl.h: ns3::EventImpl [class] - module.add_class('EventImpl', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >']) - ## unix-fd-reader.h: ns3::FdReader [class] - module.add_class('FdReader', parent=root_module['ns3::SimpleRefCount< ns3::FdReader, ns3::empty, ns3::DefaultDeleter >']) - ## heap-scheduler.h: ns3::HeapScheduler [class] - module.add_class('HeapScheduler', parent=root_module['ns3::Scheduler']) - ## list-scheduler.h: ns3::ListScheduler [class] - module.add_class('ListScheduler', parent=root_module['ns3::Scheduler']) - ## map-scheduler.h: ns3::MapScheduler [class] - module.add_class('MapScheduler', parent=root_module['ns3::Scheduler']) - ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler [class] - module.add_class('Ns2CalendarScheduler', parent=root_module['ns3::Scheduler']) - ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl [class] - module.add_class('RealtimeSimulatorImpl', parent=root_module['ns3::SimulatorImpl']) - ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode [enumeration] - module.add_enum('SynchronizationMode', ['SYNC_BEST_EFFORT', 'SYNC_HARD_LIMIT'], outer_class=root_module['ns3::RealtimeSimulatorImpl']) - ## nstime.h: ns3::TimeChecker [class] - module.add_class('TimeChecker', parent=root_module['ns3::AttributeChecker']) - ## nstime.h: ns3::TimeValue [class] - module.add_class('TimeValue', parent=root_module['ns3::AttributeValue']) - typehandlers.add_type_alias('ns3::Time', 'ns3::TimeInvert') - typehandlers.add_type_alias('ns3::Time*', 'ns3::TimeInvert*') - typehandlers.add_type_alias('ns3::Time&', 'ns3::TimeInvert&') - module.add_typedef(root_module['ns3::Time'], 'TimeInvert') - typehandlers.add_type_alias('ns3::Time', 'ns3::TimeSquare') - typehandlers.add_type_alias('ns3::Time*', 'ns3::TimeSquare*') - typehandlers.add_type_alias('ns3::Time&', 'ns3::TimeSquare&') - module.add_typedef(root_module['ns3::Time'], 'TimeSquare') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3EventId_methods(root_module, root_module['ns3::EventId']) - register_Ns3HighPrecision_methods(root_module, root_module['ns3::HighPrecision']) - register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) - register_Ns3Time_methods(root_module, root_module['ns3::Time']) - register_Ns3TimeBase_methods(root_module, root_module['ns3::TimeBase']) - register_Ns3Timer_methods(root_module, root_module['ns3::Timer']) - register_Ns3TimerImpl_methods(root_module, root_module['ns3::TimerImpl']) - register_Ns3Watchdog_methods(root_module, root_module['ns3::Watchdog']) - register_Ns3Scalar_methods(root_module, root_module['ns3::Scalar']) - register_Ns3Scheduler_methods(root_module, root_module['ns3::Scheduler']) - register_Ns3SchedulerEvent_methods(root_module, root_module['ns3::Scheduler::Event']) - register_Ns3SchedulerEventKey_methods(root_module, root_module['ns3::Scheduler::EventKey']) - register_Ns3SimulatorImpl_methods(root_module, root_module['ns3::SimulatorImpl']) - register_Ns3Synchronizer_methods(root_module, root_module['ns3::Synchronizer']) - register_Ns3WallClockSynchronizer_methods(root_module, root_module['ns3::WallClockSynchronizer']) - register_Ns3CalendarScheduler_methods(root_module, root_module['ns3::CalendarScheduler']) - register_Ns3DefaultSimulatorImpl_methods(root_module, root_module['ns3::DefaultSimulatorImpl']) - register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) - register_Ns3FdReader_methods(root_module, root_module['ns3::FdReader']) - register_Ns3HeapScheduler_methods(root_module, root_module['ns3::HeapScheduler']) - register_Ns3ListScheduler_methods(root_module, root_module['ns3::ListScheduler']) - register_Ns3MapScheduler_methods(root_module, root_module['ns3::MapScheduler']) - register_Ns3Ns2CalendarScheduler_methods(root_module, root_module['ns3::Ns2CalendarScheduler']) - register_Ns3RealtimeSimulatorImpl_methods(root_module, root_module['ns3::RealtimeSimulatorImpl']) - register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker']) - register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue']) - return - -def register_Ns3EventId_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_binary_comparison_operator('==') - ## event-id.h: ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EventId const &', 'arg0')]) - ## event-id.h: ns3::EventId::EventId() [constructor] - cls.add_constructor([]) - ## event-id.h: ns3::EventId::EventId(ns3::Ptr const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')]) - ## event-id.h: void ns3::EventId::Cancel() [member function] - cls.add_method('Cancel', - 'void', - []) - ## event-id.h: uint32_t ns3::EventId::GetContext() const [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_const=True) - ## event-id.h: uint64_t ns3::EventId::GetTs() const [member function] - cls.add_method('GetTs', - 'uint64_t', - [], - is_const=True) - ## event-id.h: uint32_t ns3::EventId::GetUid() const [member function] - cls.add_method('GetUid', - 'uint32_t', - [], - is_const=True) - ## event-id.h: bool ns3::EventId::IsExpired() const [member function] - cls.add_method('IsExpired', - 'bool', - [], - is_const=True) - ## event-id.h: bool ns3::EventId::IsRunning() const [member function] - cls.add_method('IsRunning', - 'bool', - [], - is_const=True) - ## event-id.h: ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function] - cls.add_method('PeekEventImpl', - 'ns3::EventImpl *', - [], - is_const=True) - return - -def register_Ns3HighPrecision_methods(root_module, cls): - cls.add_output_stream_operator() - ## high-precision-128.h: ns3::HighPrecision::HighPrecision(ns3::HighPrecision const & arg0) [copy constructor] - cls.add_constructor([param('ns3::HighPrecision const &', 'arg0')]) - ## high-precision-128.h: ns3::HighPrecision::HighPrecision(int64_t high, uint64_t low) [constructor] - cls.add_constructor([param('int64_t', 'high'), param('uint64_t', 'low')]) - ## high-precision-128.h: ns3::HighPrecision::HighPrecision() [constructor] - cls.add_constructor([]) - ## high-precision-128.h: ns3::HighPrecision::HighPrecision(int64_t value, bool dummy) [constructor] - cls.add_constructor([param('int64_t', 'value'), param('bool', 'dummy')]) - ## high-precision-128.h: ns3::HighPrecision::HighPrecision(double value) [constructor] - cls.add_constructor([param('double', 'value')]) - ## high-precision-128.h: void ns3::HighPrecision::Add(ns3::HighPrecision const & o) [member function] - cls.add_method('Add', - 'void', - [param('ns3::HighPrecision const &', 'o')]) - ## high-precision-128.h: int ns3::HighPrecision::Compare(ns3::HighPrecision const & o) const [member function] - cls.add_method('Compare', - 'int', - [param('ns3::HighPrecision const &', 'o')], - is_const=True) - ## high-precision-128.h: void ns3::HighPrecision::Div(ns3::HighPrecision const & o) [member function] - cls.add_method('Div', - 'void', - [param('ns3::HighPrecision const &', 'o')]) - ## high-precision-128.h: double ns3::HighPrecision::GetDouble() const [member function] - cls.add_method('GetDouble', - 'double', - [], - is_const=True) - ## high-precision-128.h: int64_t ns3::HighPrecision::GetHigh() const [member function] - cls.add_method('GetHigh', - 'int64_t', - [], - is_const=True) - ## high-precision-128.h: int64_t ns3::HighPrecision::GetInteger() const [member function] - cls.add_method('GetInteger', - 'int64_t', - [], - is_const=True) - ## high-precision-128.h: uint64_t ns3::HighPrecision::GetLow() const [member function] - cls.add_method('GetLow', - 'uint64_t', - [], - is_const=True) - ## high-precision-128.h: static ns3::HighPrecision ns3::HighPrecision::Invert(uint64_t v) [member function] - cls.add_method('Invert', - 'ns3::HighPrecision', - [param('uint64_t', 'v')], - is_static=True) - ## high-precision-128.h: void ns3::HighPrecision::Mul(ns3::HighPrecision const & o) [member function] - cls.add_method('Mul', - 'void', - [param('ns3::HighPrecision const &', 'o')]) - ## high-precision-128.h: void ns3::HighPrecision::MulByInvert(ns3::HighPrecision const & o) [member function] - cls.add_method('MulByInvert', - 'void', - [param('ns3::HighPrecision const &', 'o')]) - ## high-precision-128.h: void ns3::HighPrecision::Sub(ns3::HighPrecision const & o) [member function] - cls.add_method('Sub', - 'void', - [param('ns3::HighPrecision const &', 'o')]) - ## high-precision-128.h: static ns3::HighPrecision ns3::HighPrecision::Zero() [member function] - cls.add_method('Zero', - 'ns3::HighPrecision', - [], - is_static=True) - return - -def register_Ns3Simulator_methods(root_module, cls): - ## simulator.h: ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Simulator const &', 'arg0')]) - ## simulator.h: static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function] - cls.add_method('Cancel', - 'void', - [param('ns3::EventId const &', 'id')], - is_static=True) - ## simulator.h: static void ns3::Simulator::Destroy() [member function] - cls.add_method('Destroy', - 'void', - [], - is_static=True) - ## simulator.h: static uint32_t ns3::Simulator::GetContext() [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_static=True) - ## simulator.h: static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [param('ns3::EventId const &', 'id')], - is_static=True) - ## simulator.h: static ns3::Ptr ns3::Simulator::GetImplementation() [member function] - cls.add_method('GetImplementation', - 'ns3::Ptr< ns3::SimulatorImpl >', - [], - is_static=True) - ## simulator.h: static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function] - cls.add_method('GetMaximumSimulationTime', - 'ns3::Time', - [], - is_static=True) - ## simulator.h: static uint32_t ns3::Simulator::GetSystemId() [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_static=True) - ## simulator.h: static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function] - cls.add_method('IsExpired', - 'bool', - [param('ns3::EventId const &', 'id')], - is_static=True) - ## simulator.h: static bool ns3::Simulator::IsFinished() [member function] - cls.add_method('IsFinished', - 'bool', - [], - is_static=True) - ## simulator.h: static ns3::Time ns3::Simulator::Next() [member function] - cls.add_method('Next', - 'ns3::Time', - [], - is_static=True, deprecated=True) - ## simulator.h: static ns3::Time ns3::Simulator::Now() [member function] - cls.add_method('Now', - 'ns3::Time', - [], - is_static=True) - ## simulator.h: static void ns3::Simulator::Remove(ns3::EventId const & id) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::EventId const &', 'id')], - is_static=True) - ## simulator.h: static void ns3::Simulator::RunOneEvent() [member function] - cls.add_method('RunOneEvent', - 'void', - [], - is_static=True, deprecated=True) - ## simulator.h: static void ns3::Simulator::SetImplementation(ns3::Ptr impl) [member function] - cls.add_method('SetImplementation', - 'void', - [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')], - is_static=True) - ## simulator.h: static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] - cls.add_method('SetScheduler', - 'void', - [param('ns3::ObjectFactory', 'schedulerFactory')], - is_static=True) - ## simulator.h: static void ns3::Simulator::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_static=True) - ## simulator.h: static void ns3::Simulator::Stop(ns3::Time const & time) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'time')], - is_static=True) - return - -def register_Ns3Time_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_inplace_numeric_operator('*=', param('ns3::Time const &', 'right')) - cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right')) - cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right')) - cls.add_inplace_numeric_operator('/=', param('ns3::Time const &', 'right')) - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('<=') - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('>=') - cls.add_binary_numeric_operator('*', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) - cls.add_binary_comparison_operator('<') - cls.add_binary_comparison_operator('>') - ## nstime.h: ns3::Time::Time() [constructor] - cls.add_constructor([]) - ## nstime.h: ns3::Time::Time(ns3::Time const & o) [copy constructor] - cls.add_constructor([param('ns3::Time const &', 'o')]) - ## nstime.h: ns3::Time::Time(ns3::HighPrecision const & data) [constructor] - cls.add_constructor([param('ns3::HighPrecision const &', 'data')]) - ## nstime.h: ns3::Time::Time(std::string const & s) [constructor] - cls.add_constructor([param('std::string const &', 's')]) - ## nstime.h: int ns3::Time::Compare(ns3::Time const & o) const [member function] - cls.add_method('Compare', - 'int', - [param('ns3::Time const &', 'o')], - is_const=True) - ## nstime.h: static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function] - cls.add_method('FromDouble', - 'ns3::Time', - [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')], - is_static=True) - ## nstime.h: static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function] - cls.add_method('FromInteger', - 'ns3::Time', - [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')], - is_static=True) - ## nstime.h: int64_t ns3::Time::GetFemtoSeconds() const [member function] - cls.add_method('GetFemtoSeconds', - 'int64_t', - [], - is_const=True) - ## nstime.h: ns3::HighPrecision const & ns3::Time::GetHighPrecision() const [member function] - cls.add_method('GetHighPrecision', - 'ns3::HighPrecision const &', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetMicroSeconds() const [member function] - cls.add_method('GetMicroSeconds', - 'int64_t', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetMilliSeconds() const [member function] - cls.add_method('GetMilliSeconds', - 'int64_t', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetNanoSeconds() const [member function] - cls.add_method('GetNanoSeconds', - 'int64_t', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetPicoSeconds() const [member function] - cls.add_method('GetPicoSeconds', - 'int64_t', - [], - is_const=True) - ## nstime.h: static ns3::Time::Unit ns3::Time::GetResolution() [member function] - cls.add_method('GetResolution', - 'ns3::Time::Unit', - [], - is_static=True) - ## nstime.h: double ns3::Time::GetSeconds() const [member function] - cls.add_method('GetSeconds', - 'double', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetTimeStep() const [member function] - cls.add_method('GetTimeStep', - 'int64_t', - [], - is_const=True) - ## nstime.h: bool ns3::Time::IsNegative() const [member function] - cls.add_method('IsNegative', - 'bool', - [], - is_const=True) - ## nstime.h: bool ns3::Time::IsPositive() const [member function] - cls.add_method('IsPositive', - 'bool', - [], - is_const=True) - ## nstime.h: bool ns3::Time::IsStrictlyNegative() const [member function] - cls.add_method('IsStrictlyNegative', - 'bool', - [], - is_const=True) - ## nstime.h: bool ns3::Time::IsStrictlyPositive() const [member function] - cls.add_method('IsStrictlyPositive', - 'bool', - [], - is_const=True) - ## nstime.h: bool ns3::Time::IsZero() const [member function] - cls.add_method('IsZero', - 'bool', - [], - is_const=True) - ## nstime.h: ns3::HighPrecision * ns3::Time::PeekHighPrecision() [member function] - cls.add_method('PeekHighPrecision', - 'ns3::HighPrecision *', - []) - ## nstime.h: static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function] - cls.add_method('SetResolution', - 'void', - [param('ns3::Time::Unit', 'resolution')], - is_static=True) - ## nstime.h: static double ns3::Time::ToDouble(ns3::Time const & time, ns3::Time::Unit timeUnit) [member function] - cls.add_method('ToDouble', - 'double', - [param('ns3::Time const &', 'time'), param('ns3::Time::Unit', 'timeUnit')], - is_static=True) - ## nstime.h: static uint64_t ns3::Time::ToInteger(ns3::Time const & time, ns3::Time::Unit timeUnit) [member function] - cls.add_method('ToInteger', - 'uint64_t', - [param('ns3::Time const &', 'time'), param('ns3::Time::Unit', 'timeUnit')], - is_static=True) - return - -def register_Ns3TimeBase_methods(root_module, cls): - ## time-base.h: ns3::TimeBase::TimeBase() [constructor] - cls.add_constructor([]) - ## time-base.h: ns3::TimeBase::TimeBase(ns3::TimeBase const & o) [copy constructor] - cls.add_constructor([param('ns3::TimeBase const &', 'o')]) - ## time-base.h: ns3::TimeBase::TimeBase(ns3::HighPrecision const & data) [constructor] - cls.add_constructor([param('ns3::HighPrecision const &', 'data')]) - ## time-base.h: static ns3::TimeBase ns3::TimeBase::FromDouble(double value, ns3::TimeBase::Unit timeUnit) [member function] - cls.add_method('FromDouble', - 'ns3::TimeBase', - [param('double', 'value'), param('ns3::TimeBase::Unit', 'timeUnit')], - is_static=True) - ## time-base.h: static ns3::TimeBase ns3::TimeBase::FromInteger(uint64_t value, ns3::TimeBase::Unit timeUnit) [member function] - cls.add_method('FromInteger', - 'ns3::TimeBase', - [param('uint64_t', 'value'), param('ns3::TimeBase::Unit', 'timeUnit')], - is_static=True) - ## time-base.h: ns3::HighPrecision const & ns3::TimeBase::GetHighPrecision() const [member function] - cls.add_method('GetHighPrecision', - 'ns3::HighPrecision const &', - [], - is_const=True) - ## time-base.h: static ns3::TimeBase::Unit ns3::TimeBase::GetResolution() [member function] - cls.add_method('GetResolution', - 'ns3::TimeBase::Unit', - [], - is_static=True) - ## time-base.h: bool ns3::TimeBase::IsNegative() const [member function] - cls.add_method('IsNegative', - 'bool', - [], - is_const=True) - ## time-base.h: bool ns3::TimeBase::IsPositive() const [member function] - cls.add_method('IsPositive', - 'bool', - [], - is_const=True) - ## time-base.h: bool ns3::TimeBase::IsStrictlyNegative() const [member function] - cls.add_method('IsStrictlyNegative', - 'bool', - [], - is_const=True) - ## time-base.h: bool ns3::TimeBase::IsStrictlyPositive() const [member function] - cls.add_method('IsStrictlyPositive', - 'bool', - [], - is_const=True) - ## time-base.h: bool ns3::TimeBase::IsZero() const [member function] - cls.add_method('IsZero', - 'bool', - [], - is_const=True) - ## time-base.h: ns3::HighPrecision * ns3::TimeBase::PeekHighPrecision() [member function] - cls.add_method('PeekHighPrecision', - 'ns3::HighPrecision *', - []) - ## time-base.h: static void ns3::TimeBase::SetResolution(ns3::TimeBase::Unit resolution) [member function] - cls.add_method('SetResolution', - 'void', - [param('ns3::TimeBase::Unit', 'resolution')], - is_static=True) - ## time-base.h: static double ns3::TimeBase::ToDouble(ns3::TimeBase const & time, ns3::TimeBase::Unit timeUnit) [member function] - cls.add_method('ToDouble', - 'double', - [param('ns3::TimeBase const &', 'time'), param('ns3::TimeBase::Unit', 'timeUnit')], - is_static=True) - ## time-base.h: static uint64_t ns3::TimeBase::ToInteger(ns3::TimeBase const & time, ns3::TimeBase::Unit timeUnit) [member function] - cls.add_method('ToInteger', - 'uint64_t', - [param('ns3::TimeBase const &', 'time'), param('ns3::TimeBase::Unit', 'timeUnit')], - is_static=True) - return - -def register_Ns3Timer_methods(root_module, cls): - ## timer.h: ns3::Timer::Timer(ns3::Timer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Timer const &', 'arg0')]) - ## timer.h: ns3::Timer::Timer() [constructor] - cls.add_constructor([]) - ## timer.h: ns3::Timer::Timer(ns3::Timer::DestroyPolicy destroyPolicy) [constructor] - cls.add_constructor([param('ns3::Timer::DestroyPolicy', 'destroyPolicy')]) - ## timer.h: void ns3::Timer::Cancel() [member function] - cls.add_method('Cancel', - 'void', - []) - ## timer.h: ns3::Time ns3::Timer::GetDelay() const [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [], - is_const=True) - ## timer.h: ns3::Time ns3::Timer::GetDelayLeft() const [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [], - is_const=True) - ## timer.h: ns3::Timer::State ns3::Timer::GetState() const [member function] - cls.add_method('GetState', - 'ns3::Timer::State', - [], - is_const=True) - ## timer.h: bool ns3::Timer::IsExpired() const [member function] - cls.add_method('IsExpired', - 'bool', - [], - is_const=True) - ## timer.h: bool ns3::Timer::IsRunning() const [member function] - cls.add_method('IsRunning', - 'bool', - [], - is_const=True) - ## timer.h: bool ns3::Timer::IsSuspended() const [member function] - cls.add_method('IsSuspended', - 'bool', - [], - is_const=True) - ## timer.h: void ns3::Timer::Remove() [member function] - cls.add_method('Remove', - 'void', - []) - ## timer.h: void ns3::Timer::Resume() [member function] - cls.add_method('Resume', - 'void', - []) - ## timer.h: void ns3::Timer::Schedule() [member function] - cls.add_method('Schedule', - 'void', - []) - ## timer.h: void ns3::Timer::Schedule(ns3::Time delay) [member function] - cls.add_method('Schedule', - 'void', - [param('ns3::Time', 'delay')]) - ## timer.h: void ns3::Timer::SetDelay(ns3::Time const & delay) [member function] - cls.add_method('SetDelay', - 'void', - [param('ns3::Time const &', 'delay')]) - ## timer.h: void ns3::Timer::Suspend() [member function] - cls.add_method('Suspend', - 'void', - []) - return - -def register_Ns3TimerImpl_methods(root_module, cls): - ## timer-impl.h: ns3::TimerImpl::TimerImpl() [constructor] - cls.add_constructor([]) - ## timer-impl.h: ns3::TimerImpl::TimerImpl(ns3::TimerImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TimerImpl const &', 'arg0')]) - ## timer-impl.h: void ns3::TimerImpl::Invoke() [member function] - cls.add_method('Invoke', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## timer-impl.h: ns3::EventId ns3::TimerImpl::Schedule(ns3::Time const & delay) [member function] - cls.add_method('Schedule', - 'ns3::EventId', - [param('ns3::Time const &', 'delay')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3Watchdog_methods(root_module, cls): - ## watchdog.h: ns3::Watchdog::Watchdog(ns3::Watchdog const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Watchdog const &', 'arg0')]) - ## watchdog.h: ns3::Watchdog::Watchdog() [constructor] - cls.add_constructor([]) - ## watchdog.h: void ns3::Watchdog::Ping(ns3::Time delay) [member function] - cls.add_method('Ping', - 'void', - [param('ns3::Time', 'delay')]) - return - -def register_Ns3Scalar_methods(root_module, cls): - ## nstime.h: ns3::Scalar::Scalar(ns3::Scalar const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Scalar const &', 'arg0')]) - ## nstime.h: ns3::Scalar::Scalar() [constructor] - cls.add_constructor([]) - ## nstime.h: ns3::Scalar::Scalar(double v) [constructor] - cls.add_constructor([param('double', 'v')]) - ## nstime.h: ns3::Scalar::Scalar(uint32_t v) [constructor] - cls.add_constructor([param('uint32_t', 'v')]) - ## nstime.h: ns3::Scalar::Scalar(int32_t v) [constructor] - cls.add_constructor([param('int32_t', 'v')]) - ## nstime.h: ns3::Scalar::Scalar(uint64_t v) [constructor] - cls.add_constructor([param('uint64_t', 'v')]) - ## nstime.h: ns3::Scalar::Scalar(int64_t v) [constructor] - cls.add_constructor([param('int64_t', 'v')]) - ## nstime.h: ns3::Scalar::Scalar(ns3::Time t) [constructor] - cls.add_constructor([param('ns3::Time', 't')]) - ## nstime.h: double ns3::Scalar::GetDouble() const [member function] - cls.add_method('GetDouble', - 'double', - [], - is_const=True) - return - -def register_Ns3Scheduler_methods(root_module, cls): - ## scheduler.h: ns3::Scheduler::Scheduler() [constructor] - cls.add_constructor([]) - ## scheduler.h: ns3::Scheduler::Scheduler(ns3::Scheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Scheduler const &', 'arg0')]) - ## scheduler.h: static ns3::TypeId ns3::Scheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## scheduler.h: void ns3::Scheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_pure_virtual=True, is_virtual=True) - ## scheduler.h: bool ns3::Scheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## scheduler.h: ns3::Scheduler::Event ns3::Scheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## scheduler.h: void ns3::Scheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_pure_virtual=True, is_virtual=True) - ## scheduler.h: ns3::Scheduler::Event ns3::Scheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3SchedulerEvent_methods(root_module, cls): - cls.add_binary_comparison_operator('<') - ## scheduler.h: ns3::Scheduler::Event::Event() [constructor] - cls.add_constructor([]) - ## scheduler.h: ns3::Scheduler::Event::Event(ns3::Scheduler::Event const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Scheduler::Event const &', 'arg0')]) - ## scheduler.h: ns3::Scheduler::Event::impl [variable] - cls.add_instance_attribute('impl', 'ns3::EventImpl *', is_const=False) - ## scheduler.h: ns3::Scheduler::Event::key [variable] - cls.add_instance_attribute('key', 'ns3::Scheduler::EventKey', is_const=False) - return - -def register_Ns3SchedulerEventKey_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_binary_comparison_operator('<') - cls.add_binary_comparison_operator('>') - ## scheduler.h: ns3::Scheduler::EventKey::EventKey() [constructor] - cls.add_constructor([]) - ## scheduler.h: ns3::Scheduler::EventKey::EventKey(ns3::Scheduler::EventKey const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Scheduler::EventKey const &', 'arg0')]) - ## scheduler.h: ns3::Scheduler::EventKey::m_context [variable] - cls.add_instance_attribute('m_context', 'uint32_t', is_const=False) - ## scheduler.h: ns3::Scheduler::EventKey::m_ts [variable] - cls.add_instance_attribute('m_ts', 'uint64_t', is_const=False) - ## scheduler.h: ns3::Scheduler::EventKey::m_uid [variable] - cls.add_instance_attribute('m_uid', 'uint32_t', is_const=False) - return - -def register_Ns3SimulatorImpl_methods(root_module, cls): - ## simulator-impl.h: ns3::SimulatorImpl::SimulatorImpl() [constructor] - cls.add_constructor([]) - ## simulator-impl.h: ns3::SimulatorImpl::SimulatorImpl(ns3::SimulatorImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SimulatorImpl const &', 'arg0')]) - ## simulator-impl.h: void ns3::SimulatorImpl::Cancel(ns3::EventId const & ev) [member function] - cls.add_method('Cancel', - 'void', - [param('ns3::EventId const &', 'ev')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::Destroy() [member function] - cls.add_method('Destroy', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: uint32_t ns3::SimulatorImpl::GetContext() const [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [param('ns3::EventId const &', 'id')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::GetMaximumSimulationTime() const [member function] - cls.add_method('GetMaximumSimulationTime', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: uint32_t ns3::SimulatorImpl::GetSystemId() const [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: static ns3::TypeId ns3::SimulatorImpl::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## simulator-impl.h: bool ns3::SimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] - cls.add_method('IsExpired', - 'bool', - [param('ns3::EventId const &', 'ev')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: bool ns3::SimulatorImpl::IsFinished() const [member function] - cls.add_method('IsFinished', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::Next() const [member function] - cls.add_method('Next', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::Now() const [member function] - cls.add_method('Now', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::Remove(ns3::EventId const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::EventId const &', 'ev')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::Run() [member function] - cls.add_method('Run', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::RunOneEvent() [member function] - cls.add_method('RunOneEvent', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('Schedule', - 'ns3::EventId', - [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleDestroy', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleNow', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] - cls.add_method('SetScheduler', - 'void', - [param('ns3::ObjectFactory', 'schedulerFactory')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::Stop(ns3::Time const & time) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'time')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3Synchronizer_methods(root_module, cls): - ## synchronizer.h: ns3::Synchronizer::Synchronizer(ns3::Synchronizer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Synchronizer const &', 'arg0')]) - ## synchronizer.h: ns3::Synchronizer::Synchronizer() [constructor] - cls.add_constructor([]) - ## synchronizer.h: uint64_t ns3::Synchronizer::EventEnd() [member function] - cls.add_method('EventEnd', - 'uint64_t', - []) - ## synchronizer.h: void ns3::Synchronizer::EventStart() [member function] - cls.add_method('EventStart', - 'void', - []) - ## synchronizer.h: uint64_t ns3::Synchronizer::GetCurrentRealtime() [member function] - cls.add_method('GetCurrentRealtime', - 'uint64_t', - []) - ## synchronizer.h: int64_t ns3::Synchronizer::GetDrift(uint64_t ts) [member function] - cls.add_method('GetDrift', - 'int64_t', - [param('uint64_t', 'ts')]) - ## synchronizer.h: uint64_t ns3::Synchronizer::GetOrigin() [member function] - cls.add_method('GetOrigin', - 'uint64_t', - []) - ## synchronizer.h: static ns3::TypeId ns3::Synchronizer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## synchronizer.h: bool ns3::Synchronizer::Realtime() [member function] - cls.add_method('Realtime', - 'bool', - []) - ## synchronizer.h: void ns3::Synchronizer::SetCondition(bool arg0) [member function] - cls.add_method('SetCondition', - 'void', - [param('bool', 'arg0')]) - ## synchronizer.h: void ns3::Synchronizer::SetOrigin(uint64_t ts) [member function] - cls.add_method('SetOrigin', - 'void', - [param('uint64_t', 'ts')]) - ## synchronizer.h: void ns3::Synchronizer::Signal() [member function] - cls.add_method('Signal', - 'void', - []) - ## synchronizer.h: bool ns3::Synchronizer::Synchronize(uint64_t tsCurrent, uint64_t tsDelay) [member function] - cls.add_method('Synchronize', - 'bool', - [param('uint64_t', 'tsCurrent'), param('uint64_t', 'tsDelay')]) - ## synchronizer.h: uint64_t ns3::Synchronizer::DoEventEnd() [member function] - cls.add_method('DoEventEnd', - 'uint64_t', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: void ns3::Synchronizer::DoEventStart() [member function] - cls.add_method('DoEventStart', - 'void', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: uint64_t ns3::Synchronizer::DoGetCurrentRealtime() [member function] - cls.add_method('DoGetCurrentRealtime', - 'uint64_t', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: int64_t ns3::Synchronizer::DoGetDrift(uint64_t ns) [member function] - cls.add_method('DoGetDrift', - 'int64_t', - [param('uint64_t', 'ns')], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: bool ns3::Synchronizer::DoRealtime() [member function] - cls.add_method('DoRealtime', - 'bool', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: void ns3::Synchronizer::DoSetCondition(bool arg0) [member function] - cls.add_method('DoSetCondition', - 'void', - [param('bool', 'arg0')], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: void ns3::Synchronizer::DoSetOrigin(uint64_t ns) [member function] - cls.add_method('DoSetOrigin', - 'void', - [param('uint64_t', 'ns')], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: void ns3::Synchronizer::DoSignal() [member function] - cls.add_method('DoSignal', - 'void', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: bool ns3::Synchronizer::DoSynchronize(uint64_t nsCurrent, uint64_t nsDelay) [member function] - cls.add_method('DoSynchronize', - 'bool', - [param('uint64_t', 'nsCurrent'), param('uint64_t', 'nsDelay')], - is_pure_virtual=True, visibility='protected', is_virtual=True) - return - -def register_Ns3WallClockSynchronizer_methods(root_module, cls): - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::WallClockSynchronizer(ns3::WallClockSynchronizer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WallClockSynchronizer const &', 'arg0')]) - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::WallClockSynchronizer() [constructor] - cls.add_constructor([]) - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::NS_PER_SEC [variable] - cls.add_static_attribute('NS_PER_SEC', 'uint64_t const', is_const=True) - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::US_PER_NS [variable] - cls.add_static_attribute('US_PER_NS', 'uint64_t const', is_const=True) - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::US_PER_SEC [variable] - cls.add_static_attribute('US_PER_SEC', 'uint64_t const', is_const=True) - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DoEventEnd() [member function] - cls.add_method('DoEventEnd', - 'uint64_t', - [], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoEventStart() [member function] - cls.add_method('DoEventStart', - 'void', - [], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DoGetCurrentRealtime() [member function] - cls.add_method('DoGetCurrentRealtime', - 'uint64_t', - [], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: int64_t ns3::WallClockSynchronizer::DoGetDrift(uint64_t ns) [member function] - cls.add_method('DoGetDrift', - 'int64_t', - [param('uint64_t', 'ns')], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::DoRealtime() [member function] - cls.add_method('DoRealtime', - 'bool', - [], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSetCondition(bool cond) [member function] - cls.add_method('DoSetCondition', - 'void', - [param('bool', 'cond')], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSetOrigin(uint64_t ns) [member function] - cls.add_method('DoSetOrigin', - 'void', - [param('uint64_t', 'ns')], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSignal() [member function] - cls.add_method('DoSignal', - 'void', - [], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::DoSynchronize(uint64_t nsCurrent, uint64_t nsDelay) [member function] - cls.add_method('DoSynchronize', - 'bool', - [param('uint64_t', 'nsCurrent'), param('uint64_t', 'nsDelay')], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DriftCorrect(uint64_t nsNow, uint64_t nsDelay) [member function] - cls.add_method('DriftCorrect', - 'uint64_t', - [param('uint64_t', 'nsNow'), param('uint64_t', 'nsDelay')], - visibility='protected') - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::GetNormalizedRealtime() [member function] - cls.add_method('GetNormalizedRealtime', - 'uint64_t', - [], - visibility='protected') - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::GetRealtime() [member function] - cls.add_method('GetRealtime', - 'uint64_t', - [], - visibility='protected') - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::NsToTimeval(int64_t ns, timeval * tv) [member function] - cls.add_method('NsToTimeval', - 'void', - [param('int64_t', 'ns'), param('timeval *', 'tv')], - visibility='protected') - ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::SleepWait(uint64_t arg0) [member function] - cls.add_method('SleepWait', - 'bool', - [param('uint64_t', 'arg0')], - visibility='protected') - ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::SpinWait(uint64_t arg0) [member function] - cls.add_method('SpinWait', - 'bool', - [param('uint64_t', 'arg0')], - visibility='protected') - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::TimevalAdd(timeval * tv1, timeval * tv2, timeval * result) [member function] - cls.add_method('TimevalAdd', - 'void', - [param('timeval *', 'tv1'), param('timeval *', 'tv2'), param('timeval *', 'result')], - visibility='protected') - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::TimevalToNs(timeval * tv) [member function] - cls.add_method('TimevalToNs', - 'uint64_t', - [param('timeval *', 'tv')], - visibility='protected') - return - -def register_Ns3CalendarScheduler_methods(root_module, cls): - ## calendar-scheduler.h: ns3::CalendarScheduler::CalendarScheduler(ns3::CalendarScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CalendarScheduler const &', 'arg0')]) - ## calendar-scheduler.h: ns3::CalendarScheduler::CalendarScheduler() [constructor] - cls.add_constructor([]) - ## calendar-scheduler.h: static ns3::TypeId ns3::CalendarScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## calendar-scheduler.h: void ns3::CalendarScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## calendar-scheduler.h: bool ns3::CalendarScheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True, is_virtual=True) - ## calendar-scheduler.h: ns3::Scheduler::Event ns3::CalendarScheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_const=True, is_virtual=True) - ## calendar-scheduler.h: void ns3::CalendarScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## calendar-scheduler.h: ns3::Scheduler::Event ns3::CalendarScheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_virtual=True) - return - -def register_Ns3DefaultSimulatorImpl_methods(root_module, cls): - ## default-simulator-impl.h: ns3::DefaultSimulatorImpl::DefaultSimulatorImpl(ns3::DefaultSimulatorImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DefaultSimulatorImpl const &', 'arg0')]) - ## default-simulator-impl.h: ns3::DefaultSimulatorImpl::DefaultSimulatorImpl() [constructor] - cls.add_constructor([]) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Cancel(ns3::EventId const & ev) [member function] - cls.add_method('Cancel', - 'void', - [param('ns3::EventId const &', 'ev')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Destroy() [member function] - cls.add_method('Destroy', - 'void', - [], - is_virtual=True) - ## default-simulator-impl.h: uint32_t ns3::DefaultSimulatorImpl::GetContext() const [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [param('ns3::EventId const &', 'id')], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetMaximumSimulationTime() const [member function] - cls.add_method('GetMaximumSimulationTime', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: uint32_t ns3::DefaultSimulatorImpl::GetSystemId() const [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: static ns3::TypeId ns3::DefaultSimulatorImpl::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## default-simulator-impl.h: bool ns3::DefaultSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] - cls.add_method('IsExpired', - 'bool', - [param('ns3::EventId const &', 'ev')], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: bool ns3::DefaultSimulatorImpl::IsFinished() const [member function] - cls.add_method('IsFinished', - 'bool', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::Next() const [member function] - cls.add_method('Next', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::Now() const [member function] - cls.add_method('Now', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Remove(ns3::EventId const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::EventId const &', 'ev')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Run() [member function] - cls.add_method('Run', - 'void', - [], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::RunOneEvent() [member function] - cls.add_method('RunOneEvent', - 'void', - [], - is_virtual=True) - ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('Schedule', - 'ns3::EventId', - [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleDestroy', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleNow', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] - cls.add_method('SetScheduler', - 'void', - [param('ns3::ObjectFactory', 'schedulerFactory')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop(ns3::Time const & time) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'time')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3EventImpl_methods(root_module, cls): - ## event-impl.h: ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EventImpl const &', 'arg0')]) - ## event-impl.h: ns3::EventImpl::EventImpl() [constructor] - cls.add_constructor([]) - ## event-impl.h: void ns3::EventImpl::Cancel() [member function] - cls.add_method('Cancel', - 'void', - []) - ## event-impl.h: void ns3::EventImpl::Invoke() [member function] - cls.add_method('Invoke', - 'void', - []) - ## event-impl.h: bool ns3::EventImpl::IsCancelled() [member function] - cls.add_method('IsCancelled', - 'bool', - []) - ## event-impl.h: void ns3::EventImpl::Notify() [member function] - cls.add_method('Notify', - 'void', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - return - -def register_Ns3FdReader_methods(root_module, cls): - ## unix-fd-reader.h: ns3::FdReader::FdReader(ns3::FdReader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FdReader const &', 'arg0')]) - ## unix-fd-reader.h: ns3::FdReader::FdReader() [constructor] - cls.add_constructor([]) - ## unix-fd-reader.h: void ns3::FdReader::Start(int fd, ns3::Callback readCallback) [member function] - cls.add_method('Start', - 'void', - [param('int', 'fd'), param('ns3::Callback< void, unsigned char *, int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'readCallback')]) - ## unix-fd-reader.h: void ns3::FdReader::Stop() [member function] - cls.add_method('Stop', - 'void', - []) - ## unix-fd-reader.h: ns3::FdReader::Data ns3::FdReader::DoRead() [member function] - cls.add_method('DoRead', - 'ns3::FdReader::Data', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - return - -def register_Ns3HeapScheduler_methods(root_module, cls): - ## heap-scheduler.h: ns3::HeapScheduler::HeapScheduler(ns3::HeapScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::HeapScheduler const &', 'arg0')]) - ## heap-scheduler.h: ns3::HeapScheduler::HeapScheduler() [constructor] - cls.add_constructor([]) - ## heap-scheduler.h: static ns3::TypeId ns3::HeapScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## heap-scheduler.h: void ns3::HeapScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## heap-scheduler.h: bool ns3::HeapScheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True, is_virtual=True) - ## heap-scheduler.h: ns3::Scheduler::Event ns3::HeapScheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_const=True, is_virtual=True) - ## heap-scheduler.h: void ns3::HeapScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## heap-scheduler.h: ns3::Scheduler::Event ns3::HeapScheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_virtual=True) - return - -def register_Ns3ListScheduler_methods(root_module, cls): - ## list-scheduler.h: ns3::ListScheduler::ListScheduler(ns3::ListScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ListScheduler const &', 'arg0')]) - ## list-scheduler.h: ns3::ListScheduler::ListScheduler() [constructor] - cls.add_constructor([]) - ## list-scheduler.h: static ns3::TypeId ns3::ListScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## list-scheduler.h: void ns3::ListScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## list-scheduler.h: bool ns3::ListScheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True, is_virtual=True) - ## list-scheduler.h: ns3::Scheduler::Event ns3::ListScheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_const=True, is_virtual=True) - ## list-scheduler.h: void ns3::ListScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## list-scheduler.h: ns3::Scheduler::Event ns3::ListScheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_virtual=True) - return - -def register_Ns3MapScheduler_methods(root_module, cls): - ## map-scheduler.h: ns3::MapScheduler::MapScheduler(ns3::MapScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MapScheduler const &', 'arg0')]) - ## map-scheduler.h: ns3::MapScheduler::MapScheduler() [constructor] - cls.add_constructor([]) - ## map-scheduler.h: static ns3::TypeId ns3::MapScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## map-scheduler.h: void ns3::MapScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## map-scheduler.h: bool ns3::MapScheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True, is_virtual=True) - ## map-scheduler.h: ns3::Scheduler::Event ns3::MapScheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_const=True, is_virtual=True) - ## map-scheduler.h: void ns3::MapScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## map-scheduler.h: ns3::Scheduler::Event ns3::MapScheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_virtual=True) - return - -def register_Ns3Ns2CalendarScheduler_methods(root_module, cls): - ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler::Ns2CalendarScheduler(ns3::Ns2CalendarScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ns2CalendarScheduler const &', 'arg0')]) - ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler::Ns2CalendarScheduler() [constructor] - cls.add_constructor([]) - ## ns2-calendar-scheduler.h: static ns3::TypeId ns3::Ns2CalendarScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ns2-calendar-scheduler.h: void ns3::Ns2CalendarScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## ns2-calendar-scheduler.h: bool ns3::Ns2CalendarScheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True, is_virtual=True) - ## ns2-calendar-scheduler.h: ns3::Scheduler::Event ns3::Ns2CalendarScheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_const=True, is_virtual=True) - ## ns2-calendar-scheduler.h: void ns3::Ns2CalendarScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## ns2-calendar-scheduler.h: ns3::Scheduler::Event ns3::Ns2CalendarScheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_virtual=True) - return - -def register_Ns3RealtimeSimulatorImpl_methods(root_module, cls): - ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::RealtimeSimulatorImpl(ns3::RealtimeSimulatorImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RealtimeSimulatorImpl const &', 'arg0')]) - ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::RealtimeSimulatorImpl() [constructor] - cls.add_constructor([]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Cancel(ns3::EventId const & ev) [member function] - cls.add_method('Cancel', - 'void', - [param('ns3::EventId const &', 'ev')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Destroy() [member function] - cls.add_method('Destroy', - 'void', - [], - is_virtual=True) - ## realtime-simulator-impl.h: uint32_t ns3::RealtimeSimulatorImpl::GetContext() const [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [param('ns3::EventId const &', 'id')], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetHardLimit() const [member function] - cls.add_method('GetHardLimit', - 'ns3::Time', - [], - is_const=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetMaximumSimulationTime() const [member function] - cls.add_method('GetMaximumSimulationTime', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode ns3::RealtimeSimulatorImpl::GetSynchronizationMode() const [member function] - cls.add_method('GetSynchronizationMode', - 'ns3::RealtimeSimulatorImpl::SynchronizationMode', - [], - is_const=True) - ## realtime-simulator-impl.h: uint32_t ns3::RealtimeSimulatorImpl::GetSystemId() const [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: static ns3::TypeId ns3::RealtimeSimulatorImpl::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## realtime-simulator-impl.h: bool ns3::RealtimeSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] - cls.add_method('IsExpired', - 'bool', - [param('ns3::EventId const &', 'ev')], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: bool ns3::RealtimeSimulatorImpl::IsFinished() const [member function] - cls.add_method('IsFinished', - 'bool', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::Next() const [member function] - cls.add_method('Next', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::Now() const [member function] - cls.add_method('Now', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::RealtimeNow() const [member function] - cls.add_method('RealtimeNow', - 'ns3::Time', - [], - is_const=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Remove(ns3::EventId const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::EventId const &', 'ev')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Run() [member function] - cls.add_method('Run', - 'void', - [], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::RunOneEvent() [member function] - cls.add_method('RunOneEvent', - 'void', - [], - is_virtual=True) - ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('Schedule', - 'ns3::EventId', - [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleDestroy', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleNow', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtime(ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleRealtime', - 'void', - [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeNow(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleRealtimeNow', - 'void', - [param('ns3::EventImpl *', 'event')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeNowWithContext(uint32_t context, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleRealtimeNowWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::EventImpl *', 'event')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleRealtimeWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetHardLimit(ns3::Time limit) [member function] - cls.add_method('SetHardLimit', - 'void', - [param('ns3::Time', 'limit')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] - cls.add_method('SetScheduler', - 'void', - [param('ns3::ObjectFactory', 'schedulerFactory')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetSynchronizationMode(ns3::RealtimeSimulatorImpl::SynchronizationMode mode) [member function] - cls.add_method('SetSynchronizationMode', - 'void', - [param('ns3::RealtimeSimulatorImpl::SynchronizationMode', 'mode')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Stop(ns3::Time const & time) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'time')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3TimeChecker_methods(root_module, cls): - ## nstime.h: ns3::TimeChecker::TimeChecker() [constructor] - cls.add_constructor([]) - ## nstime.h: ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')]) - return - -def register_Ns3TimeValue_methods(root_module, cls): - ## nstime.h: ns3::TimeValue::TimeValue() [constructor] - cls.add_constructor([]) - ## nstime.h: ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TimeValue const &', 'arg0')]) - ## nstime.h: ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor] - cls.add_constructor([param('ns3::Time const &', 'value')]) - ## nstime.h: ns3::Ptr ns3::TimeValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## nstime.h: bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## nstime.h: ns3::Time ns3::TimeValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Time', - [], - is_const=True) - ## nstime.h: std::string ns3::TimeValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## nstime.h: void ns3::TimeValue::Set(ns3::Time const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Time const &', 'value')]) - return - -def register_functions(root_module): - module = root_module - ## high-precision.h: extern ns3::HighPrecision ns3::Abs(ns3::HighPrecision const & value) [free function] - module.add_function('Abs', - 'ns3::HighPrecision', - [param('ns3::HighPrecision const &', 'value')]) - ## nstime.h: ns3::Time ns3::Abs(ns3::Time const & time) [free function] - module.add_function('Abs', - 'ns3::Time', - [param('ns3::Time const &', 'time')]) - ## nstime.h: ns3::Time ns3::FemtoSeconds(uint64_t fs) [free function] - module.add_function('FemtoSeconds', - 'ns3::Time', - [param('uint64_t', 'fs')]) - ## make-event.h: extern ns3::EventImpl * ns3::MakeEvent(void (*)( ) * f) [free function] - module.add_function('MakeEvent', - 'ns3::EventImpl *', - [param('void ( * ) ( ) *', 'f')]) - ## nstime.h: extern ns3::Ptr ns3::MakeTimeChecker() [free function] - module.add_function('MakeTimeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## high-precision.h: ns3::HighPrecision ns3::Max(ns3::HighPrecision const & a, ns3::HighPrecision const & b) [free function] - module.add_function('Max', - 'ns3::HighPrecision', - [param('ns3::HighPrecision const &', 'a'), param('ns3::HighPrecision const &', 'b')]) - ## nstime.h: ns3::Time ns3::Max(ns3::Time const & ta, ns3::Time const & tb) [free function] - module.add_function('Max', - 'ns3::Time', - [param('ns3::Time const &', 'ta'), param('ns3::Time const &', 'tb')]) - ## nstime.h: ns3::Time ns3::MicroSeconds(uint64_t us) [free function] - module.add_function('MicroSeconds', - 'ns3::Time', - [param('uint64_t', 'us')]) - ## nstime.h: ns3::Time ns3::MilliSeconds(uint64_t ms) [free function] - module.add_function('MilliSeconds', - 'ns3::Time', - [param('uint64_t', 'ms')]) - ## high-precision.h: ns3::HighPrecision ns3::Min(ns3::HighPrecision const & a, ns3::HighPrecision const & b) [free function] - module.add_function('Min', - 'ns3::HighPrecision', - [param('ns3::HighPrecision const &', 'a'), param('ns3::HighPrecision const &', 'b')]) - ## nstime.h: ns3::Time ns3::Min(ns3::Time const & ta, ns3::Time const & tb) [free function] - module.add_function('Min', - 'ns3::Time', - [param('ns3::Time const &', 'ta'), param('ns3::Time const &', 'tb')]) - ## nstime.h: ns3::Time ns3::NanoSeconds(uint64_t ns) [free function] - module.add_function('NanoSeconds', - 'ns3::Time', - [param('uint64_t', 'ns')]) - ## simulator.h: extern ns3::Time ns3::Now() [free function] - module.add_function('Now', - 'ns3::Time', - []) - ## nstime.h: ns3::Time ns3::PicoSeconds(uint64_t ps) [free function] - module.add_function('PicoSeconds', - 'ns3::Time', - [param('uint64_t', 'ps')]) - ## nstime.h: ns3::Time ns3::Seconds(double seconds) [free function] - module.add_function('Seconds', - 'ns3::Time', - [param('double', 'seconds')]) - ## nstime.h: ns3::Time ns3::TimeStep(uint64_t ts) [free function] - module.add_function('TimeStep', - 'ns3::Time', - [param('uint64_t', 'ts')]) - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_stats.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_stats.py index 01bfdf7b9..3f2f24d8e 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_stats.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_stats.py @@ -19,6 +19,8 @@ def register_types(module): module.add_class('OmnetDataOutput', parent=root_module['ns3::DataOutputInterface']) ## packet-data-calculators.h: ns3::PacketSizeMinMaxAvgTotalCalculator [class] module.add_class('PacketSizeMinMaxAvgTotalCalculator', parent=root_module['ns3::MinMaxAvgTotalCalculator< unsigned int >']) + ## sqlite-data-output.h: ns3::SqliteDataOutput [class] + module.add_class('SqliteDataOutput', parent=root_module['ns3::DataOutputInterface']) ## time-data-calculators.h: ns3::TimeMinMaxAvgTotalCalculator [class] module.add_class('TimeMinMaxAvgTotalCalculator', parent=root_module['ns3::DataCalculator']) ## basic-data-calculators.h: ns3::CounterCalculator [class] @@ -131,6 +133,7 @@ def register_methods(root_module): register_Ns3MinMaxAvgTotalCalculator__Unsigned_int_methods(root_module, root_module['ns3::MinMaxAvgTotalCalculator< unsigned int >']) register_Ns3OmnetDataOutput_methods(root_module, root_module['ns3::OmnetDataOutput']) register_Ns3PacketSizeMinMaxAvgTotalCalculator_methods(root_module, root_module['ns3::PacketSizeMinMaxAvgTotalCalculator']) + register_Ns3SqliteDataOutput_methods(root_module, root_module['ns3::SqliteDataOutput']) register_Ns3TimeMinMaxAvgTotalCalculator_methods(root_module, root_module['ns3::TimeMinMaxAvgTotalCalculator']) register_Ns3CounterCalculator__Unsigned_int_methods(root_module, root_module['ns3::CounterCalculator< unsigned int >']) register_Ns3PacketCounterCalculator_methods(root_module, root_module['ns3::PacketCounterCalculator']) @@ -475,6 +478,23 @@ def register_Ns3PacketSizeMinMaxAvgTotalCalculator_methods(root_module, cls): visibility='protected', is_virtual=True) return +def register_Ns3SqliteDataOutput_methods(root_module, cls): + ## sqlite-data-output.h: ns3::SqliteDataOutput::SqliteDataOutput(ns3::SqliteDataOutput const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SqliteDataOutput const &', 'arg0')]) + ## sqlite-data-output.h: ns3::SqliteDataOutput::SqliteDataOutput() [constructor] + cls.add_constructor([]) + ## sqlite-data-output.h: void ns3::SqliteDataOutput::Output(ns3::DataCollector & dc) [member function] + cls.add_method('Output', + 'void', + [param('ns3::DataCollector &', 'dc')], + is_virtual=True) + ## sqlite-data-output.h: void ns3::SqliteDataOutput::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + return + def register_Ns3TimeMinMaxAvgTotalCalculator_methods(root_module, cls): ## time-data-calculators.h: ns3::TimeMinMaxAvgTotalCalculator::TimeMinMaxAvgTotalCalculator(ns3::TimeMinMaxAvgTotalCalculator const & arg0) [copy constructor] cls.add_constructor([param('ns3::TimeMinMaxAvgTotalCalculator const &', 'arg0')]) diff --git a/bindings/python/apidefs/gcc-ILP32/ns3modulegen_generated.py b/bindings/python/apidefs/gcc-ILP32/ns3modulegen_generated.py index 547ea8bce..115e78c16 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3modulegen_generated.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3modulegen_generated.py @@ -13,11 +13,10 @@ pybindgen.settings.error_handler = ErrorHandler() import sys import ns3_module_core -import ns3_module_simulator -import ns3_module_test -import ns3_module_visualizer import ns3_module_mobility import ns3_module_mpi +import ns3_module_test +import ns3_module_visualizer import ns3_module_common import ns3_module_contrib import ns3_module_node @@ -76,39 +75,6 @@ def register_types(module): ns3_module_core__local.register_types(module) root_module.end_section('ns3_module_core') - root_module.begin_section('ns3_module_simulator') - ns3_module_simulator.register_types(module) - - try: - import ns3_module_simulator__local - except ImportError: - pass - else: - ns3_module_simulator__local.register_types(module) - - root_module.end_section('ns3_module_simulator') - root_module.begin_section('ns3_module_test') - ns3_module_test.register_types(module) - - try: - import ns3_module_test__local - except ImportError: - pass - else: - ns3_module_test__local.register_types(module) - - root_module.end_section('ns3_module_test') - root_module.begin_section('ns3_module_visualizer') - ns3_module_visualizer.register_types(module) - - try: - import ns3_module_visualizer__local - except ImportError: - pass - else: - ns3_module_visualizer__local.register_types(module) - - root_module.end_section('ns3_module_visualizer') root_module.begin_section('ns3_module_mobility') ns3_module_mobility.register_types(module) @@ -131,6 +97,28 @@ def register_types(module): ns3_module_mpi__local.register_types(module) root_module.end_section('ns3_module_mpi') + root_module.begin_section('ns3_module_test') + ns3_module_test.register_types(module) + + try: + import ns3_module_test__local + except ImportError: + pass + else: + ns3_module_test__local.register_types(module) + + root_module.end_section('ns3_module_test') + root_module.begin_section('ns3_module_visualizer') + ns3_module_visualizer.register_types(module) + + try: + import ns3_module_visualizer__local + except ImportError: + pass + else: + ns3_module_visualizer__local.register_types(module) + + root_module.end_section('ns3_module_visualizer') root_module.begin_section('ns3_module_common') ns3_module_common.register_types(module) @@ -683,39 +671,6 @@ def register_methods(root_module): ns3_module_core__local.register_methods(root_module) root_module.end_section('ns3_module_core') - root_module.begin_section('ns3_module_simulator') - ns3_module_simulator.register_methods(root_module) - - try: - import ns3_module_simulator__local - except ImportError: - pass - else: - ns3_module_simulator__local.register_methods(root_module) - - root_module.end_section('ns3_module_simulator') - root_module.begin_section('ns3_module_test') - ns3_module_test.register_methods(root_module) - - try: - import ns3_module_test__local - except ImportError: - pass - else: - ns3_module_test__local.register_methods(root_module) - - root_module.end_section('ns3_module_test') - root_module.begin_section('ns3_module_visualizer') - ns3_module_visualizer.register_methods(root_module) - - try: - import ns3_module_visualizer__local - except ImportError: - pass - else: - ns3_module_visualizer__local.register_methods(root_module) - - root_module.end_section('ns3_module_visualizer') root_module.begin_section('ns3_module_mobility') ns3_module_mobility.register_methods(root_module) @@ -738,6 +693,28 @@ def register_methods(root_module): ns3_module_mpi__local.register_methods(root_module) root_module.end_section('ns3_module_mpi') + root_module.begin_section('ns3_module_test') + ns3_module_test.register_methods(root_module) + + try: + import ns3_module_test__local + except ImportError: + pass + else: + ns3_module_test__local.register_methods(root_module) + + root_module.end_section('ns3_module_test') + root_module.begin_section('ns3_module_visualizer') + ns3_module_visualizer.register_methods(root_module) + + try: + import ns3_module_visualizer__local + except ImportError: + pass + else: + ns3_module_visualizer__local.register_methods(root_module) + + root_module.end_section('ns3_module_visualizer') root_module.begin_section('ns3_module_common') ns3_module_common.register_methods(root_module) @@ -1182,39 +1159,6 @@ def register_functions(root_module): ns3_module_core__local.register_functions(root_module) root_module.end_section('ns3_module_core') - root_module.begin_section('ns3_module_simulator') - ns3_module_simulator.register_functions(root_module) - - try: - import ns3_module_simulator__local - except ImportError: - pass - else: - ns3_module_simulator__local.register_functions(root_module) - - root_module.end_section('ns3_module_simulator') - root_module.begin_section('ns3_module_test') - ns3_module_test.register_functions(root_module) - - try: - import ns3_module_test__local - except ImportError: - pass - else: - ns3_module_test__local.register_functions(root_module) - - root_module.end_section('ns3_module_test') - root_module.begin_section('ns3_module_visualizer') - ns3_module_visualizer.register_functions(root_module) - - try: - import ns3_module_visualizer__local - except ImportError: - pass - else: - ns3_module_visualizer__local.register_functions(root_module) - - root_module.end_section('ns3_module_visualizer') root_module.begin_section('ns3_module_mobility') ns3_module_mobility.register_functions(root_module) @@ -1237,6 +1181,28 @@ def register_functions(root_module): ns3_module_mpi__local.register_functions(root_module) root_module.end_section('ns3_module_mpi') + root_module.begin_section('ns3_module_test') + ns3_module_test.register_functions(root_module) + + try: + import ns3_module_test__local + except ImportError: + pass + else: + ns3_module_test__local.register_functions(root_module) + + root_module.end_section('ns3_module_test') + root_module.begin_section('ns3_module_visualizer') + ns3_module_visualizer.register_functions(root_module) + + try: + import ns3_module_visualizer__local + except ImportError: + pass + else: + ns3_module_visualizer__local.register_functions(root_module) + + root_module.end_section('ns3_module_visualizer') root_module.begin_section('ns3_module_common') ns3_module_common.register_functions(root_module) diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_contrib.py b/bindings/python/apidefs/gcc-LP64/ns3_module_contrib.py index c71e3b90b..a58d25fd8 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_contrib.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_contrib.py @@ -17,6 +17,8 @@ def register_types(module): module.add_class('GnuplotCollection') ## gnuplot.h: ns3::GnuplotDataset [class] module.add_class('GnuplotDataset') + ## gtk-config-store.h: ns3::GtkConfigStore [class] + module.add_class('GtkConfigStore') ## file-config.h: ns3::NoneFileConfig [class] module.add_class('NoneFileConfig', parent=root_module['ns3::FileConfig']) ## config-store.h: ns3::ConfigStore [class] @@ -138,6 +140,7 @@ def register_methods(root_module): register_Ns3Gnuplot_methods(root_module, root_module['ns3::Gnuplot']) register_Ns3GnuplotCollection_methods(root_module, root_module['ns3::GnuplotCollection']) register_Ns3GnuplotDataset_methods(root_module, root_module['ns3::GnuplotDataset']) + register_Ns3GtkConfigStore_methods(root_module, root_module['ns3::GtkConfigStore']) register_Ns3NoneFileConfig_methods(root_module, root_module['ns3::NoneFileConfig']) register_Ns3ConfigStore_methods(root_module, root_module['ns3::ConfigStore']) register_Ns3FlowIdTag_methods(root_module, root_module['ns3::FlowIdTag']) @@ -362,6 +365,21 @@ def register_Ns3GnuplotDataset_methods(root_module, cls): visibility='protected') return +def register_Ns3GtkConfigStore_methods(root_module, cls): + ## gtk-config-store.h: ns3::GtkConfigStore::GtkConfigStore(ns3::GtkConfigStore const & arg0) [copy constructor] + cls.add_constructor([param('ns3::GtkConfigStore const &', 'arg0')]) + ## gtk-config-store.h: ns3::GtkConfigStore::GtkConfigStore() [constructor] + cls.add_constructor([]) + ## gtk-config-store.h: void ns3::GtkConfigStore::ConfigureAttributes() [member function] + cls.add_method('ConfigureAttributes', + 'void', + []) + ## gtk-config-store.h: void ns3::GtkConfigStore::ConfigureDefaults() [member function] + cls.add_method('ConfigureDefaults', + 'void', + []) + return + def register_Ns3NoneFileConfig_methods(root_module, cls): ## file-config.h: ns3::NoneFileConfig::NoneFileConfig(ns3::NoneFileConfig const & arg0) [copy constructor] cls.add_constructor([param('ns3::NoneFileConfig const &', 'arg0')]) diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_core.py b/bindings/python/apidefs/gcc-LP64/ns3_module_core.py index 1df9ed0d1..72c735465 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_core.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_core.py @@ -13,8 +13,12 @@ def register_types(module): module.add_class('CommandLine', allow_subclassing=True) ## system-mutex.h: ns3::CriticalSection [class] module.add_class('CriticalSection') + ## event-id.h: ns3::EventId [class] + module.add_class('EventId') ## global-value.h: ns3::GlobalValue [class] module.add_class('GlobalValue') + ## high-precision-double.h: ns3::HighPrecision [class] + module.add_class('HighPrecision') ## int-to-type.h: ns3::IntToType<0> [struct] module.add_class('IntToType', template_parameters=['0']) ## int-to-type.h: ns3::IntToType<0>::v_e [enumeration] @@ -61,6 +65,8 @@ def register_types(module): module.add_class('SequentialVariable', parent=root_module['ns3::RandomVariable']) ## simple-ref-count.h: ns3::SimpleRefCount [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) + ## simulator.h: ns3::Simulator [class] + module.add_class('Simulator', is_singleton=True) ## system-condition.h: ns3::SystemCondition [class] module.add_class('SystemCondition') ## system-mutex.h: ns3::SystemMutex [class] @@ -75,8 +81,28 @@ def register_types(module): module.add_class('TestSuite', allow_subclassing=True) ## test.h: ns3::TestSuite::TestType [enumeration] module.add_enum('TestType', ['BVT', 'UNIT', 'SYSTEM', 'EXAMPLE', 'PERFORMANCE'], outer_class=root_module['ns3::TestSuite']) + ## nstime.h: ns3::Time [class] + module.add_class('Time') + ## nstime.h: ns3::Time::Unit [enumeration] + module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time']) + ## time-base.h: ns3::TimeBase [class] + module.add_class('TimeBase') + ## time-base.h: ns3::TimeBase::Unit [enumeration] + module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::TimeBase']) + ## timer.h: ns3::Timer [class] + module.add_class('Timer') + ## timer.h: ns3::Timer::DestroyPolicy [enumeration] + module.add_enum('DestroyPolicy', ['CANCEL_ON_DESTROY', 'REMOVE_ON_DESTROY', 'CHECK_ON_DESTROY'], outer_class=root_module['ns3::Timer']) + ## timer.h: ns3::Timer::State [enumeration] + module.add_enum('State', ['RUNNING', 'EXPIRED', 'SUSPENDED'], outer_class=root_module['ns3::Timer']) + ## timer-impl.h: ns3::TimerImpl [class] + module.add_class('TimerImpl', allow_subclassing=True) ## traced-value.h: ns3::TracedValue [class] module.add_class('TracedValue', template_parameters=['double']) + ## traced-value.h: ns3::TracedValue [class] + module.add_class('TracedValue', template_parameters=['ns3::Time']) + ## traced-value.h: ns3::TracedValue [class] + root_module['ns3::TracedValue< ns3::Time >'].implicitly_converts_to(root_module['ns3::Time']) ## random-variable.h: ns3::TriangularVariable [class] module.add_class('TriangularVariable', parent=root_module['ns3::RandomVariable']) ## type-id.h: ns3::TypeId [class] @@ -93,6 +119,8 @@ def register_types(module): module.add_class('Vector2D') ## vector.h: ns3::Vector3D [class] module.add_class('Vector3D') + ## watchdog.h: ns3::Watchdog [class] + module.add_class('Watchdog') ## random-variable.h: ns3::WeibullVariable [class] module.add_class('WeibullVariable', parent=root_module['ns3::RandomVariable']) ## random-variable.h: ns3::ZetaVariable [class] @@ -125,6 +153,16 @@ def register_types(module): module.add_class('AggregateIterator', outer_class=root_module['ns3::Object']) ## random-variable.h: ns3::ParetoVariable [class] module.add_class('ParetoVariable', parent=root_module['ns3::RandomVariable']) + ## nstime.h: ns3::Scalar [class] + module.add_class('Scalar') + ## nstime.h: ns3::Scalar [class] + root_module['ns3::Scalar'].implicitly_converts_to(root_module['ns3::Time']) + ## scheduler.h: ns3::Scheduler [class] + module.add_class('Scheduler', parent=root_module['ns3::Object']) + ## scheduler.h: ns3::Scheduler::Event [struct] + module.add_class('Event', outer_class=root_module['ns3::Scheduler']) + ## scheduler.h: ns3::Scheduler::EventKey [struct] + module.add_class('EventKey', outer_class=root_module['ns3::Scheduler']) ## simple-ref-count.h: ns3::SimpleRefCount > [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::AttributeAccessor', '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] @@ -133,16 +171,26 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::AttributeValue', '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::CallbackImplBase', '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::EventImpl', '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::FdReader', '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::RefCountBase', '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::SystemThread', '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::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) + ## simulator-impl.h: ns3::SimulatorImpl [class] + module.add_class('SimulatorImpl', parent=root_module['ns3::Object']) + ## synchronizer.h: ns3::Synchronizer [class] + module.add_class('Synchronizer', parent=root_module['ns3::Object']) ## system-thread.h: ns3::SystemThread [class] module.add_class('SystemThread', parent=root_module['ns3::SimpleRefCount< ns3::SystemThread, ns3::empty, ns3::DefaultDeleter >']) ## trace-source-accessor.h: ns3::TraceSourceAccessor [class] module.add_class('TraceSourceAccessor', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) + ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer [class] + module.add_class('WallClockSynchronizer', parent=root_module['ns3::Synchronizer']) ## attribute.h: ns3::AttributeAccessor [class] module.add_class('AttributeAccessor', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) ## attribute.h: ns3::AttributeChecker [class] @@ -153,12 +201,16 @@ def register_types(module): module.add_class('BooleanChecker', parent=root_module['ns3::AttributeChecker']) ## boolean.h: ns3::BooleanValue [class] module.add_class('BooleanValue', parent=root_module['ns3::AttributeValue']) + ## calendar-scheduler.h: ns3::CalendarScheduler [class] + module.add_class('CalendarScheduler', parent=root_module['ns3::Scheduler']) ## callback.h: ns3::CallbackChecker [class] module.add_class('CallbackChecker', parent=root_module['ns3::AttributeChecker']) ## callback.h: ns3::CallbackImplBase [class] module.add_class('CallbackImplBase', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter >']) ## callback.h: ns3::CallbackValue [class] module.add_class('CallbackValue', parent=root_module['ns3::AttributeValue']) + ## default-simulator-impl.h: ns3::DefaultSimulatorImpl [class] + module.add_class('DefaultSimulatorImpl', parent=root_module['ns3::SimulatorImpl']) ## double.h: ns3::DoubleValue [class] module.add_class('DoubleValue', parent=root_module['ns3::AttributeValue']) ## attribute.h: ns3::EmptyAttributeValue [class] @@ -167,8 +219,20 @@ def register_types(module): module.add_class('EnumChecker', parent=root_module['ns3::AttributeChecker']) ## enum.h: ns3::EnumValue [class] module.add_class('EnumValue', parent=root_module['ns3::AttributeValue']) + ## event-impl.h: ns3::EventImpl [class] + module.add_class('EventImpl', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >']) + ## unix-fd-reader.h: ns3::FdReader [class] + module.add_class('FdReader', parent=root_module['ns3::SimpleRefCount< ns3::FdReader, ns3::empty, ns3::DefaultDeleter >']) + ## heap-scheduler.h: ns3::HeapScheduler [class] + module.add_class('HeapScheduler', parent=root_module['ns3::Scheduler']) ## integer.h: ns3::IntegerValue [class] module.add_class('IntegerValue', parent=root_module['ns3::AttributeValue']) + ## list-scheduler.h: ns3::ListScheduler [class] + module.add_class('ListScheduler', parent=root_module['ns3::Scheduler']) + ## map-scheduler.h: ns3::MapScheduler [class] + module.add_class('MapScheduler', parent=root_module['ns3::Scheduler']) + ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler [class] + module.add_class('Ns2CalendarScheduler', parent=root_module['ns3::Scheduler']) ## object-factory.h: ns3::ObjectFactoryChecker [class] module.add_class('ObjectFactoryChecker', parent=root_module['ns3::AttributeChecker']) ## object-factory.h: ns3::ObjectFactoryValue [class] @@ -187,12 +251,20 @@ def register_types(module): module.add_class('RandomVariableChecker', parent=root_module['ns3::AttributeChecker']) ## random-variable.h: ns3::RandomVariableValue [class] module.add_class('RandomVariableValue', parent=root_module['ns3::AttributeValue']) + ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl [class] + module.add_class('RealtimeSimulatorImpl', parent=root_module['ns3::SimulatorImpl']) + ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode [enumeration] + module.add_enum('SynchronizationMode', ['SYNC_BEST_EFFORT', 'SYNC_HARD_LIMIT'], outer_class=root_module['ns3::RealtimeSimulatorImpl']) ## ref-count-base.h: ns3::RefCountBase [class] module.add_class('RefCountBase', parent=root_module['ns3::SimpleRefCount< ns3::RefCountBase, ns3::empty, ns3::DefaultDeleter >']) ## string.h: ns3::StringChecker [class] module.add_class('StringChecker', parent=root_module['ns3::AttributeChecker']) ## string.h: ns3::StringValue [class] module.add_class('StringValue', parent=root_module['ns3::AttributeValue']) + ## nstime.h: ns3::TimeChecker [class] + module.add_class('TimeChecker', parent=root_module['ns3::AttributeChecker']) + ## nstime.h: ns3::TimeValue [class] + module.add_class('TimeValue', parent=root_module['ns3::AttributeValue']) ## type-id.h: ns3::TypeIdChecker [class] module.add_class('TypeIdChecker', parent=root_module['ns3::AttributeChecker']) ## type-id.h: ns3::TypeIdValue [class] @@ -222,10 +294,18 @@ def register_types(module): module.add_container('std::list< ns3::Ptr< ns3::UanTransducer > >', 'ns3::Ptr< ns3::UanTransducer >', container_type='list') module.add_container('std::vector< ns3::Ptr< ns3::NetDevice > >', 'ns3::Ptr< ns3::NetDevice >', container_type='vector') module.add_container('std::vector< ns3::Ptr< ns3::SpectrumPhy > >', 'ns3::Ptr< ns3::SpectrumPhy >', container_type='vector') + typehandlers.add_type_alias('ns3::Time', 'ns3::TimeInvert') + typehandlers.add_type_alias('ns3::Time*', 'ns3::TimeInvert*') + typehandlers.add_type_alias('ns3::Time&', 'ns3::TimeInvert&') + module.add_typedef(root_module['ns3::Time'], 'TimeInvert') typehandlers.add_type_alias('ns3::Vector3DChecker', 'ns3::VectorChecker') typehandlers.add_type_alias('ns3::Vector3DChecker*', 'ns3::VectorChecker*') typehandlers.add_type_alias('ns3::Vector3DChecker&', 'ns3::VectorChecker&') module.add_typedef(root_module['ns3::Vector3DChecker'], 'VectorChecker') + typehandlers.add_type_alias('ns3::Time', 'ns3::TimeSquare') + typehandlers.add_type_alias('ns3::Time*', 'ns3::TimeSquare*') + typehandlers.add_type_alias('ns3::Time&', 'ns3::TimeSquare&') + module.add_typedef(root_module['ns3::Time'], 'TimeSquare') typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector') typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*') typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&') @@ -335,7 +415,9 @@ def register_methods(root_module): register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) register_Ns3CommandLine_methods(root_module, root_module['ns3::CommandLine']) register_Ns3CriticalSection_methods(root_module, root_module['ns3::CriticalSection']) + register_Ns3EventId_methods(root_module, root_module['ns3::EventId']) register_Ns3GlobalValue_methods(root_module, root_module['ns3::GlobalValue']) + register_Ns3HighPrecision_methods(root_module, root_module['ns3::HighPrecision']) register_Ns3IntToType__0_methods(root_module, root_module['ns3::IntToType< 0 >']) register_Ns3IntToType__1_methods(root_module, root_module['ns3::IntToType< 1 >']) register_Ns3IntToType__2_methods(root_module, root_module['ns3::IntToType< 2 >']) @@ -352,12 +434,17 @@ def register_methods(root_module): register_Ns3SeedManager_methods(root_module, root_module['ns3::SeedManager']) register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable']) register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) + register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) register_Ns3SystemCondition_methods(root_module, root_module['ns3::SystemCondition']) register_Ns3SystemMutex_methods(root_module, root_module['ns3::SystemMutex']) register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs']) register_Ns3TestCase_methods(root_module, root_module['ns3::TestCase']) register_Ns3TestRunner_methods(root_module, root_module['ns3::TestRunner']) register_Ns3TestSuite_methods(root_module, root_module['ns3::TestSuite']) + register_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TimeBase_methods(root_module, root_module['ns3::TimeBase']) + register_Ns3Timer_methods(root_module, root_module['ns3::Timer']) + register_Ns3TimerImpl_methods(root_module, root_module['ns3::TimerImpl']) register_Ns3TracedValue__Double_methods(root_module, root_module['ns3::TracedValue< double >']) register_Ns3TracedValue__Ns3Time_methods(root_module, root_module['ns3::TracedValue< ns3::Time >']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) @@ -367,6 +454,7 @@ def register_methods(root_module): register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) + register_Ns3Watchdog_methods(root_module, root_module['ns3::Watchdog']) register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable']) register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable']) @@ -383,6 +471,10 @@ 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_Ns3Scalar_methods(root_module, root_module['ns3::Scalar']) + register_Ns3Scheduler_methods(root_module, root_module['ns3::Scheduler']) + register_Ns3SchedulerEvent_methods(root_module, root_module['ns3::Scheduler::Event']) + register_Ns3SchedulerEventKey_methods(root_module, root_module['ns3::Scheduler::EventKey']) 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 >']) @@ -415,21 +507,32 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3Dot11sIeBeaconTimingUnit_Ns3Empty_Ns3DefaultDeleter__lt__ns3Dot11sIeBeaconTimingUnit__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::dot11s::IeBeaconTimingUnit, ns3::empty, ns3::DefaultDeleter >']) + register_Ns3SimulatorImpl_methods(root_module, root_module['ns3::SimulatorImpl']) + register_Ns3Synchronizer_methods(root_module, root_module['ns3::Synchronizer']) register_Ns3SystemThread_methods(root_module, root_module['ns3::SystemThread']) register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) + register_Ns3WallClockSynchronizer_methods(root_module, root_module['ns3::WallClockSynchronizer']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker']) register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue']) register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker']) register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue']) + register_Ns3CalendarScheduler_methods(root_module, root_module['ns3::CalendarScheduler']) register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker']) register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase']) register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue']) + register_Ns3DefaultSimulatorImpl_methods(root_module, root_module['ns3::DefaultSimulatorImpl']) register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue']) register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue']) register_Ns3EnumChecker_methods(root_module, root_module['ns3::EnumChecker']) register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue']) + register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) + register_Ns3FdReader_methods(root_module, root_module['ns3::FdReader']) + register_Ns3HeapScheduler_methods(root_module, root_module['ns3::HeapScheduler']) register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue']) + register_Ns3ListScheduler_methods(root_module, root_module['ns3::ListScheduler']) + register_Ns3MapScheduler_methods(root_module, root_module['ns3::MapScheduler']) + register_Ns3Ns2CalendarScheduler_methods(root_module, root_module['ns3::Ns2CalendarScheduler']) register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker']) register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue']) register_Ns3ObjectVectorAccessor_methods(root_module, root_module['ns3::ObjectVectorAccessor']) @@ -439,9 +542,12 @@ def register_methods(root_module): register_Ns3PointerValue_methods(root_module, root_module['ns3::PointerValue']) register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker']) register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue']) + register_Ns3RealtimeSimulatorImpl_methods(root_module, root_module['ns3::RealtimeSimulatorImpl']) register_Ns3RefCountBase_methods(root_module, root_module['ns3::RefCountBase']) register_Ns3StringChecker_methods(root_module, root_module['ns3::StringChecker']) register_Ns3StringValue_methods(root_module, root_module['ns3::StringValue']) + register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker']) + register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue']) register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker']) register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue']) register_Ns3UintegerValue_methods(root_module, root_module['ns3::UintegerValue']) @@ -527,6 +633,51 @@ def register_Ns3CriticalSection_methods(root_module, cls): cls.add_constructor([param('ns3::SystemMutex &', 'mutex')]) return +def register_Ns3EventId_methods(root_module, cls): + cls.add_binary_comparison_operator('!=') + cls.add_binary_comparison_operator('==') + ## event-id.h: ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor] + cls.add_constructor([param('ns3::EventId const &', 'arg0')]) + ## event-id.h: ns3::EventId::EventId() [constructor] + cls.add_constructor([]) + ## event-id.h: ns3::EventId::EventId(ns3::Ptr const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor] + cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')]) + ## event-id.h: void ns3::EventId::Cancel() [member function] + cls.add_method('Cancel', + 'void', + []) + ## event-id.h: uint32_t ns3::EventId::GetContext() const [member function] + cls.add_method('GetContext', + 'uint32_t', + [], + is_const=True) + ## event-id.h: uint64_t ns3::EventId::GetTs() const [member function] + cls.add_method('GetTs', + 'uint64_t', + [], + is_const=True) + ## event-id.h: uint32_t ns3::EventId::GetUid() const [member function] + cls.add_method('GetUid', + 'uint32_t', + [], + is_const=True) + ## event-id.h: bool ns3::EventId::IsExpired() const [member function] + cls.add_method('IsExpired', + 'bool', + [], + is_const=True) + ## event-id.h: bool ns3::EventId::IsRunning() const [member function] + cls.add_method('IsRunning', + 'bool', + [], + is_const=True) + ## event-id.h: ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function] + cls.add_method('PeekEventImpl', + 'ns3::EventImpl *', + [], + is_const=True) + return + def register_Ns3GlobalValue_methods(root_module, cls): ## global-value.h: ns3::GlobalValue::GlobalValue(ns3::GlobalValue const & arg0) [copy constructor] cls.add_constructor([param('ns3::GlobalValue const &', 'arg0')]) @@ -588,6 +739,73 @@ def register_Ns3GlobalValue_methods(root_module, cls): [param('ns3::AttributeValue const &', 'value')]) return +def register_Ns3HighPrecision_methods(root_module, cls): + cls.add_output_stream_operator() + ## high-precision-double.h: ns3::HighPrecision::HighPrecision(ns3::HighPrecision const & arg0) [copy constructor] + cls.add_constructor([param('ns3::HighPrecision const &', 'arg0')]) + ## high-precision-double.h: ns3::HighPrecision::HighPrecision() [constructor] + cls.add_constructor([]) + ## high-precision-double.h: ns3::HighPrecision::HighPrecision(int64_t value, bool dummy) [constructor] + cls.add_constructor([param('int64_t', 'value'), param('bool', 'dummy')]) + ## high-precision-double.h: ns3::HighPrecision::HighPrecision(double value) [constructor] + cls.add_constructor([param('double', 'value')]) + ## high-precision-double.h: void ns3::HighPrecision::Add(ns3::HighPrecision const & o) [member function] + cls.add_method('Add', + 'void', + [param('ns3::HighPrecision const &', 'o')]) + ## high-precision-double.h: int ns3::HighPrecision::Compare(ns3::HighPrecision const & o) const [member function] + cls.add_method('Compare', + 'int', + [param('ns3::HighPrecision const &', 'o')], + is_const=True) + ## high-precision-double.h: void ns3::HighPrecision::Div(ns3::HighPrecision const & o) [member function] + cls.add_method('Div', + 'void', + [param('ns3::HighPrecision const &', 'o')]) + ## high-precision-double.h: double ns3::HighPrecision::GetDouble() const [member function] + cls.add_method('GetDouble', + 'double', + [], + is_const=True) + ## high-precision-double.h: int64_t ns3::HighPrecision::GetHigh() const [member function] + cls.add_method('GetHigh', + 'int64_t', + [], + is_const=True) + ## high-precision-double.h: int64_t ns3::HighPrecision::GetInteger() const [member function] + cls.add_method('GetInteger', + 'int64_t', + [], + is_const=True) + ## high-precision-double.h: uint64_t ns3::HighPrecision::GetLow() const [member function] + cls.add_method('GetLow', + 'uint64_t', + [], + is_const=True) + ## high-precision-double.h: static ns3::HighPrecision ns3::HighPrecision::Invert(uint64_t v) [member function] + cls.add_method('Invert', + 'ns3::HighPrecision', + [param('uint64_t', 'v')], + is_static=True) + ## high-precision-double.h: void ns3::HighPrecision::Mul(ns3::HighPrecision const & o) [member function] + cls.add_method('Mul', + 'void', + [param('ns3::HighPrecision const &', 'o')]) + ## high-precision-double.h: void ns3::HighPrecision::MulByInvert(ns3::HighPrecision const & o) [member function] + cls.add_method('MulByInvert', + 'void', + [param('ns3::HighPrecision const &', 'o')]) + ## high-precision-double.h: void ns3::HighPrecision::Sub(ns3::HighPrecision const & o) [member function] + cls.add_method('Sub', + 'void', + [param('ns3::HighPrecision const &', 'o')]) + ## high-precision-double.h: static ns3::HighPrecision ns3::HighPrecision::Zero() [member function] + cls.add_method('Zero', + 'ns3::HighPrecision', + [], + is_static=True) + return + def register_Ns3IntToType__0_methods(root_module, cls): ## int-to-type.h: ns3::IntToType<0>::IntToType() [constructor] cls.add_constructor([]) @@ -962,6 +1180,96 @@ def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods is_static=True) return +def register_Ns3Simulator_methods(root_module, cls): + ## simulator.h: ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Simulator const &', 'arg0')]) + ## simulator.h: static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function] + cls.add_method('Cancel', + 'void', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h: static void ns3::Simulator::Destroy() [member function] + cls.add_method('Destroy', + 'void', + [], + is_static=True) + ## simulator.h: static uint32_t ns3::Simulator::GetContext() [member function] + cls.add_method('GetContext', + 'uint32_t', + [], + is_static=True) + ## simulator.h: static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function] + cls.add_method('GetDelayLeft', + 'ns3::Time', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h: static ns3::Ptr ns3::Simulator::GetImplementation() [member function] + cls.add_method('GetImplementation', + 'ns3::Ptr< ns3::SimulatorImpl >', + [], + is_static=True) + ## simulator.h: static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function] + cls.add_method('GetMaximumSimulationTime', + 'ns3::Time', + [], + is_static=True) + ## simulator.h: static uint32_t ns3::Simulator::GetSystemId() [member function] + cls.add_method('GetSystemId', + 'uint32_t', + [], + is_static=True) + ## simulator.h: static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function] + cls.add_method('IsExpired', + 'bool', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h: static bool ns3::Simulator::IsFinished() [member function] + cls.add_method('IsFinished', + 'bool', + [], + is_static=True) + ## simulator.h: static ns3::Time ns3::Simulator::Next() [member function] + cls.add_method('Next', + 'ns3::Time', + [], + is_static=True, deprecated=True) + ## simulator.h: static ns3::Time ns3::Simulator::Now() [member function] + cls.add_method('Now', + 'ns3::Time', + [], + is_static=True) + ## simulator.h: static void ns3::Simulator::Remove(ns3::EventId const & id) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h: static void ns3::Simulator::RunOneEvent() [member function] + cls.add_method('RunOneEvent', + 'void', + [], + is_static=True, deprecated=True) + ## simulator.h: static void ns3::Simulator::SetImplementation(ns3::Ptr impl) [member function] + cls.add_method('SetImplementation', + 'void', + [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')], + is_static=True) + ## simulator.h: static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] + cls.add_method('SetScheduler', + 'void', + [param('ns3::ObjectFactory', 'schedulerFactory')], + is_static=True) + ## simulator.h: static void ns3::Simulator::Stop() [member function] + cls.add_method('Stop', + 'void', + [], + is_static=True) + ## simulator.h: static void ns3::Simulator::Stop(ns3::Time const & time) [member function] + cls.add_method('Stop', + 'void', + [param('ns3::Time const &', 'time')], + is_static=True) + return + def register_Ns3SystemCondition_methods(root_module, cls): ## system-condition.h: ns3::SystemCondition::SystemCondition(ns3::SystemCondition const & arg0) [copy constructor] cls.add_constructor([param('ns3::SystemCondition const &', 'arg0')]) @@ -1317,6 +1625,293 @@ def register_Ns3TestSuite_methods(root_module, cls): visibility='protected', is_virtual=True) return +def register_Ns3Time_methods(root_module, cls): + cls.add_binary_comparison_operator('!=') + cls.add_inplace_numeric_operator('*=', param('ns3::Time const &', 'right')) + cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right')) + cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right')) + cls.add_inplace_numeric_operator('/=', param('ns3::Time const &', 'right')) + cls.add_output_stream_operator() + cls.add_binary_comparison_operator('<=') + cls.add_binary_comparison_operator('==') + cls.add_binary_comparison_operator('>=') + cls.add_binary_numeric_operator('*', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) + cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) + cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) + cls.add_binary_numeric_operator('/', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) + cls.add_binary_comparison_operator('<') + cls.add_binary_comparison_operator('>') + ## nstime.h: ns3::Time::Time() [constructor] + cls.add_constructor([]) + ## nstime.h: ns3::Time::Time(ns3::Time const & o) [copy constructor] + cls.add_constructor([param('ns3::Time const &', 'o')]) + ## nstime.h: ns3::Time::Time(ns3::HighPrecision const & data) [constructor] + cls.add_constructor([param('ns3::HighPrecision const &', 'data')]) + ## nstime.h: ns3::Time::Time(std::string const & s) [constructor] + cls.add_constructor([param('std::string const &', 's')]) + ## nstime.h: int ns3::Time::Compare(ns3::Time const & o) const [member function] + cls.add_method('Compare', + 'int', + [param('ns3::Time const &', 'o')], + is_const=True) + ## nstime.h: static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function] + cls.add_method('FromDouble', + 'ns3::Time', + [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')], + is_static=True) + ## nstime.h: static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function] + cls.add_method('FromInteger', + 'ns3::Time', + [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')], + is_static=True) + ## nstime.h: int64_t ns3::Time::GetFemtoSeconds() const [member function] + cls.add_method('GetFemtoSeconds', + 'int64_t', + [], + is_const=True) + ## nstime.h: ns3::HighPrecision const & ns3::Time::GetHighPrecision() const [member function] + cls.add_method('GetHighPrecision', + 'ns3::HighPrecision const &', + [], + is_const=True) + ## nstime.h: int64_t ns3::Time::GetMicroSeconds() const [member function] + cls.add_method('GetMicroSeconds', + 'int64_t', + [], + is_const=True) + ## nstime.h: int64_t ns3::Time::GetMilliSeconds() const [member function] + cls.add_method('GetMilliSeconds', + 'int64_t', + [], + is_const=True) + ## nstime.h: int64_t ns3::Time::GetNanoSeconds() const [member function] + cls.add_method('GetNanoSeconds', + 'int64_t', + [], + is_const=True) + ## nstime.h: int64_t ns3::Time::GetPicoSeconds() const [member function] + cls.add_method('GetPicoSeconds', + 'int64_t', + [], + is_const=True) + ## nstime.h: static ns3::Time::Unit ns3::Time::GetResolution() [member function] + cls.add_method('GetResolution', + 'ns3::Time::Unit', + [], + is_static=True) + ## nstime.h: double ns3::Time::GetSeconds() const [member function] + cls.add_method('GetSeconds', + 'double', + [], + is_const=True) + ## nstime.h: int64_t ns3::Time::GetTimeStep() const [member function] + cls.add_method('GetTimeStep', + 'int64_t', + [], + is_const=True) + ## nstime.h: bool ns3::Time::IsNegative() const [member function] + cls.add_method('IsNegative', + 'bool', + [], + is_const=True) + ## nstime.h: bool ns3::Time::IsPositive() const [member function] + cls.add_method('IsPositive', + 'bool', + [], + is_const=True) + ## nstime.h: bool ns3::Time::IsStrictlyNegative() const [member function] + cls.add_method('IsStrictlyNegative', + 'bool', + [], + is_const=True) + ## nstime.h: bool ns3::Time::IsStrictlyPositive() const [member function] + cls.add_method('IsStrictlyPositive', + 'bool', + [], + is_const=True) + ## nstime.h: bool ns3::Time::IsZero() const [member function] + cls.add_method('IsZero', + 'bool', + [], + is_const=True) + ## nstime.h: ns3::HighPrecision * ns3::Time::PeekHighPrecision() [member function] + cls.add_method('PeekHighPrecision', + 'ns3::HighPrecision *', + []) + ## nstime.h: static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function] + cls.add_method('SetResolution', + 'void', + [param('ns3::Time::Unit', 'resolution')], + is_static=True) + ## nstime.h: static double ns3::Time::ToDouble(ns3::Time const & time, ns3::Time::Unit timeUnit) [member function] + cls.add_method('ToDouble', + 'double', + [param('ns3::Time const &', 'time'), param('ns3::Time::Unit', 'timeUnit')], + is_static=True) + ## nstime.h: static uint64_t ns3::Time::ToInteger(ns3::Time const & time, ns3::Time::Unit timeUnit) [member function] + cls.add_method('ToInteger', + 'uint64_t', + [param('ns3::Time const &', 'time'), param('ns3::Time::Unit', 'timeUnit')], + is_static=True) + return + +def register_Ns3TimeBase_methods(root_module, cls): + ## time-base.h: ns3::TimeBase::TimeBase() [constructor] + cls.add_constructor([]) + ## time-base.h: ns3::TimeBase::TimeBase(ns3::TimeBase const & o) [copy constructor] + cls.add_constructor([param('ns3::TimeBase const &', 'o')]) + ## time-base.h: ns3::TimeBase::TimeBase(ns3::HighPrecision const & data) [constructor] + cls.add_constructor([param('ns3::HighPrecision const &', 'data')]) + ## time-base.h: static ns3::TimeBase ns3::TimeBase::FromDouble(double value, ns3::TimeBase::Unit timeUnit) [member function] + cls.add_method('FromDouble', + 'ns3::TimeBase', + [param('double', 'value'), param('ns3::TimeBase::Unit', 'timeUnit')], + is_static=True) + ## time-base.h: static ns3::TimeBase ns3::TimeBase::FromInteger(uint64_t value, ns3::TimeBase::Unit timeUnit) [member function] + cls.add_method('FromInteger', + 'ns3::TimeBase', + [param('uint64_t', 'value'), param('ns3::TimeBase::Unit', 'timeUnit')], + is_static=True) + ## time-base.h: ns3::HighPrecision const & ns3::TimeBase::GetHighPrecision() const [member function] + cls.add_method('GetHighPrecision', + 'ns3::HighPrecision const &', + [], + is_const=True) + ## time-base.h: static ns3::TimeBase::Unit ns3::TimeBase::GetResolution() [member function] + cls.add_method('GetResolution', + 'ns3::TimeBase::Unit', + [], + is_static=True) + ## time-base.h: bool ns3::TimeBase::IsNegative() const [member function] + cls.add_method('IsNegative', + 'bool', + [], + is_const=True) + ## time-base.h: bool ns3::TimeBase::IsPositive() const [member function] + cls.add_method('IsPositive', + 'bool', + [], + is_const=True) + ## time-base.h: bool ns3::TimeBase::IsStrictlyNegative() const [member function] + cls.add_method('IsStrictlyNegative', + 'bool', + [], + is_const=True) + ## time-base.h: bool ns3::TimeBase::IsStrictlyPositive() const [member function] + cls.add_method('IsStrictlyPositive', + 'bool', + [], + is_const=True) + ## time-base.h: bool ns3::TimeBase::IsZero() const [member function] + cls.add_method('IsZero', + 'bool', + [], + is_const=True) + ## time-base.h: ns3::HighPrecision * ns3::TimeBase::PeekHighPrecision() [member function] + cls.add_method('PeekHighPrecision', + 'ns3::HighPrecision *', + []) + ## time-base.h: static void ns3::TimeBase::SetResolution(ns3::TimeBase::Unit resolution) [member function] + cls.add_method('SetResolution', + 'void', + [param('ns3::TimeBase::Unit', 'resolution')], + is_static=True) + ## time-base.h: static double ns3::TimeBase::ToDouble(ns3::TimeBase const & time, ns3::TimeBase::Unit timeUnit) [member function] + cls.add_method('ToDouble', + 'double', + [param('ns3::TimeBase const &', 'time'), param('ns3::TimeBase::Unit', 'timeUnit')], + is_static=True) + ## time-base.h: static uint64_t ns3::TimeBase::ToInteger(ns3::TimeBase const & time, ns3::TimeBase::Unit timeUnit) [member function] + cls.add_method('ToInteger', + 'uint64_t', + [param('ns3::TimeBase const &', 'time'), param('ns3::TimeBase::Unit', 'timeUnit')], + is_static=True) + return + +def register_Ns3Timer_methods(root_module, cls): + ## timer.h: ns3::Timer::Timer(ns3::Timer const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Timer const &', 'arg0')]) + ## timer.h: ns3::Timer::Timer() [constructor] + cls.add_constructor([]) + ## timer.h: ns3::Timer::Timer(ns3::Timer::DestroyPolicy destroyPolicy) [constructor] + cls.add_constructor([param('ns3::Timer::DestroyPolicy', 'destroyPolicy')]) + ## timer.h: void ns3::Timer::Cancel() [member function] + cls.add_method('Cancel', + 'void', + []) + ## timer.h: ns3::Time ns3::Timer::GetDelay() const [member function] + cls.add_method('GetDelay', + 'ns3::Time', + [], + is_const=True) + ## timer.h: ns3::Time ns3::Timer::GetDelayLeft() const [member function] + cls.add_method('GetDelayLeft', + 'ns3::Time', + [], + is_const=True) + ## timer.h: ns3::Timer::State ns3::Timer::GetState() const [member function] + cls.add_method('GetState', + 'ns3::Timer::State', + [], + is_const=True) + ## timer.h: bool ns3::Timer::IsExpired() const [member function] + cls.add_method('IsExpired', + 'bool', + [], + is_const=True) + ## timer.h: bool ns3::Timer::IsRunning() const [member function] + cls.add_method('IsRunning', + 'bool', + [], + is_const=True) + ## timer.h: bool ns3::Timer::IsSuspended() const [member function] + cls.add_method('IsSuspended', + 'bool', + [], + is_const=True) + ## timer.h: void ns3::Timer::Remove() [member function] + cls.add_method('Remove', + 'void', + []) + ## timer.h: void ns3::Timer::Resume() [member function] + cls.add_method('Resume', + 'void', + []) + ## timer.h: void ns3::Timer::Schedule() [member function] + cls.add_method('Schedule', + 'void', + []) + ## timer.h: void ns3::Timer::Schedule(ns3::Time delay) [member function] + cls.add_method('Schedule', + 'void', + [param('ns3::Time', 'delay')]) + ## timer.h: void ns3::Timer::SetDelay(ns3::Time const & delay) [member function] + cls.add_method('SetDelay', + 'void', + [param('ns3::Time const &', 'delay')]) + ## timer.h: void ns3::Timer::Suspend() [member function] + cls.add_method('Suspend', + 'void', + []) + return + +def register_Ns3TimerImpl_methods(root_module, cls): + ## timer-impl.h: ns3::TimerImpl::TimerImpl() [constructor] + cls.add_constructor([]) + ## timer-impl.h: ns3::TimerImpl::TimerImpl(ns3::TimerImpl const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TimerImpl const &', 'arg0')]) + ## timer-impl.h: void ns3::TimerImpl::Invoke() [member function] + cls.add_method('Invoke', + 'void', + [], + is_pure_virtual=True, is_virtual=True) + ## timer-impl.h: ns3::EventId ns3::TimerImpl::Schedule(ns3::Time const & delay) [member function] + cls.add_method('Schedule', + 'ns3::EventId', + [param('ns3::Time const &', 'delay')], + is_pure_virtual=True, is_virtual=True) + return + def register_Ns3TracedValue__Double_methods(root_module, cls): ## traced-value.h: ns3::TracedValue::TracedValue() [constructor] cls.add_constructor([]) @@ -1653,6 +2248,17 @@ def register_Ns3Vector3D_methods(root_module, cls): cls.add_instance_attribute('z', 'double', is_const=False) return +def register_Ns3Watchdog_methods(root_module, cls): + ## watchdog.h: ns3::Watchdog::Watchdog(ns3::Watchdog const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Watchdog const &', 'arg0')]) + ## watchdog.h: ns3::Watchdog::Watchdog() [constructor] + cls.add_constructor([]) + ## watchdog.h: void ns3::Watchdog::Ping(ns3::Time delay) [member function] + cls.add_method('Ping', + 'void', + [param('ns3::Time', 'delay')]) + return + def register_Ns3WeibullVariable_methods(root_module, cls): ## random-variable.h: ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor] cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')]) @@ -1884,6 +2490,95 @@ def register_Ns3ParetoVariable_methods(root_module, cls): cls.add_constructor([param('std::pair< double, double >', 'params'), param('double', 'b')]) return +def register_Ns3Scalar_methods(root_module, cls): + ## nstime.h: ns3::Scalar::Scalar(ns3::Scalar const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Scalar const &', 'arg0')]) + ## nstime.h: ns3::Scalar::Scalar() [constructor] + cls.add_constructor([]) + ## nstime.h: ns3::Scalar::Scalar(double v) [constructor] + cls.add_constructor([param('double', 'v')]) + ## nstime.h: ns3::Scalar::Scalar(uint32_t v) [constructor] + cls.add_constructor([param('uint32_t', 'v')]) + ## nstime.h: ns3::Scalar::Scalar(int32_t v) [constructor] + cls.add_constructor([param('int32_t', 'v')]) + ## nstime.h: ns3::Scalar::Scalar(uint64_t v) [constructor] + cls.add_constructor([param('uint64_t', 'v')]) + ## nstime.h: ns3::Scalar::Scalar(int64_t v) [constructor] + cls.add_constructor([param('int64_t', 'v')]) + ## nstime.h: ns3::Scalar::Scalar(ns3::Time t) [constructor] + cls.add_constructor([param('ns3::Time', 't')]) + ## nstime.h: double ns3::Scalar::GetDouble() const [member function] + cls.add_method('GetDouble', + 'double', + [], + is_const=True) + return + +def register_Ns3Scheduler_methods(root_module, cls): + ## scheduler.h: ns3::Scheduler::Scheduler() [constructor] + cls.add_constructor([]) + ## scheduler.h: ns3::Scheduler::Scheduler(ns3::Scheduler const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Scheduler const &', 'arg0')]) + ## scheduler.h: static ns3::TypeId ns3::Scheduler::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## scheduler.h: void ns3::Scheduler::Insert(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_pure_virtual=True, is_virtual=True) + ## scheduler.h: bool ns3::Scheduler::IsEmpty() const [member function] + cls.add_method('IsEmpty', + 'bool', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## scheduler.h: ns3::Scheduler::Event ns3::Scheduler::PeekNext() const [member function] + cls.add_method('PeekNext', + 'ns3::Scheduler::Event', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## scheduler.h: void ns3::Scheduler::Remove(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_pure_virtual=True, is_virtual=True) + ## scheduler.h: ns3::Scheduler::Event ns3::Scheduler::RemoveNext() [member function] + cls.add_method('RemoveNext', + 'ns3::Scheduler::Event', + [], + is_pure_virtual=True, is_virtual=True) + return + +def register_Ns3SchedulerEvent_methods(root_module, cls): + cls.add_binary_comparison_operator('<') + ## scheduler.h: ns3::Scheduler::Event::Event() [constructor] + cls.add_constructor([]) + ## scheduler.h: ns3::Scheduler::Event::Event(ns3::Scheduler::Event const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Scheduler::Event const &', 'arg0')]) + ## scheduler.h: ns3::Scheduler::Event::impl [variable] + cls.add_instance_attribute('impl', 'ns3::EventImpl *', is_const=False) + ## scheduler.h: ns3::Scheduler::Event::key [variable] + cls.add_instance_attribute('key', 'ns3::Scheduler::EventKey', is_const=False) + return + +def register_Ns3SchedulerEventKey_methods(root_module, cls): + cls.add_binary_comparison_operator('!=') + cls.add_binary_comparison_operator('<') + cls.add_binary_comparison_operator('>') + ## scheduler.h: ns3::Scheduler::EventKey::EventKey() [constructor] + cls.add_constructor([]) + ## scheduler.h: ns3::Scheduler::EventKey::EventKey(ns3::Scheduler::EventKey const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Scheduler::EventKey const &', 'arg0')]) + ## scheduler.h: ns3::Scheduler::EventKey::m_context [variable] + cls.add_instance_attribute('m_context', 'uint32_t', is_const=False) + ## scheduler.h: ns3::Scheduler::EventKey::m_ts [variable] + cls.add_instance_attribute('m_ts', 'uint64_t', is_const=False) + ## scheduler.h: ns3::Scheduler::EventKey::m_uid [variable] + cls.add_instance_attribute('m_uid', 'uint32_t', is_const=False) + 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([]) @@ -2268,6 +2963,215 @@ def register_Ns3SimpleRefCount__Ns3Dot11sIeBeaconTimingUnit_Ns3Empty_Ns3DefaultD is_static=True) return +def register_Ns3SimulatorImpl_methods(root_module, cls): + ## simulator-impl.h: ns3::SimulatorImpl::SimulatorImpl() [constructor] + cls.add_constructor([]) + ## simulator-impl.h: ns3::SimulatorImpl::SimulatorImpl(ns3::SimulatorImpl const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SimulatorImpl const &', 'arg0')]) + ## simulator-impl.h: void ns3::SimulatorImpl::Cancel(ns3::EventId const & ev) [member function] + cls.add_method('Cancel', + 'void', + [param('ns3::EventId const &', 'ev')], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: void ns3::SimulatorImpl::Destroy() [member function] + cls.add_method('Destroy', + 'void', + [], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: uint32_t ns3::SimulatorImpl::GetContext() const [member function] + cls.add_method('GetContext', + 'uint32_t', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] + cls.add_method('GetDelayLeft', + 'ns3::Time', + [param('ns3::EventId const &', 'id')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::GetMaximumSimulationTime() const [member function] + cls.add_method('GetMaximumSimulationTime', + 'ns3::Time', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## simulator-impl.h: uint32_t ns3::SimulatorImpl::GetSystemId() const [member function] + cls.add_method('GetSystemId', + 'uint32_t', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## simulator-impl.h: static ns3::TypeId ns3::SimulatorImpl::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## simulator-impl.h: bool ns3::SimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] + cls.add_method('IsExpired', + 'bool', + [param('ns3::EventId const &', 'ev')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## simulator-impl.h: bool ns3::SimulatorImpl::IsFinished() const [member function] + cls.add_method('IsFinished', + 'bool', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::Next() const [member function] + cls.add_method('Next', + 'ns3::Time', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::Now() const [member function] + cls.add_method('Now', + 'ns3::Time', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## simulator-impl.h: void ns3::SimulatorImpl::Remove(ns3::EventId const & ev) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::EventId const &', 'ev')], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: void ns3::SimulatorImpl::Run() [member function] + cls.add_method('Run', + 'void', + [], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: void ns3::SimulatorImpl::RunOneEvent() [member function] + cls.add_method('RunOneEvent', + 'void', + [], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function] + cls.add_method('Schedule', + 'ns3::EventId', + [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] + cls.add_method('ScheduleDestroy', + 'ns3::EventId', + [param('ns3::EventImpl *', 'event')], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] + cls.add_method('ScheduleNow', + 'ns3::EventId', + [param('ns3::EventImpl *', 'event')], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: void ns3::SimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] + cls.add_method('ScheduleWithContext', + 'void', + [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: void ns3::SimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] + cls.add_method('SetScheduler', + 'void', + [param('ns3::ObjectFactory', 'schedulerFactory')], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: void ns3::SimulatorImpl::Stop() [member function] + cls.add_method('Stop', + 'void', + [], + is_pure_virtual=True, is_virtual=True) + ## simulator-impl.h: void ns3::SimulatorImpl::Stop(ns3::Time const & time) [member function] + cls.add_method('Stop', + 'void', + [param('ns3::Time const &', 'time')], + is_pure_virtual=True, is_virtual=True) + return + +def register_Ns3Synchronizer_methods(root_module, cls): + ## synchronizer.h: ns3::Synchronizer::Synchronizer(ns3::Synchronizer const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Synchronizer const &', 'arg0')]) + ## synchronizer.h: ns3::Synchronizer::Synchronizer() [constructor] + cls.add_constructor([]) + ## synchronizer.h: uint64_t ns3::Synchronizer::EventEnd() [member function] + cls.add_method('EventEnd', + 'uint64_t', + []) + ## synchronizer.h: void ns3::Synchronizer::EventStart() [member function] + cls.add_method('EventStart', + 'void', + []) + ## synchronizer.h: uint64_t ns3::Synchronizer::GetCurrentRealtime() [member function] + cls.add_method('GetCurrentRealtime', + 'uint64_t', + []) + ## synchronizer.h: int64_t ns3::Synchronizer::GetDrift(uint64_t ts) [member function] + cls.add_method('GetDrift', + 'int64_t', + [param('uint64_t', 'ts')]) + ## synchronizer.h: uint64_t ns3::Synchronizer::GetOrigin() [member function] + cls.add_method('GetOrigin', + 'uint64_t', + []) + ## synchronizer.h: static ns3::TypeId ns3::Synchronizer::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## synchronizer.h: bool ns3::Synchronizer::Realtime() [member function] + cls.add_method('Realtime', + 'bool', + []) + ## synchronizer.h: void ns3::Synchronizer::SetCondition(bool arg0) [member function] + cls.add_method('SetCondition', + 'void', + [param('bool', 'arg0')]) + ## synchronizer.h: void ns3::Synchronizer::SetOrigin(uint64_t ts) [member function] + cls.add_method('SetOrigin', + 'void', + [param('uint64_t', 'ts')]) + ## synchronizer.h: void ns3::Synchronizer::Signal() [member function] + cls.add_method('Signal', + 'void', + []) + ## synchronizer.h: bool ns3::Synchronizer::Synchronize(uint64_t tsCurrent, uint64_t tsDelay) [member function] + cls.add_method('Synchronize', + 'bool', + [param('uint64_t', 'tsCurrent'), param('uint64_t', 'tsDelay')]) + ## synchronizer.h: uint64_t ns3::Synchronizer::DoEventEnd() [member function] + cls.add_method('DoEventEnd', + 'uint64_t', + [], + is_pure_virtual=True, visibility='protected', is_virtual=True) + ## synchronizer.h: void ns3::Synchronizer::DoEventStart() [member function] + cls.add_method('DoEventStart', + 'void', + [], + is_pure_virtual=True, visibility='protected', is_virtual=True) + ## synchronizer.h: uint64_t ns3::Synchronizer::DoGetCurrentRealtime() [member function] + cls.add_method('DoGetCurrentRealtime', + 'uint64_t', + [], + is_pure_virtual=True, visibility='protected', is_virtual=True) + ## synchronizer.h: int64_t ns3::Synchronizer::DoGetDrift(uint64_t ns) [member function] + cls.add_method('DoGetDrift', + 'int64_t', + [param('uint64_t', 'ns')], + is_pure_virtual=True, visibility='protected', is_virtual=True) + ## synchronizer.h: bool ns3::Synchronizer::DoRealtime() [member function] + cls.add_method('DoRealtime', + 'bool', + [], + is_pure_virtual=True, visibility='protected', is_virtual=True) + ## synchronizer.h: void ns3::Synchronizer::DoSetCondition(bool arg0) [member function] + cls.add_method('DoSetCondition', + 'void', + [param('bool', 'arg0')], + is_pure_virtual=True, visibility='protected', is_virtual=True) + ## synchronizer.h: void ns3::Synchronizer::DoSetOrigin(uint64_t ns) [member function] + cls.add_method('DoSetOrigin', + 'void', + [param('uint64_t', 'ns')], + is_pure_virtual=True, visibility='protected', is_virtual=True) + ## synchronizer.h: void ns3::Synchronizer::DoSignal() [member function] + cls.add_method('DoSignal', + 'void', + [], + is_pure_virtual=True, visibility='protected', is_virtual=True) + ## synchronizer.h: bool ns3::Synchronizer::DoSynchronize(uint64_t nsCurrent, uint64_t nsDelay) [member function] + cls.add_method('DoSynchronize', + 'bool', + [param('uint64_t', 'nsCurrent'), param('uint64_t', 'nsDelay')], + is_pure_virtual=True, visibility='protected', is_virtual=True) + return + def register_Ns3SystemThread_methods(root_module, cls): ## system-thread.h: ns3::SystemThread::SystemThread(ns3::SystemThread const & arg0) [copy constructor] cls.add_constructor([param('ns3::SystemThread const &', 'arg0')]) @@ -2318,6 +3222,104 @@ def register_Ns3TraceSourceAccessor_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return +def register_Ns3WallClockSynchronizer_methods(root_module, cls): + ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::WallClockSynchronizer(ns3::WallClockSynchronizer const & arg0) [copy constructor] + cls.add_constructor([param('ns3::WallClockSynchronizer const &', 'arg0')]) + ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::WallClockSynchronizer() [constructor] + cls.add_constructor([]) + ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::NS_PER_SEC [variable] + cls.add_static_attribute('NS_PER_SEC', 'uint64_t const', is_const=True) + ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::US_PER_NS [variable] + cls.add_static_attribute('US_PER_NS', 'uint64_t const', is_const=True) + ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::US_PER_SEC [variable] + cls.add_static_attribute('US_PER_SEC', 'uint64_t const', is_const=True) + ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DoEventEnd() [member function] + cls.add_method('DoEventEnd', + 'uint64_t', + [], + visibility='protected', is_virtual=True) + ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoEventStart() [member function] + cls.add_method('DoEventStart', + 'void', + [], + visibility='protected', is_virtual=True) + ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DoGetCurrentRealtime() [member function] + cls.add_method('DoGetCurrentRealtime', + 'uint64_t', + [], + visibility='protected', is_virtual=True) + ## wall-clock-synchronizer.h: int64_t ns3::WallClockSynchronizer::DoGetDrift(uint64_t ns) [member function] + cls.add_method('DoGetDrift', + 'int64_t', + [param('uint64_t', 'ns')], + visibility='protected', is_virtual=True) + ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::DoRealtime() [member function] + cls.add_method('DoRealtime', + 'bool', + [], + visibility='protected', is_virtual=True) + ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSetCondition(bool cond) [member function] + cls.add_method('DoSetCondition', + 'void', + [param('bool', 'cond')], + visibility='protected', is_virtual=True) + ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSetOrigin(uint64_t ns) [member function] + cls.add_method('DoSetOrigin', + 'void', + [param('uint64_t', 'ns')], + visibility='protected', is_virtual=True) + ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSignal() [member function] + cls.add_method('DoSignal', + 'void', + [], + visibility='protected', is_virtual=True) + ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::DoSynchronize(uint64_t nsCurrent, uint64_t nsDelay) [member function] + cls.add_method('DoSynchronize', + 'bool', + [param('uint64_t', 'nsCurrent'), param('uint64_t', 'nsDelay')], + visibility='protected', is_virtual=True) + ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DriftCorrect(uint64_t nsNow, uint64_t nsDelay) [member function] + cls.add_method('DriftCorrect', + 'uint64_t', + [param('uint64_t', 'nsNow'), param('uint64_t', 'nsDelay')], + visibility='protected') + ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::GetNormalizedRealtime() [member function] + cls.add_method('GetNormalizedRealtime', + 'uint64_t', + [], + visibility='protected') + ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::GetRealtime() [member function] + cls.add_method('GetRealtime', + 'uint64_t', + [], + visibility='protected') + ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::NsToTimeval(int64_t ns, timeval * tv) [member function] + cls.add_method('NsToTimeval', + 'void', + [param('int64_t', 'ns'), param('timeval *', 'tv')], + visibility='protected') + ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::SleepWait(uint64_t arg0) [member function] + cls.add_method('SleepWait', + 'bool', + [param('uint64_t', 'arg0')], + visibility='protected') + ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::SpinWait(uint64_t arg0) [member function] + cls.add_method('SpinWait', + 'bool', + [param('uint64_t', 'arg0')], + visibility='protected') + ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::TimevalAdd(timeval * tv1, timeval * tv2, timeval * result) [member function] + cls.add_method('TimevalAdd', + 'void', + [param('timeval *', 'tv1'), param('timeval *', 'tv2'), param('timeval *', 'result')], + visibility='protected') + ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::TimevalToNs(timeval * tv) [member function] + cls.add_method('TimevalToNs', + 'uint64_t', + [param('timeval *', 'tv')], + visibility='protected') + return + def register_Ns3AttributeAccessor_methods(root_module, cls): ## attribute.h: ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor] cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')]) @@ -2445,6 +3447,43 @@ def register_Ns3BooleanValue_methods(root_module, cls): [param('bool', 'value')]) return +def register_Ns3CalendarScheduler_methods(root_module, cls): + ## calendar-scheduler.h: ns3::CalendarScheduler::CalendarScheduler(ns3::CalendarScheduler const & arg0) [copy constructor] + cls.add_constructor([param('ns3::CalendarScheduler const &', 'arg0')]) + ## calendar-scheduler.h: ns3::CalendarScheduler::CalendarScheduler() [constructor] + cls.add_constructor([]) + ## calendar-scheduler.h: static ns3::TypeId ns3::CalendarScheduler::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## calendar-scheduler.h: void ns3::CalendarScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_virtual=True) + ## calendar-scheduler.h: bool ns3::CalendarScheduler::IsEmpty() const [member function] + cls.add_method('IsEmpty', + 'bool', + [], + is_const=True, is_virtual=True) + ## calendar-scheduler.h: ns3::Scheduler::Event ns3::CalendarScheduler::PeekNext() const [member function] + cls.add_method('PeekNext', + 'ns3::Scheduler::Event', + [], + is_const=True, is_virtual=True) + ## calendar-scheduler.h: void ns3::CalendarScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_virtual=True) + ## calendar-scheduler.h: ns3::Scheduler::Event ns3::CalendarScheduler::RemoveNext() [member function] + cls.add_method('RemoveNext', + 'ns3::Scheduler::Event', + [], + is_virtual=True) + return + def register_Ns3CallbackChecker_methods(root_module, cls): ## callback.h: ns3::CallbackChecker::CallbackChecker() [constructor] cls.add_constructor([]) @@ -2492,6 +3531,123 @@ def register_Ns3CallbackValue_methods(root_module, cls): [param('ns3::CallbackBase', 'base')]) return +def register_Ns3DefaultSimulatorImpl_methods(root_module, cls): + ## default-simulator-impl.h: ns3::DefaultSimulatorImpl::DefaultSimulatorImpl(ns3::DefaultSimulatorImpl const & arg0) [copy constructor] + cls.add_constructor([param('ns3::DefaultSimulatorImpl const &', 'arg0')]) + ## default-simulator-impl.h: ns3::DefaultSimulatorImpl::DefaultSimulatorImpl() [constructor] + cls.add_constructor([]) + ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Cancel(ns3::EventId const & ev) [member function] + cls.add_method('Cancel', + 'void', + [param('ns3::EventId const &', 'ev')], + is_virtual=True) + ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Destroy() [member function] + cls.add_method('Destroy', + 'void', + [], + is_virtual=True) + ## default-simulator-impl.h: uint32_t ns3::DefaultSimulatorImpl::GetContext() const [member function] + cls.add_method('GetContext', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] + cls.add_method('GetDelayLeft', + 'ns3::Time', + [param('ns3::EventId const &', 'id')], + is_const=True, is_virtual=True) + ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetMaximumSimulationTime() const [member function] + cls.add_method('GetMaximumSimulationTime', + 'ns3::Time', + [], + is_const=True, is_virtual=True) + ## default-simulator-impl.h: uint32_t ns3::DefaultSimulatorImpl::GetSystemId() const [member function] + cls.add_method('GetSystemId', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## default-simulator-impl.h: static ns3::TypeId ns3::DefaultSimulatorImpl::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## default-simulator-impl.h: bool ns3::DefaultSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] + cls.add_method('IsExpired', + 'bool', + [param('ns3::EventId const &', 'ev')], + is_const=True, is_virtual=True) + ## default-simulator-impl.h: bool ns3::DefaultSimulatorImpl::IsFinished() const [member function] + cls.add_method('IsFinished', + 'bool', + [], + is_const=True, is_virtual=True) + ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::Next() const [member function] + cls.add_method('Next', + 'ns3::Time', + [], + is_const=True, is_virtual=True) + ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::Now() const [member function] + cls.add_method('Now', + 'ns3::Time', + [], + is_const=True, is_virtual=True) + ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Remove(ns3::EventId const & ev) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::EventId const &', 'ev')], + is_virtual=True) + ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Run() [member function] + cls.add_method('Run', + 'void', + [], + is_virtual=True) + ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::RunOneEvent() [member function] + cls.add_method('RunOneEvent', + 'void', + [], + is_virtual=True) + ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function] + cls.add_method('Schedule', + 'ns3::EventId', + [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], + is_virtual=True) + ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] + cls.add_method('ScheduleDestroy', + 'ns3::EventId', + [param('ns3::EventImpl *', 'event')], + is_virtual=True) + ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] + cls.add_method('ScheduleNow', + 'ns3::EventId', + [param('ns3::EventImpl *', 'event')], + is_virtual=True) + ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] + cls.add_method('ScheduleWithContext', + 'void', + [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], + is_virtual=True) + ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] + cls.add_method('SetScheduler', + 'void', + [param('ns3::ObjectFactory', 'schedulerFactory')], + is_virtual=True) + ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop() [member function] + cls.add_method('Stop', + 'void', + [], + is_virtual=True) + ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop(ns3::Time const & time) [member function] + cls.add_method('Stop', + 'void', + [param('ns3::Time const &', 'time')], + is_virtual=True) + ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='private', is_virtual=True) + return + def register_Ns3DoubleValue_methods(root_module, cls): ## double.h: ns3::DoubleValue::DoubleValue() [constructor] cls.add_constructor([]) @@ -2625,6 +3781,87 @@ def register_Ns3EnumValue_methods(root_module, cls): [param('int', 'v')]) return +def register_Ns3EventImpl_methods(root_module, cls): + ## event-impl.h: ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor] + cls.add_constructor([param('ns3::EventImpl const &', 'arg0')]) + ## event-impl.h: ns3::EventImpl::EventImpl() [constructor] + cls.add_constructor([]) + ## event-impl.h: void ns3::EventImpl::Cancel() [member function] + cls.add_method('Cancel', + 'void', + []) + ## event-impl.h: void ns3::EventImpl::Invoke() [member function] + cls.add_method('Invoke', + 'void', + []) + ## event-impl.h: bool ns3::EventImpl::IsCancelled() [member function] + cls.add_method('IsCancelled', + 'bool', + []) + ## event-impl.h: void ns3::EventImpl::Notify() [member function] + cls.add_method('Notify', + 'void', + [], + is_pure_virtual=True, visibility='protected', is_virtual=True) + return + +def register_Ns3FdReader_methods(root_module, cls): + ## unix-fd-reader.h: ns3::FdReader::FdReader(ns3::FdReader const & arg0) [copy constructor] + cls.add_constructor([param('ns3::FdReader const &', 'arg0')]) + ## unix-fd-reader.h: ns3::FdReader::FdReader() [constructor] + cls.add_constructor([]) + ## unix-fd-reader.h: void ns3::FdReader::Start(int fd, ns3::Callback readCallback) [member function] + cls.add_method('Start', + 'void', + [param('int', 'fd'), param('ns3::Callback< void, unsigned char *, long, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'readCallback')]) + ## unix-fd-reader.h: void ns3::FdReader::Stop() [member function] + cls.add_method('Stop', + 'void', + []) + ## unix-fd-reader.h: ns3::FdReader::Data ns3::FdReader::DoRead() [member function] + cls.add_method('DoRead', + 'ns3::FdReader::Data', + [], + is_pure_virtual=True, visibility='protected', is_virtual=True) + return + +def register_Ns3HeapScheduler_methods(root_module, cls): + ## heap-scheduler.h: ns3::HeapScheduler::HeapScheduler(ns3::HeapScheduler const & arg0) [copy constructor] + cls.add_constructor([param('ns3::HeapScheduler const &', 'arg0')]) + ## heap-scheduler.h: ns3::HeapScheduler::HeapScheduler() [constructor] + cls.add_constructor([]) + ## heap-scheduler.h: static ns3::TypeId ns3::HeapScheduler::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## heap-scheduler.h: void ns3::HeapScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_virtual=True) + ## heap-scheduler.h: bool ns3::HeapScheduler::IsEmpty() const [member function] + cls.add_method('IsEmpty', + 'bool', + [], + is_const=True, is_virtual=True) + ## heap-scheduler.h: ns3::Scheduler::Event ns3::HeapScheduler::PeekNext() const [member function] + cls.add_method('PeekNext', + 'ns3::Scheduler::Event', + [], + is_const=True, is_virtual=True) + ## heap-scheduler.h: void ns3::HeapScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_virtual=True) + ## heap-scheduler.h: ns3::Scheduler::Event ns3::HeapScheduler::RemoveNext() [member function] + cls.add_method('RemoveNext', + 'ns3::Scheduler::Event', + [], + is_virtual=True) + return + def register_Ns3IntegerValue_methods(root_module, cls): ## integer.h: ns3::IntegerValue::IntegerValue() [constructor] cls.add_constructor([]) @@ -2658,6 +3895,117 @@ def register_Ns3IntegerValue_methods(root_module, cls): [param('int64_t const &', 'value')]) return +def register_Ns3ListScheduler_methods(root_module, cls): + ## list-scheduler.h: ns3::ListScheduler::ListScheduler(ns3::ListScheduler const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ListScheduler const &', 'arg0')]) + ## list-scheduler.h: ns3::ListScheduler::ListScheduler() [constructor] + cls.add_constructor([]) + ## list-scheduler.h: static ns3::TypeId ns3::ListScheduler::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## list-scheduler.h: void ns3::ListScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_virtual=True) + ## list-scheduler.h: bool ns3::ListScheduler::IsEmpty() const [member function] + cls.add_method('IsEmpty', + 'bool', + [], + is_const=True, is_virtual=True) + ## list-scheduler.h: ns3::Scheduler::Event ns3::ListScheduler::PeekNext() const [member function] + cls.add_method('PeekNext', + 'ns3::Scheduler::Event', + [], + is_const=True, is_virtual=True) + ## list-scheduler.h: void ns3::ListScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_virtual=True) + ## list-scheduler.h: ns3::Scheduler::Event ns3::ListScheduler::RemoveNext() [member function] + cls.add_method('RemoveNext', + 'ns3::Scheduler::Event', + [], + is_virtual=True) + return + +def register_Ns3MapScheduler_methods(root_module, cls): + ## map-scheduler.h: ns3::MapScheduler::MapScheduler(ns3::MapScheduler const & arg0) [copy constructor] + cls.add_constructor([param('ns3::MapScheduler const &', 'arg0')]) + ## map-scheduler.h: ns3::MapScheduler::MapScheduler() [constructor] + cls.add_constructor([]) + ## map-scheduler.h: static ns3::TypeId ns3::MapScheduler::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## map-scheduler.h: void ns3::MapScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_virtual=True) + ## map-scheduler.h: bool ns3::MapScheduler::IsEmpty() const [member function] + cls.add_method('IsEmpty', + 'bool', + [], + is_const=True, is_virtual=True) + ## map-scheduler.h: ns3::Scheduler::Event ns3::MapScheduler::PeekNext() const [member function] + cls.add_method('PeekNext', + 'ns3::Scheduler::Event', + [], + is_const=True, is_virtual=True) + ## map-scheduler.h: void ns3::MapScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_virtual=True) + ## map-scheduler.h: ns3::Scheduler::Event ns3::MapScheduler::RemoveNext() [member function] + cls.add_method('RemoveNext', + 'ns3::Scheduler::Event', + [], + is_virtual=True) + return + +def register_Ns3Ns2CalendarScheduler_methods(root_module, cls): + ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler::Ns2CalendarScheduler(ns3::Ns2CalendarScheduler const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ns2CalendarScheduler const &', 'arg0')]) + ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler::Ns2CalendarScheduler() [constructor] + cls.add_constructor([]) + ## ns2-calendar-scheduler.h: static ns3::TypeId ns3::Ns2CalendarScheduler::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## ns2-calendar-scheduler.h: void ns3::Ns2CalendarScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_virtual=True) + ## ns2-calendar-scheduler.h: bool ns3::Ns2CalendarScheduler::IsEmpty() const [member function] + cls.add_method('IsEmpty', + 'bool', + [], + is_const=True, is_virtual=True) + ## ns2-calendar-scheduler.h: ns3::Scheduler::Event ns3::Ns2CalendarScheduler::PeekNext() const [member function] + cls.add_method('PeekNext', + 'ns3::Scheduler::Event', + [], + is_const=True, is_virtual=True) + ## ns2-calendar-scheduler.h: void ns3::Ns2CalendarScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Scheduler::Event const &', 'ev')], + is_virtual=True) + ## ns2-calendar-scheduler.h: ns3::Scheduler::Event ns3::Ns2CalendarScheduler::RemoveNext() [member function] + cls.add_method('RemoveNext', + 'ns3::Scheduler::Event', + [], + is_virtual=True) + return + def register_Ns3ObjectFactoryChecker_methods(root_module, cls): ## object-factory.h: ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor] cls.add_constructor([]) @@ -2874,6 +4222,162 @@ def register_Ns3RandomVariableValue_methods(root_module, cls): [param('ns3::RandomVariable const &', 'value')]) return +def register_Ns3RealtimeSimulatorImpl_methods(root_module, cls): + ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::RealtimeSimulatorImpl(ns3::RealtimeSimulatorImpl const & arg0) [copy constructor] + cls.add_constructor([param('ns3::RealtimeSimulatorImpl const &', 'arg0')]) + ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::RealtimeSimulatorImpl() [constructor] + cls.add_constructor([]) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Cancel(ns3::EventId const & ev) [member function] + cls.add_method('Cancel', + 'void', + [param('ns3::EventId const &', 'ev')], + is_virtual=True) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Destroy() [member function] + cls.add_method('Destroy', + 'void', + [], + is_virtual=True) + ## realtime-simulator-impl.h: uint32_t ns3::RealtimeSimulatorImpl::GetContext() const [member function] + cls.add_method('GetContext', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] + cls.add_method('GetDelayLeft', + 'ns3::Time', + [param('ns3::EventId const &', 'id')], + is_const=True, is_virtual=True) + ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetHardLimit() const [member function] + cls.add_method('GetHardLimit', + 'ns3::Time', + [], + is_const=True) + ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetMaximumSimulationTime() const [member function] + cls.add_method('GetMaximumSimulationTime', + 'ns3::Time', + [], + is_const=True, is_virtual=True) + ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode ns3::RealtimeSimulatorImpl::GetSynchronizationMode() const [member function] + cls.add_method('GetSynchronizationMode', + 'ns3::RealtimeSimulatorImpl::SynchronizationMode', + [], + is_const=True) + ## realtime-simulator-impl.h: uint32_t ns3::RealtimeSimulatorImpl::GetSystemId() const [member function] + cls.add_method('GetSystemId', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## realtime-simulator-impl.h: static ns3::TypeId ns3::RealtimeSimulatorImpl::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## realtime-simulator-impl.h: bool ns3::RealtimeSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] + cls.add_method('IsExpired', + 'bool', + [param('ns3::EventId const &', 'ev')], + is_const=True, is_virtual=True) + ## realtime-simulator-impl.h: bool ns3::RealtimeSimulatorImpl::IsFinished() const [member function] + cls.add_method('IsFinished', + 'bool', + [], + is_const=True, is_virtual=True) + ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::Next() const [member function] + cls.add_method('Next', + 'ns3::Time', + [], + is_const=True, is_virtual=True) + ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::Now() const [member function] + cls.add_method('Now', + 'ns3::Time', + [], + is_const=True, is_virtual=True) + ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::RealtimeNow() const [member function] + cls.add_method('RealtimeNow', + 'ns3::Time', + [], + is_const=True) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Remove(ns3::EventId const & ev) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::EventId const &', 'ev')], + is_virtual=True) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Run() [member function] + cls.add_method('Run', + 'void', + [], + is_virtual=True) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::RunOneEvent() [member function] + cls.add_method('RunOneEvent', + 'void', + [], + is_virtual=True) + ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function] + cls.add_method('Schedule', + 'ns3::EventId', + [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], + is_virtual=True) + ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] + cls.add_method('ScheduleDestroy', + 'ns3::EventId', + [param('ns3::EventImpl *', 'event')], + is_virtual=True) + ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] + cls.add_method('ScheduleNow', + 'ns3::EventId', + [param('ns3::EventImpl *', 'event')], + is_virtual=True) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtime(ns3::Time const & time, ns3::EventImpl * event) [member function] + cls.add_method('ScheduleRealtime', + 'void', + [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')]) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeNow(ns3::EventImpl * event) [member function] + cls.add_method('ScheduleRealtimeNow', + 'void', + [param('ns3::EventImpl *', 'event')]) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeNowWithContext(uint32_t context, ns3::EventImpl * event) [member function] + cls.add_method('ScheduleRealtimeNowWithContext', + 'void', + [param('uint32_t', 'context'), param('ns3::EventImpl *', 'event')]) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] + cls.add_method('ScheduleRealtimeWithContext', + 'void', + [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')]) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] + cls.add_method('ScheduleWithContext', + 'void', + [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], + is_virtual=True) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetHardLimit(ns3::Time limit) [member function] + cls.add_method('SetHardLimit', + 'void', + [param('ns3::Time', 'limit')]) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] + cls.add_method('SetScheduler', + 'void', + [param('ns3::ObjectFactory', 'schedulerFactory')], + is_virtual=True) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetSynchronizationMode(ns3::RealtimeSimulatorImpl::SynchronizationMode mode) [member function] + cls.add_method('SetSynchronizationMode', + 'void', + [param('ns3::RealtimeSimulatorImpl::SynchronizationMode', 'mode')]) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Stop() [member function] + cls.add_method('Stop', + 'void', + [], + is_virtual=True) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Stop(ns3::Time const & time) [member function] + cls.add_method('Stop', + 'void', + [param('ns3::Time const &', 'time')], + is_virtual=True) + ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='private', is_virtual=True) + return + def register_Ns3RefCountBase_methods(root_module, cls): ## ref-count-base.h: ns3::RefCountBase::RefCountBase() [constructor] cls.add_constructor([]) @@ -2921,6 +4425,46 @@ def register_Ns3StringValue_methods(root_module, cls): [param('std::string const &', 'value')]) return +def register_Ns3TimeChecker_methods(root_module, cls): + ## nstime.h: ns3::TimeChecker::TimeChecker() [constructor] + cls.add_constructor([]) + ## nstime.h: ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')]) + return + +def register_Ns3TimeValue_methods(root_module, cls): + ## nstime.h: ns3::TimeValue::TimeValue() [constructor] + cls.add_constructor([]) + ## nstime.h: ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TimeValue const &', 'arg0')]) + ## nstime.h: ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor] + cls.add_constructor([param('ns3::Time const &', 'value')]) + ## nstime.h: ns3::Ptr ns3::TimeValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## nstime.h: bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] + cls.add_method('DeserializeFromString', + 'bool', + [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_virtual=True) + ## nstime.h: ns3::Time ns3::TimeValue::Get() const [member function] + cls.add_method('Get', + 'ns3::Time', + [], + is_const=True) + ## nstime.h: std::string ns3::TimeValue::SerializeToString(ns3::Ptr checker) const [member function] + cls.add_method('SerializeToString', + 'std::string', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True, is_virtual=True) + ## nstime.h: void ns3::TimeValue::Set(ns3::Time const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::Time const &', 'value')]) + return + def register_Ns3TypeIdChecker_methods(root_module, cls): ## type-id.h: ns3::TypeIdChecker::TypeIdChecker() [constructor] cls.add_constructor([]) @@ -3135,6 +4679,14 @@ def register_Ns3ConfigMatchContainer_methods(root_module, cls): def register_functions(root_module): module = root_module + ## high-precision.h: extern ns3::HighPrecision ns3::Abs(ns3::HighPrecision const & value) [free function] + module.add_function('Abs', + 'ns3::HighPrecision', + [param('ns3::HighPrecision const &', 'value')]) + ## nstime.h: ns3::Time ns3::Abs(ns3::Time const & time) [free function] + module.add_function('Abs', + 'ns3::Time', + [param('ns3::Time const &', 'time')]) ## breakpoint.h: extern void ns3::BreakpointFallback() [free function] module.add_function('BreakpointFallback', 'void', @@ -3157,6 +4709,10 @@ def register_functions(root_module): 'ns3::Ptr< ns3::PointerValue >', [], template_parameters=['ns3::PointerValue']) + ## nstime.h: ns3::Time ns3::FemtoSeconds(uint64_t fs) [free function] + module.add_function('FemtoSeconds', + 'ns3::Time', + [param('uint64_t', 'fs')]) ## log.h: extern void ns3::LogComponentDisable(char const * name, ns3::LogLevel level) [free function] module.add_function('LogComponentDisable', 'void', @@ -3200,6 +4756,10 @@ def register_functions(root_module): module.add_function('MakeEnumChecker', 'ns3::Ptr< ns3::AttributeChecker const >', [param('int', 'v1'), param('std::string', 'n1'), param('int', 'v2', default_value='0'), param('std::string', 'n2', default_value='""'), param('int', 'v3', default_value='0'), param('std::string', 'n3', default_value='""'), param('int', 'v4', default_value='0'), param('std::string', 'n4', default_value='""'), param('int', 'v5', default_value='0'), param('std::string', 'n5', default_value='""'), param('int', 'v6', default_value='0'), param('std::string', 'n6', default_value='""'), param('int', 'v7', default_value='0'), param('std::string', 'n7', default_value='""'), param('int', 'v8', default_value='0'), param('std::string', 'n8', default_value='""'), param('int', 'v9', default_value='0'), param('std::string', 'n9', default_value='""'), param('int', 'v10', default_value='0'), param('std::string', 'n10', default_value='""'), param('int', 'v11', default_value='0'), param('std::string', 'n11', default_value='""'), param('int', 'v12', default_value='0'), param('std::string', 'n12', default_value='""'), param('int', 'v13', default_value='0'), param('std::string', 'n13', default_value='""'), param('int', 'v14', default_value='0'), param('std::string', 'n14', default_value='""'), param('int', 'v15', default_value='0'), param('std::string', 'n15', default_value='""'), param('int', 'v16', default_value='0'), param('std::string', 'n16', default_value='""'), param('int', 'v17', default_value='0'), param('std::string', 'n17', default_value='""'), param('int', 'v18', default_value='0'), param('std::string', 'n18', default_value='""'), param('int', 'v19', default_value='0'), param('std::string', 'n19', default_value='""'), param('int', 'v20', default_value='0'), param('std::string', 'n20', default_value='""'), param('int', 'v21', default_value='0'), param('std::string', 'n21', default_value='""'), param('int', 'v22', default_value='0'), param('std::string', 'n22', default_value='""')]) + ## make-event.h: extern ns3::EventImpl * ns3::MakeEvent(void (*)( ) * f) [free function] + module.add_function('MakeEvent', + 'ns3::EventImpl *', + [param('void ( * ) ( ) *', 'f')]) ## object-factory.h: extern ns3::Ptr ns3::MakeObjectFactoryChecker() [free function] module.add_function('MakeObjectFactoryChecker', 'ns3::Ptr< ns3::AttributeChecker const >', @@ -3212,6 +4772,10 @@ def register_functions(root_module): module.add_function('MakeStringChecker', 'ns3::Ptr< ns3::AttributeChecker const >', []) + ## nstime.h: extern ns3::Ptr ns3::MakeTimeChecker() [free function] + module.add_function('MakeTimeChecker', + 'ns3::Ptr< ns3::AttributeChecker const >', + []) ## type-id.h: extern ns3::Ptr ns3::MakeTypeIdChecker() [free function] module.add_function('MakeTypeIdChecker', 'ns3::Ptr< ns3::AttributeChecker const >', @@ -3228,10 +4792,54 @@ def register_functions(root_module): module.add_function('MakeVectorChecker', 'ns3::Ptr< ns3::AttributeChecker const >', []) + ## high-precision.h: ns3::HighPrecision ns3::Max(ns3::HighPrecision const & a, ns3::HighPrecision const & b) [free function] + module.add_function('Max', + 'ns3::HighPrecision', + [param('ns3::HighPrecision const &', 'a'), param('ns3::HighPrecision const &', 'b')]) + ## nstime.h: ns3::Time ns3::Max(ns3::Time const & ta, ns3::Time const & tb) [free function] + module.add_function('Max', + 'ns3::Time', + [param('ns3::Time const &', 'ta'), param('ns3::Time const &', 'tb')]) + ## nstime.h: ns3::Time ns3::MicroSeconds(uint64_t us) [free function] + module.add_function('MicroSeconds', + 'ns3::Time', + [param('uint64_t', 'us')]) + ## nstime.h: ns3::Time ns3::MilliSeconds(uint64_t ms) [free function] + module.add_function('MilliSeconds', + 'ns3::Time', + [param('uint64_t', 'ms')]) + ## high-precision.h: ns3::HighPrecision ns3::Min(ns3::HighPrecision const & a, ns3::HighPrecision const & b) [free function] + module.add_function('Min', + 'ns3::HighPrecision', + [param('ns3::HighPrecision const &', 'a'), param('ns3::HighPrecision const &', 'b')]) + ## nstime.h: ns3::Time ns3::Min(ns3::Time const & ta, ns3::Time const & tb) [free function] + module.add_function('Min', + 'ns3::Time', + [param('ns3::Time const &', 'ta'), param('ns3::Time const &', 'tb')]) + ## nstime.h: ns3::Time ns3::NanoSeconds(uint64_t ns) [free function] + module.add_function('NanoSeconds', + 'ns3::Time', + [param('uint64_t', 'ns')]) + ## simulator.h: extern ns3::Time ns3::Now() [free function] + module.add_function('Now', + 'ns3::Time', + []) + ## nstime.h: ns3::Time ns3::PicoSeconds(uint64_t ps) [free function] + module.add_function('PicoSeconds', + 'ns3::Time', + [param('uint64_t', 'ps')]) + ## nstime.h: ns3::Time ns3::Seconds(double seconds) [free function] + module.add_function('Seconds', + 'ns3::Time', + [param('double', 'seconds')]) ## test.h: extern bool ns3::TestDoubleIsEqual(double const a, double const b, double const epsilon=std::numeric_limits::epsilon()) [free function] module.add_function('TestDoubleIsEqual', 'bool', [param('double const', 'a'), param('double const', 'b'), param('double const', 'epsilon', default_value='std::numeric_limits::epsilon()')]) + ## nstime.h: ns3::Time ns3::TimeStep(uint64_t ts) [free function] + module.add_function('TimeStep', + 'ns3::Time', + [param('uint64_t', 'ts')]) ## type-name.h: extern std::string ns3::TypeNameGet() [free function] module.add_function('TypeNameGet', 'std::string', diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_simulator.py b/bindings/python/apidefs/gcc-LP64/ns3_module_simulator.py deleted file mode 100644 index ebe3c2bfa..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_simulator.py +++ /dev/null @@ -1,1749 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## event-id.h: ns3::EventId [class] - module.add_class('EventId') - ## high-precision-128.h: ns3::HighPrecision [class] - module.add_class('HighPrecision') - ## simulator.h: ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True) - ## nstime.h: ns3::Time [class] - module.add_class('Time') - ## nstime.h: ns3::Time::Unit [enumeration] - module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time']) - ## time-base.h: ns3::TimeBase [class] - module.add_class('TimeBase') - ## time-base.h: ns3::TimeBase::Unit [enumeration] - module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::TimeBase']) - ## timer.h: ns3::Timer [class] - module.add_class('Timer') - ## timer.h: ns3::Timer::DestroyPolicy [enumeration] - module.add_enum('DestroyPolicy', ['CANCEL_ON_DESTROY', 'REMOVE_ON_DESTROY', 'CHECK_ON_DESTROY'], outer_class=root_module['ns3::Timer']) - ## timer.h: ns3::Timer::State [enumeration] - module.add_enum('State', ['RUNNING', 'EXPIRED', 'SUSPENDED'], outer_class=root_module['ns3::Timer']) - ## timer-impl.h: ns3::TimerImpl [class] - module.add_class('TimerImpl', allow_subclassing=True) - ## traced-value.h: ns3::TracedValue [class] - module.add_class('TracedValue', template_parameters=['ns3::Time']) - ## traced-value.h: ns3::TracedValue [class] - root_module['ns3::TracedValue< ns3::Time >'].implicitly_converts_to(root_module['ns3::Time']) - ## watchdog.h: ns3::Watchdog [class] - module.add_class('Watchdog') - ## nstime.h: ns3::Scalar [class] - module.add_class('Scalar') - ## nstime.h: ns3::Scalar [class] - root_module['ns3::Scalar'].implicitly_converts_to(root_module['ns3::Time']) - ## scheduler.h: ns3::Scheduler [class] - module.add_class('Scheduler', parent=root_module['ns3::Object']) - ## scheduler.h: ns3::Scheduler::Event [struct] - module.add_class('Event', outer_class=root_module['ns3::Scheduler']) - ## scheduler.h: ns3::Scheduler::EventKey [struct] - module.add_class('EventKey', outer_class=root_module['ns3::Scheduler']) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::EventImpl', '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::FdReader', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## simulator-impl.h: ns3::SimulatorImpl [class] - module.add_class('SimulatorImpl', parent=root_module['ns3::Object']) - ## synchronizer.h: ns3::Synchronizer [class] - module.add_class('Synchronizer', parent=root_module['ns3::Object']) - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer [class] - module.add_class('WallClockSynchronizer', parent=root_module['ns3::Synchronizer']) - ## calendar-scheduler.h: ns3::CalendarScheduler [class] - module.add_class('CalendarScheduler', parent=root_module['ns3::Scheduler']) - ## default-simulator-impl.h: ns3::DefaultSimulatorImpl [class] - module.add_class('DefaultSimulatorImpl', parent=root_module['ns3::SimulatorImpl']) - ## event-impl.h: ns3::EventImpl [class] - module.add_class('EventImpl', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >']) - ## unix-fd-reader.h: ns3::FdReader [class] - module.add_class('FdReader', parent=root_module['ns3::SimpleRefCount< ns3::FdReader, ns3::empty, ns3::DefaultDeleter >']) - ## heap-scheduler.h: ns3::HeapScheduler [class] - module.add_class('HeapScheduler', parent=root_module['ns3::Scheduler']) - ## list-scheduler.h: ns3::ListScheduler [class] - module.add_class('ListScheduler', parent=root_module['ns3::Scheduler']) - ## map-scheduler.h: ns3::MapScheduler [class] - module.add_class('MapScheduler', parent=root_module['ns3::Scheduler']) - ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler [class] - module.add_class('Ns2CalendarScheduler', parent=root_module['ns3::Scheduler']) - ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl [class] - module.add_class('RealtimeSimulatorImpl', parent=root_module['ns3::SimulatorImpl']) - ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode [enumeration] - module.add_enum('SynchronizationMode', ['SYNC_BEST_EFFORT', 'SYNC_HARD_LIMIT'], outer_class=root_module['ns3::RealtimeSimulatorImpl']) - ## nstime.h: ns3::TimeChecker [class] - module.add_class('TimeChecker', parent=root_module['ns3::AttributeChecker']) - ## nstime.h: ns3::TimeValue [class] - module.add_class('TimeValue', parent=root_module['ns3::AttributeValue']) - typehandlers.add_type_alias('ns3::Time', 'ns3::TimeInvert') - typehandlers.add_type_alias('ns3::Time*', 'ns3::TimeInvert*') - typehandlers.add_type_alias('ns3::Time&', 'ns3::TimeInvert&') - module.add_typedef(root_module['ns3::Time'], 'TimeInvert') - typehandlers.add_type_alias('ns3::Time', 'ns3::TimeSquare') - typehandlers.add_type_alias('ns3::Time*', 'ns3::TimeSquare*') - typehandlers.add_type_alias('ns3::Time&', 'ns3::TimeSquare&') - module.add_typedef(root_module['ns3::Time'], 'TimeSquare') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3EventId_methods(root_module, root_module['ns3::EventId']) - register_Ns3HighPrecision_methods(root_module, root_module['ns3::HighPrecision']) - register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) - register_Ns3Time_methods(root_module, root_module['ns3::Time']) - register_Ns3TimeBase_methods(root_module, root_module['ns3::TimeBase']) - register_Ns3Timer_methods(root_module, root_module['ns3::Timer']) - register_Ns3TimerImpl_methods(root_module, root_module['ns3::TimerImpl']) - register_Ns3Watchdog_methods(root_module, root_module['ns3::Watchdog']) - register_Ns3Scalar_methods(root_module, root_module['ns3::Scalar']) - register_Ns3Scheduler_methods(root_module, root_module['ns3::Scheduler']) - register_Ns3SchedulerEvent_methods(root_module, root_module['ns3::Scheduler::Event']) - register_Ns3SchedulerEventKey_methods(root_module, root_module['ns3::Scheduler::EventKey']) - register_Ns3SimulatorImpl_methods(root_module, root_module['ns3::SimulatorImpl']) - register_Ns3Synchronizer_methods(root_module, root_module['ns3::Synchronizer']) - register_Ns3WallClockSynchronizer_methods(root_module, root_module['ns3::WallClockSynchronizer']) - register_Ns3CalendarScheduler_methods(root_module, root_module['ns3::CalendarScheduler']) - register_Ns3DefaultSimulatorImpl_methods(root_module, root_module['ns3::DefaultSimulatorImpl']) - register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) - register_Ns3FdReader_methods(root_module, root_module['ns3::FdReader']) - register_Ns3HeapScheduler_methods(root_module, root_module['ns3::HeapScheduler']) - register_Ns3ListScheduler_methods(root_module, root_module['ns3::ListScheduler']) - register_Ns3MapScheduler_methods(root_module, root_module['ns3::MapScheduler']) - register_Ns3Ns2CalendarScheduler_methods(root_module, root_module['ns3::Ns2CalendarScheduler']) - register_Ns3RealtimeSimulatorImpl_methods(root_module, root_module['ns3::RealtimeSimulatorImpl']) - register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker']) - register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue']) - return - -def register_Ns3EventId_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_binary_comparison_operator('==') - ## event-id.h: ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EventId const &', 'arg0')]) - ## event-id.h: ns3::EventId::EventId() [constructor] - cls.add_constructor([]) - ## event-id.h: ns3::EventId::EventId(ns3::Ptr const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')]) - ## event-id.h: void ns3::EventId::Cancel() [member function] - cls.add_method('Cancel', - 'void', - []) - ## event-id.h: uint32_t ns3::EventId::GetContext() const [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_const=True) - ## event-id.h: uint64_t ns3::EventId::GetTs() const [member function] - cls.add_method('GetTs', - 'uint64_t', - [], - is_const=True) - ## event-id.h: uint32_t ns3::EventId::GetUid() const [member function] - cls.add_method('GetUid', - 'uint32_t', - [], - is_const=True) - ## event-id.h: bool ns3::EventId::IsExpired() const [member function] - cls.add_method('IsExpired', - 'bool', - [], - is_const=True) - ## event-id.h: bool ns3::EventId::IsRunning() const [member function] - cls.add_method('IsRunning', - 'bool', - [], - is_const=True) - ## event-id.h: ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function] - cls.add_method('PeekEventImpl', - 'ns3::EventImpl *', - [], - is_const=True) - return - -def register_Ns3HighPrecision_methods(root_module, cls): - cls.add_output_stream_operator() - ## high-precision-128.h: ns3::HighPrecision::HighPrecision(ns3::HighPrecision const & arg0) [copy constructor] - cls.add_constructor([param('ns3::HighPrecision const &', 'arg0')]) - ## high-precision-128.h: ns3::HighPrecision::HighPrecision(int64_t high, uint64_t low) [constructor] - cls.add_constructor([param('int64_t', 'high'), param('uint64_t', 'low')]) - ## high-precision-128.h: ns3::HighPrecision::HighPrecision() [constructor] - cls.add_constructor([]) - ## high-precision-128.h: ns3::HighPrecision::HighPrecision(int64_t value, bool dummy) [constructor] - cls.add_constructor([param('int64_t', 'value'), param('bool', 'dummy')]) - ## high-precision-128.h: ns3::HighPrecision::HighPrecision(double value) [constructor] - cls.add_constructor([param('double', 'value')]) - ## high-precision-128.h: void ns3::HighPrecision::Add(ns3::HighPrecision const & o) [member function] - cls.add_method('Add', - 'void', - [param('ns3::HighPrecision const &', 'o')]) - ## high-precision-128.h: int ns3::HighPrecision::Compare(ns3::HighPrecision const & o) const [member function] - cls.add_method('Compare', - 'int', - [param('ns3::HighPrecision const &', 'o')], - is_const=True) - ## high-precision-128.h: void ns3::HighPrecision::Div(ns3::HighPrecision const & o) [member function] - cls.add_method('Div', - 'void', - [param('ns3::HighPrecision const &', 'o')]) - ## high-precision-128.h: double ns3::HighPrecision::GetDouble() const [member function] - cls.add_method('GetDouble', - 'double', - [], - is_const=True) - ## high-precision-128.h: int64_t ns3::HighPrecision::GetHigh() const [member function] - cls.add_method('GetHigh', - 'int64_t', - [], - is_const=True) - ## high-precision-128.h: int64_t ns3::HighPrecision::GetInteger() const [member function] - cls.add_method('GetInteger', - 'int64_t', - [], - is_const=True) - ## high-precision-128.h: uint64_t ns3::HighPrecision::GetLow() const [member function] - cls.add_method('GetLow', - 'uint64_t', - [], - is_const=True) - ## high-precision-128.h: static ns3::HighPrecision ns3::HighPrecision::Invert(uint64_t v) [member function] - cls.add_method('Invert', - 'ns3::HighPrecision', - [param('uint64_t', 'v')], - is_static=True) - ## high-precision-128.h: void ns3::HighPrecision::Mul(ns3::HighPrecision const & o) [member function] - cls.add_method('Mul', - 'void', - [param('ns3::HighPrecision const &', 'o')]) - ## high-precision-128.h: void ns3::HighPrecision::MulByInvert(ns3::HighPrecision const & o) [member function] - cls.add_method('MulByInvert', - 'void', - [param('ns3::HighPrecision const &', 'o')]) - ## high-precision-128.h: void ns3::HighPrecision::Sub(ns3::HighPrecision const & o) [member function] - cls.add_method('Sub', - 'void', - [param('ns3::HighPrecision const &', 'o')]) - ## high-precision-128.h: static ns3::HighPrecision ns3::HighPrecision::Zero() [member function] - cls.add_method('Zero', - 'ns3::HighPrecision', - [], - is_static=True) - return - -def register_Ns3Simulator_methods(root_module, cls): - ## simulator.h: ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Simulator const &', 'arg0')]) - ## simulator.h: static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function] - cls.add_method('Cancel', - 'void', - [param('ns3::EventId const &', 'id')], - is_static=True) - ## simulator.h: static void ns3::Simulator::Destroy() [member function] - cls.add_method('Destroy', - 'void', - [], - is_static=True) - ## simulator.h: static uint32_t ns3::Simulator::GetContext() [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_static=True) - ## simulator.h: static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [param('ns3::EventId const &', 'id')], - is_static=True) - ## simulator.h: static ns3::Ptr ns3::Simulator::GetImplementation() [member function] - cls.add_method('GetImplementation', - 'ns3::Ptr< ns3::SimulatorImpl >', - [], - is_static=True) - ## simulator.h: static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function] - cls.add_method('GetMaximumSimulationTime', - 'ns3::Time', - [], - is_static=True) - ## simulator.h: static uint32_t ns3::Simulator::GetSystemId() [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_static=True) - ## simulator.h: static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function] - cls.add_method('IsExpired', - 'bool', - [param('ns3::EventId const &', 'id')], - is_static=True) - ## simulator.h: static bool ns3::Simulator::IsFinished() [member function] - cls.add_method('IsFinished', - 'bool', - [], - is_static=True) - ## simulator.h: static ns3::Time ns3::Simulator::Next() [member function] - cls.add_method('Next', - 'ns3::Time', - [], - is_static=True, deprecated=True) - ## simulator.h: static ns3::Time ns3::Simulator::Now() [member function] - cls.add_method('Now', - 'ns3::Time', - [], - is_static=True) - ## simulator.h: static void ns3::Simulator::Remove(ns3::EventId const & id) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::EventId const &', 'id')], - is_static=True) - ## simulator.h: static void ns3::Simulator::RunOneEvent() [member function] - cls.add_method('RunOneEvent', - 'void', - [], - is_static=True, deprecated=True) - ## simulator.h: static void ns3::Simulator::SetImplementation(ns3::Ptr impl) [member function] - cls.add_method('SetImplementation', - 'void', - [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')], - is_static=True) - ## simulator.h: static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] - cls.add_method('SetScheduler', - 'void', - [param('ns3::ObjectFactory', 'schedulerFactory')], - is_static=True) - ## simulator.h: static void ns3::Simulator::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_static=True) - ## simulator.h: static void ns3::Simulator::Stop(ns3::Time const & time) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'time')], - is_static=True) - return - -def register_Ns3Time_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_inplace_numeric_operator('*=', param('ns3::Time const &', 'right')) - cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right')) - cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right')) - cls.add_inplace_numeric_operator('/=', param('ns3::Time const &', 'right')) - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('<=') - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('>=') - cls.add_binary_numeric_operator('*', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) - cls.add_binary_comparison_operator('<') - cls.add_binary_comparison_operator('>') - ## nstime.h: ns3::Time::Time() [constructor] - cls.add_constructor([]) - ## nstime.h: ns3::Time::Time(ns3::Time const & o) [copy constructor] - cls.add_constructor([param('ns3::Time const &', 'o')]) - ## nstime.h: ns3::Time::Time(ns3::HighPrecision const & data) [constructor] - cls.add_constructor([param('ns3::HighPrecision const &', 'data')]) - ## nstime.h: ns3::Time::Time(std::string const & s) [constructor] - cls.add_constructor([param('std::string const &', 's')]) - ## nstime.h: int ns3::Time::Compare(ns3::Time const & o) const [member function] - cls.add_method('Compare', - 'int', - [param('ns3::Time const &', 'o')], - is_const=True) - ## nstime.h: static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function] - cls.add_method('FromDouble', - 'ns3::Time', - [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')], - is_static=True) - ## nstime.h: static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function] - cls.add_method('FromInteger', - 'ns3::Time', - [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')], - is_static=True) - ## nstime.h: int64_t ns3::Time::GetFemtoSeconds() const [member function] - cls.add_method('GetFemtoSeconds', - 'int64_t', - [], - is_const=True) - ## nstime.h: ns3::HighPrecision const & ns3::Time::GetHighPrecision() const [member function] - cls.add_method('GetHighPrecision', - 'ns3::HighPrecision const &', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetMicroSeconds() const [member function] - cls.add_method('GetMicroSeconds', - 'int64_t', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetMilliSeconds() const [member function] - cls.add_method('GetMilliSeconds', - 'int64_t', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetNanoSeconds() const [member function] - cls.add_method('GetNanoSeconds', - 'int64_t', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetPicoSeconds() const [member function] - cls.add_method('GetPicoSeconds', - 'int64_t', - [], - is_const=True) - ## nstime.h: static ns3::Time::Unit ns3::Time::GetResolution() [member function] - cls.add_method('GetResolution', - 'ns3::Time::Unit', - [], - is_static=True) - ## nstime.h: double ns3::Time::GetSeconds() const [member function] - cls.add_method('GetSeconds', - 'double', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetTimeStep() const [member function] - cls.add_method('GetTimeStep', - 'int64_t', - [], - is_const=True) - ## nstime.h: bool ns3::Time::IsNegative() const [member function] - cls.add_method('IsNegative', - 'bool', - [], - is_const=True) - ## nstime.h: bool ns3::Time::IsPositive() const [member function] - cls.add_method('IsPositive', - 'bool', - [], - is_const=True) - ## nstime.h: bool ns3::Time::IsStrictlyNegative() const [member function] - cls.add_method('IsStrictlyNegative', - 'bool', - [], - is_const=True) - ## nstime.h: bool ns3::Time::IsStrictlyPositive() const [member function] - cls.add_method('IsStrictlyPositive', - 'bool', - [], - is_const=True) - ## nstime.h: bool ns3::Time::IsZero() const [member function] - cls.add_method('IsZero', - 'bool', - [], - is_const=True) - ## nstime.h: ns3::HighPrecision * ns3::Time::PeekHighPrecision() [member function] - cls.add_method('PeekHighPrecision', - 'ns3::HighPrecision *', - []) - ## nstime.h: static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function] - cls.add_method('SetResolution', - 'void', - [param('ns3::Time::Unit', 'resolution')], - is_static=True) - ## nstime.h: static double ns3::Time::ToDouble(ns3::Time const & time, ns3::Time::Unit timeUnit) [member function] - cls.add_method('ToDouble', - 'double', - [param('ns3::Time const &', 'time'), param('ns3::Time::Unit', 'timeUnit')], - is_static=True) - ## nstime.h: static uint64_t ns3::Time::ToInteger(ns3::Time const & time, ns3::Time::Unit timeUnit) [member function] - cls.add_method('ToInteger', - 'uint64_t', - [param('ns3::Time const &', 'time'), param('ns3::Time::Unit', 'timeUnit')], - is_static=True) - return - -def register_Ns3TimeBase_methods(root_module, cls): - ## time-base.h: ns3::TimeBase::TimeBase() [constructor] - cls.add_constructor([]) - ## time-base.h: ns3::TimeBase::TimeBase(ns3::TimeBase const & o) [copy constructor] - cls.add_constructor([param('ns3::TimeBase const &', 'o')]) - ## time-base.h: ns3::TimeBase::TimeBase(ns3::HighPrecision const & data) [constructor] - cls.add_constructor([param('ns3::HighPrecision const &', 'data')]) - ## time-base.h: static ns3::TimeBase ns3::TimeBase::FromDouble(double value, ns3::TimeBase::Unit timeUnit) [member function] - cls.add_method('FromDouble', - 'ns3::TimeBase', - [param('double', 'value'), param('ns3::TimeBase::Unit', 'timeUnit')], - is_static=True) - ## time-base.h: static ns3::TimeBase ns3::TimeBase::FromInteger(uint64_t value, ns3::TimeBase::Unit timeUnit) [member function] - cls.add_method('FromInteger', - 'ns3::TimeBase', - [param('uint64_t', 'value'), param('ns3::TimeBase::Unit', 'timeUnit')], - is_static=True) - ## time-base.h: ns3::HighPrecision const & ns3::TimeBase::GetHighPrecision() const [member function] - cls.add_method('GetHighPrecision', - 'ns3::HighPrecision const &', - [], - is_const=True) - ## time-base.h: static ns3::TimeBase::Unit ns3::TimeBase::GetResolution() [member function] - cls.add_method('GetResolution', - 'ns3::TimeBase::Unit', - [], - is_static=True) - ## time-base.h: bool ns3::TimeBase::IsNegative() const [member function] - cls.add_method('IsNegative', - 'bool', - [], - is_const=True) - ## time-base.h: bool ns3::TimeBase::IsPositive() const [member function] - cls.add_method('IsPositive', - 'bool', - [], - is_const=True) - ## time-base.h: bool ns3::TimeBase::IsStrictlyNegative() const [member function] - cls.add_method('IsStrictlyNegative', - 'bool', - [], - is_const=True) - ## time-base.h: bool ns3::TimeBase::IsStrictlyPositive() const [member function] - cls.add_method('IsStrictlyPositive', - 'bool', - [], - is_const=True) - ## time-base.h: bool ns3::TimeBase::IsZero() const [member function] - cls.add_method('IsZero', - 'bool', - [], - is_const=True) - ## time-base.h: ns3::HighPrecision * ns3::TimeBase::PeekHighPrecision() [member function] - cls.add_method('PeekHighPrecision', - 'ns3::HighPrecision *', - []) - ## time-base.h: static void ns3::TimeBase::SetResolution(ns3::TimeBase::Unit resolution) [member function] - cls.add_method('SetResolution', - 'void', - [param('ns3::TimeBase::Unit', 'resolution')], - is_static=True) - ## time-base.h: static double ns3::TimeBase::ToDouble(ns3::TimeBase const & time, ns3::TimeBase::Unit timeUnit) [member function] - cls.add_method('ToDouble', - 'double', - [param('ns3::TimeBase const &', 'time'), param('ns3::TimeBase::Unit', 'timeUnit')], - is_static=True) - ## time-base.h: static uint64_t ns3::TimeBase::ToInteger(ns3::TimeBase const & time, ns3::TimeBase::Unit timeUnit) [member function] - cls.add_method('ToInteger', - 'uint64_t', - [param('ns3::TimeBase const &', 'time'), param('ns3::TimeBase::Unit', 'timeUnit')], - is_static=True) - return - -def register_Ns3Timer_methods(root_module, cls): - ## timer.h: ns3::Timer::Timer(ns3::Timer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Timer const &', 'arg0')]) - ## timer.h: ns3::Timer::Timer() [constructor] - cls.add_constructor([]) - ## timer.h: ns3::Timer::Timer(ns3::Timer::DestroyPolicy destroyPolicy) [constructor] - cls.add_constructor([param('ns3::Timer::DestroyPolicy', 'destroyPolicy')]) - ## timer.h: void ns3::Timer::Cancel() [member function] - cls.add_method('Cancel', - 'void', - []) - ## timer.h: ns3::Time ns3::Timer::GetDelay() const [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [], - is_const=True) - ## timer.h: ns3::Time ns3::Timer::GetDelayLeft() const [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [], - is_const=True) - ## timer.h: ns3::Timer::State ns3::Timer::GetState() const [member function] - cls.add_method('GetState', - 'ns3::Timer::State', - [], - is_const=True) - ## timer.h: bool ns3::Timer::IsExpired() const [member function] - cls.add_method('IsExpired', - 'bool', - [], - is_const=True) - ## timer.h: bool ns3::Timer::IsRunning() const [member function] - cls.add_method('IsRunning', - 'bool', - [], - is_const=True) - ## timer.h: bool ns3::Timer::IsSuspended() const [member function] - cls.add_method('IsSuspended', - 'bool', - [], - is_const=True) - ## timer.h: void ns3::Timer::Remove() [member function] - cls.add_method('Remove', - 'void', - []) - ## timer.h: void ns3::Timer::Resume() [member function] - cls.add_method('Resume', - 'void', - []) - ## timer.h: void ns3::Timer::Schedule() [member function] - cls.add_method('Schedule', - 'void', - []) - ## timer.h: void ns3::Timer::Schedule(ns3::Time delay) [member function] - cls.add_method('Schedule', - 'void', - [param('ns3::Time', 'delay')]) - ## timer.h: void ns3::Timer::SetDelay(ns3::Time const & delay) [member function] - cls.add_method('SetDelay', - 'void', - [param('ns3::Time const &', 'delay')]) - ## timer.h: void ns3::Timer::Suspend() [member function] - cls.add_method('Suspend', - 'void', - []) - return - -def register_Ns3TimerImpl_methods(root_module, cls): - ## timer-impl.h: ns3::TimerImpl::TimerImpl() [constructor] - cls.add_constructor([]) - ## timer-impl.h: ns3::TimerImpl::TimerImpl(ns3::TimerImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TimerImpl const &', 'arg0')]) - ## timer-impl.h: void ns3::TimerImpl::Invoke() [member function] - cls.add_method('Invoke', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## timer-impl.h: ns3::EventId ns3::TimerImpl::Schedule(ns3::Time const & delay) [member function] - cls.add_method('Schedule', - 'ns3::EventId', - [param('ns3::Time const &', 'delay')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3Watchdog_methods(root_module, cls): - ## watchdog.h: ns3::Watchdog::Watchdog(ns3::Watchdog const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Watchdog const &', 'arg0')]) - ## watchdog.h: ns3::Watchdog::Watchdog() [constructor] - cls.add_constructor([]) - ## watchdog.h: void ns3::Watchdog::Ping(ns3::Time delay) [member function] - cls.add_method('Ping', - 'void', - [param('ns3::Time', 'delay')]) - return - -def register_Ns3Scalar_methods(root_module, cls): - ## nstime.h: ns3::Scalar::Scalar(ns3::Scalar const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Scalar const &', 'arg0')]) - ## nstime.h: ns3::Scalar::Scalar() [constructor] - cls.add_constructor([]) - ## nstime.h: ns3::Scalar::Scalar(double v) [constructor] - cls.add_constructor([param('double', 'v')]) - ## nstime.h: ns3::Scalar::Scalar(uint32_t v) [constructor] - cls.add_constructor([param('uint32_t', 'v')]) - ## nstime.h: ns3::Scalar::Scalar(int32_t v) [constructor] - cls.add_constructor([param('int32_t', 'v')]) - ## nstime.h: ns3::Scalar::Scalar(uint64_t v) [constructor] - cls.add_constructor([param('uint64_t', 'v')]) - ## nstime.h: ns3::Scalar::Scalar(int64_t v) [constructor] - cls.add_constructor([param('int64_t', 'v')]) - ## nstime.h: ns3::Scalar::Scalar(ns3::Time t) [constructor] - cls.add_constructor([param('ns3::Time', 't')]) - ## nstime.h: double ns3::Scalar::GetDouble() const [member function] - cls.add_method('GetDouble', - 'double', - [], - is_const=True) - return - -def register_Ns3Scheduler_methods(root_module, cls): - ## scheduler.h: ns3::Scheduler::Scheduler() [constructor] - cls.add_constructor([]) - ## scheduler.h: ns3::Scheduler::Scheduler(ns3::Scheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Scheduler const &', 'arg0')]) - ## scheduler.h: static ns3::TypeId ns3::Scheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## scheduler.h: void ns3::Scheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_pure_virtual=True, is_virtual=True) - ## scheduler.h: bool ns3::Scheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## scheduler.h: ns3::Scheduler::Event ns3::Scheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## scheduler.h: void ns3::Scheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_pure_virtual=True, is_virtual=True) - ## scheduler.h: ns3::Scheduler::Event ns3::Scheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3SchedulerEvent_methods(root_module, cls): - cls.add_binary_comparison_operator('<') - ## scheduler.h: ns3::Scheduler::Event::Event() [constructor] - cls.add_constructor([]) - ## scheduler.h: ns3::Scheduler::Event::Event(ns3::Scheduler::Event const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Scheduler::Event const &', 'arg0')]) - ## scheduler.h: ns3::Scheduler::Event::impl [variable] - cls.add_instance_attribute('impl', 'ns3::EventImpl *', is_const=False) - ## scheduler.h: ns3::Scheduler::Event::key [variable] - cls.add_instance_attribute('key', 'ns3::Scheduler::EventKey', is_const=False) - return - -def register_Ns3SchedulerEventKey_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_binary_comparison_operator('<') - cls.add_binary_comparison_operator('>') - ## scheduler.h: ns3::Scheduler::EventKey::EventKey() [constructor] - cls.add_constructor([]) - ## scheduler.h: ns3::Scheduler::EventKey::EventKey(ns3::Scheduler::EventKey const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Scheduler::EventKey const &', 'arg0')]) - ## scheduler.h: ns3::Scheduler::EventKey::m_context [variable] - cls.add_instance_attribute('m_context', 'uint32_t', is_const=False) - ## scheduler.h: ns3::Scheduler::EventKey::m_ts [variable] - cls.add_instance_attribute('m_ts', 'uint64_t', is_const=False) - ## scheduler.h: ns3::Scheduler::EventKey::m_uid [variable] - cls.add_instance_attribute('m_uid', 'uint32_t', is_const=False) - return - -def register_Ns3SimulatorImpl_methods(root_module, cls): - ## simulator-impl.h: ns3::SimulatorImpl::SimulatorImpl() [constructor] - cls.add_constructor([]) - ## simulator-impl.h: ns3::SimulatorImpl::SimulatorImpl(ns3::SimulatorImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SimulatorImpl const &', 'arg0')]) - ## simulator-impl.h: void ns3::SimulatorImpl::Cancel(ns3::EventId const & ev) [member function] - cls.add_method('Cancel', - 'void', - [param('ns3::EventId const &', 'ev')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::Destroy() [member function] - cls.add_method('Destroy', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: uint32_t ns3::SimulatorImpl::GetContext() const [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [param('ns3::EventId const &', 'id')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::GetMaximumSimulationTime() const [member function] - cls.add_method('GetMaximumSimulationTime', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: uint32_t ns3::SimulatorImpl::GetSystemId() const [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: static ns3::TypeId ns3::SimulatorImpl::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## simulator-impl.h: bool ns3::SimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] - cls.add_method('IsExpired', - 'bool', - [param('ns3::EventId const &', 'ev')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: bool ns3::SimulatorImpl::IsFinished() const [member function] - cls.add_method('IsFinished', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::Next() const [member function] - cls.add_method('Next', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::Now() const [member function] - cls.add_method('Now', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::Remove(ns3::EventId const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::EventId const &', 'ev')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::Run() [member function] - cls.add_method('Run', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::RunOneEvent() [member function] - cls.add_method('RunOneEvent', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('Schedule', - 'ns3::EventId', - [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleDestroy', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleNow', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] - cls.add_method('SetScheduler', - 'void', - [param('ns3::ObjectFactory', 'schedulerFactory')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::Stop(ns3::Time const & time) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'time')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3Synchronizer_methods(root_module, cls): - ## synchronizer.h: ns3::Synchronizer::Synchronizer(ns3::Synchronizer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Synchronizer const &', 'arg0')]) - ## synchronizer.h: ns3::Synchronizer::Synchronizer() [constructor] - cls.add_constructor([]) - ## synchronizer.h: uint64_t ns3::Synchronizer::EventEnd() [member function] - cls.add_method('EventEnd', - 'uint64_t', - []) - ## synchronizer.h: void ns3::Synchronizer::EventStart() [member function] - cls.add_method('EventStart', - 'void', - []) - ## synchronizer.h: uint64_t ns3::Synchronizer::GetCurrentRealtime() [member function] - cls.add_method('GetCurrentRealtime', - 'uint64_t', - []) - ## synchronizer.h: int64_t ns3::Synchronizer::GetDrift(uint64_t ts) [member function] - cls.add_method('GetDrift', - 'int64_t', - [param('uint64_t', 'ts')]) - ## synchronizer.h: uint64_t ns3::Synchronizer::GetOrigin() [member function] - cls.add_method('GetOrigin', - 'uint64_t', - []) - ## synchronizer.h: static ns3::TypeId ns3::Synchronizer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## synchronizer.h: bool ns3::Synchronizer::Realtime() [member function] - cls.add_method('Realtime', - 'bool', - []) - ## synchronizer.h: void ns3::Synchronizer::SetCondition(bool arg0) [member function] - cls.add_method('SetCondition', - 'void', - [param('bool', 'arg0')]) - ## synchronizer.h: void ns3::Synchronizer::SetOrigin(uint64_t ts) [member function] - cls.add_method('SetOrigin', - 'void', - [param('uint64_t', 'ts')]) - ## synchronizer.h: void ns3::Synchronizer::Signal() [member function] - cls.add_method('Signal', - 'void', - []) - ## synchronizer.h: bool ns3::Synchronizer::Synchronize(uint64_t tsCurrent, uint64_t tsDelay) [member function] - cls.add_method('Synchronize', - 'bool', - [param('uint64_t', 'tsCurrent'), param('uint64_t', 'tsDelay')]) - ## synchronizer.h: uint64_t ns3::Synchronizer::DoEventEnd() [member function] - cls.add_method('DoEventEnd', - 'uint64_t', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: void ns3::Synchronizer::DoEventStart() [member function] - cls.add_method('DoEventStart', - 'void', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: uint64_t ns3::Synchronizer::DoGetCurrentRealtime() [member function] - cls.add_method('DoGetCurrentRealtime', - 'uint64_t', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: int64_t ns3::Synchronizer::DoGetDrift(uint64_t ns) [member function] - cls.add_method('DoGetDrift', - 'int64_t', - [param('uint64_t', 'ns')], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: bool ns3::Synchronizer::DoRealtime() [member function] - cls.add_method('DoRealtime', - 'bool', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: void ns3::Synchronizer::DoSetCondition(bool arg0) [member function] - cls.add_method('DoSetCondition', - 'void', - [param('bool', 'arg0')], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: void ns3::Synchronizer::DoSetOrigin(uint64_t ns) [member function] - cls.add_method('DoSetOrigin', - 'void', - [param('uint64_t', 'ns')], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: void ns3::Synchronizer::DoSignal() [member function] - cls.add_method('DoSignal', - 'void', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: bool ns3::Synchronizer::DoSynchronize(uint64_t nsCurrent, uint64_t nsDelay) [member function] - cls.add_method('DoSynchronize', - 'bool', - [param('uint64_t', 'nsCurrent'), param('uint64_t', 'nsDelay')], - is_pure_virtual=True, visibility='protected', is_virtual=True) - return - -def register_Ns3WallClockSynchronizer_methods(root_module, cls): - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::WallClockSynchronizer(ns3::WallClockSynchronizer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WallClockSynchronizer const &', 'arg0')]) - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::WallClockSynchronizer() [constructor] - cls.add_constructor([]) - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::NS_PER_SEC [variable] - cls.add_static_attribute('NS_PER_SEC', 'uint64_t const', is_const=True) - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::US_PER_NS [variable] - cls.add_static_attribute('US_PER_NS', 'uint64_t const', is_const=True) - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::US_PER_SEC [variable] - cls.add_static_attribute('US_PER_SEC', 'uint64_t const', is_const=True) - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DoEventEnd() [member function] - cls.add_method('DoEventEnd', - 'uint64_t', - [], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoEventStart() [member function] - cls.add_method('DoEventStart', - 'void', - [], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DoGetCurrentRealtime() [member function] - cls.add_method('DoGetCurrentRealtime', - 'uint64_t', - [], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: int64_t ns3::WallClockSynchronizer::DoGetDrift(uint64_t ns) [member function] - cls.add_method('DoGetDrift', - 'int64_t', - [param('uint64_t', 'ns')], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::DoRealtime() [member function] - cls.add_method('DoRealtime', - 'bool', - [], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSetCondition(bool cond) [member function] - cls.add_method('DoSetCondition', - 'void', - [param('bool', 'cond')], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSetOrigin(uint64_t ns) [member function] - cls.add_method('DoSetOrigin', - 'void', - [param('uint64_t', 'ns')], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSignal() [member function] - cls.add_method('DoSignal', - 'void', - [], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::DoSynchronize(uint64_t nsCurrent, uint64_t nsDelay) [member function] - cls.add_method('DoSynchronize', - 'bool', - [param('uint64_t', 'nsCurrent'), param('uint64_t', 'nsDelay')], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DriftCorrect(uint64_t nsNow, uint64_t nsDelay) [member function] - cls.add_method('DriftCorrect', - 'uint64_t', - [param('uint64_t', 'nsNow'), param('uint64_t', 'nsDelay')], - visibility='protected') - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::GetNormalizedRealtime() [member function] - cls.add_method('GetNormalizedRealtime', - 'uint64_t', - [], - visibility='protected') - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::GetRealtime() [member function] - cls.add_method('GetRealtime', - 'uint64_t', - [], - visibility='protected') - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::NsToTimeval(int64_t ns, timeval * tv) [member function] - cls.add_method('NsToTimeval', - 'void', - [param('int64_t', 'ns'), param('timeval *', 'tv')], - visibility='protected') - ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::SleepWait(uint64_t arg0) [member function] - cls.add_method('SleepWait', - 'bool', - [param('uint64_t', 'arg0')], - visibility='protected') - ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::SpinWait(uint64_t arg0) [member function] - cls.add_method('SpinWait', - 'bool', - [param('uint64_t', 'arg0')], - visibility='protected') - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::TimevalAdd(timeval * tv1, timeval * tv2, timeval * result) [member function] - cls.add_method('TimevalAdd', - 'void', - [param('timeval *', 'tv1'), param('timeval *', 'tv2'), param('timeval *', 'result')], - visibility='protected') - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::TimevalToNs(timeval * tv) [member function] - cls.add_method('TimevalToNs', - 'uint64_t', - [param('timeval *', 'tv')], - visibility='protected') - return - -def register_Ns3CalendarScheduler_methods(root_module, cls): - ## calendar-scheduler.h: ns3::CalendarScheduler::CalendarScheduler(ns3::CalendarScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CalendarScheduler const &', 'arg0')]) - ## calendar-scheduler.h: ns3::CalendarScheduler::CalendarScheduler() [constructor] - cls.add_constructor([]) - ## calendar-scheduler.h: static ns3::TypeId ns3::CalendarScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## calendar-scheduler.h: void ns3::CalendarScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## calendar-scheduler.h: bool ns3::CalendarScheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True, is_virtual=True) - ## calendar-scheduler.h: ns3::Scheduler::Event ns3::CalendarScheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_const=True, is_virtual=True) - ## calendar-scheduler.h: void ns3::CalendarScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## calendar-scheduler.h: ns3::Scheduler::Event ns3::CalendarScheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_virtual=True) - return - -def register_Ns3DefaultSimulatorImpl_methods(root_module, cls): - ## default-simulator-impl.h: ns3::DefaultSimulatorImpl::DefaultSimulatorImpl(ns3::DefaultSimulatorImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DefaultSimulatorImpl const &', 'arg0')]) - ## default-simulator-impl.h: ns3::DefaultSimulatorImpl::DefaultSimulatorImpl() [constructor] - cls.add_constructor([]) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Cancel(ns3::EventId const & ev) [member function] - cls.add_method('Cancel', - 'void', - [param('ns3::EventId const &', 'ev')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Destroy() [member function] - cls.add_method('Destroy', - 'void', - [], - is_virtual=True) - ## default-simulator-impl.h: uint32_t ns3::DefaultSimulatorImpl::GetContext() const [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [param('ns3::EventId const &', 'id')], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetMaximumSimulationTime() const [member function] - cls.add_method('GetMaximumSimulationTime', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: uint32_t ns3::DefaultSimulatorImpl::GetSystemId() const [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: static ns3::TypeId ns3::DefaultSimulatorImpl::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## default-simulator-impl.h: bool ns3::DefaultSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] - cls.add_method('IsExpired', - 'bool', - [param('ns3::EventId const &', 'ev')], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: bool ns3::DefaultSimulatorImpl::IsFinished() const [member function] - cls.add_method('IsFinished', - 'bool', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::Next() const [member function] - cls.add_method('Next', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::Now() const [member function] - cls.add_method('Now', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Remove(ns3::EventId const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::EventId const &', 'ev')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Run() [member function] - cls.add_method('Run', - 'void', - [], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::RunOneEvent() [member function] - cls.add_method('RunOneEvent', - 'void', - [], - is_virtual=True) - ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('Schedule', - 'ns3::EventId', - [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleDestroy', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleNow', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] - cls.add_method('SetScheduler', - 'void', - [param('ns3::ObjectFactory', 'schedulerFactory')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop(ns3::Time const & time) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'time')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3EventImpl_methods(root_module, cls): - ## event-impl.h: ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EventImpl const &', 'arg0')]) - ## event-impl.h: ns3::EventImpl::EventImpl() [constructor] - cls.add_constructor([]) - ## event-impl.h: void ns3::EventImpl::Cancel() [member function] - cls.add_method('Cancel', - 'void', - []) - ## event-impl.h: void ns3::EventImpl::Invoke() [member function] - cls.add_method('Invoke', - 'void', - []) - ## event-impl.h: bool ns3::EventImpl::IsCancelled() [member function] - cls.add_method('IsCancelled', - 'bool', - []) - ## event-impl.h: void ns3::EventImpl::Notify() [member function] - cls.add_method('Notify', - 'void', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - return - -def register_Ns3FdReader_methods(root_module, cls): - ## unix-fd-reader.h: ns3::FdReader::FdReader(ns3::FdReader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FdReader const &', 'arg0')]) - ## unix-fd-reader.h: ns3::FdReader::FdReader() [constructor] - cls.add_constructor([]) - ## unix-fd-reader.h: void ns3::FdReader::Start(int fd, ns3::Callback readCallback) [member function] - cls.add_method('Start', - 'void', - [param('int', 'fd'), param('ns3::Callback< void, unsigned char *, long, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'readCallback')]) - ## unix-fd-reader.h: void ns3::FdReader::Stop() [member function] - cls.add_method('Stop', - 'void', - []) - ## unix-fd-reader.h: ns3::FdReader::Data ns3::FdReader::DoRead() [member function] - cls.add_method('DoRead', - 'ns3::FdReader::Data', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - return - -def register_Ns3HeapScheduler_methods(root_module, cls): - ## heap-scheduler.h: ns3::HeapScheduler::HeapScheduler(ns3::HeapScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::HeapScheduler const &', 'arg0')]) - ## heap-scheduler.h: ns3::HeapScheduler::HeapScheduler() [constructor] - cls.add_constructor([]) - ## heap-scheduler.h: static ns3::TypeId ns3::HeapScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## heap-scheduler.h: void ns3::HeapScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## heap-scheduler.h: bool ns3::HeapScheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True, is_virtual=True) - ## heap-scheduler.h: ns3::Scheduler::Event ns3::HeapScheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_const=True, is_virtual=True) - ## heap-scheduler.h: void ns3::HeapScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## heap-scheduler.h: ns3::Scheduler::Event ns3::HeapScheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_virtual=True) - return - -def register_Ns3ListScheduler_methods(root_module, cls): - ## list-scheduler.h: ns3::ListScheduler::ListScheduler(ns3::ListScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ListScheduler const &', 'arg0')]) - ## list-scheduler.h: ns3::ListScheduler::ListScheduler() [constructor] - cls.add_constructor([]) - ## list-scheduler.h: static ns3::TypeId ns3::ListScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## list-scheduler.h: void ns3::ListScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## list-scheduler.h: bool ns3::ListScheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True, is_virtual=True) - ## list-scheduler.h: ns3::Scheduler::Event ns3::ListScheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_const=True, is_virtual=True) - ## list-scheduler.h: void ns3::ListScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## list-scheduler.h: ns3::Scheduler::Event ns3::ListScheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_virtual=True) - return - -def register_Ns3MapScheduler_methods(root_module, cls): - ## map-scheduler.h: ns3::MapScheduler::MapScheduler(ns3::MapScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MapScheduler const &', 'arg0')]) - ## map-scheduler.h: ns3::MapScheduler::MapScheduler() [constructor] - cls.add_constructor([]) - ## map-scheduler.h: static ns3::TypeId ns3::MapScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## map-scheduler.h: void ns3::MapScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## map-scheduler.h: bool ns3::MapScheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True, is_virtual=True) - ## map-scheduler.h: ns3::Scheduler::Event ns3::MapScheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_const=True, is_virtual=True) - ## map-scheduler.h: void ns3::MapScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## map-scheduler.h: ns3::Scheduler::Event ns3::MapScheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_virtual=True) - return - -def register_Ns3Ns2CalendarScheduler_methods(root_module, cls): - ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler::Ns2CalendarScheduler(ns3::Ns2CalendarScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ns2CalendarScheduler const &', 'arg0')]) - ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler::Ns2CalendarScheduler() [constructor] - cls.add_constructor([]) - ## ns2-calendar-scheduler.h: static ns3::TypeId ns3::Ns2CalendarScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ns2-calendar-scheduler.h: void ns3::Ns2CalendarScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## ns2-calendar-scheduler.h: bool ns3::Ns2CalendarScheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True, is_virtual=True) - ## ns2-calendar-scheduler.h: ns3::Scheduler::Event ns3::Ns2CalendarScheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_const=True, is_virtual=True) - ## ns2-calendar-scheduler.h: void ns3::Ns2CalendarScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## ns2-calendar-scheduler.h: ns3::Scheduler::Event ns3::Ns2CalendarScheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_virtual=True) - return - -def register_Ns3RealtimeSimulatorImpl_methods(root_module, cls): - ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::RealtimeSimulatorImpl(ns3::RealtimeSimulatorImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RealtimeSimulatorImpl const &', 'arg0')]) - ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::RealtimeSimulatorImpl() [constructor] - cls.add_constructor([]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Cancel(ns3::EventId const & ev) [member function] - cls.add_method('Cancel', - 'void', - [param('ns3::EventId const &', 'ev')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Destroy() [member function] - cls.add_method('Destroy', - 'void', - [], - is_virtual=True) - ## realtime-simulator-impl.h: uint32_t ns3::RealtimeSimulatorImpl::GetContext() const [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [param('ns3::EventId const &', 'id')], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetHardLimit() const [member function] - cls.add_method('GetHardLimit', - 'ns3::Time', - [], - is_const=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetMaximumSimulationTime() const [member function] - cls.add_method('GetMaximumSimulationTime', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode ns3::RealtimeSimulatorImpl::GetSynchronizationMode() const [member function] - cls.add_method('GetSynchronizationMode', - 'ns3::RealtimeSimulatorImpl::SynchronizationMode', - [], - is_const=True) - ## realtime-simulator-impl.h: uint32_t ns3::RealtimeSimulatorImpl::GetSystemId() const [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: static ns3::TypeId ns3::RealtimeSimulatorImpl::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## realtime-simulator-impl.h: bool ns3::RealtimeSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] - cls.add_method('IsExpired', - 'bool', - [param('ns3::EventId const &', 'ev')], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: bool ns3::RealtimeSimulatorImpl::IsFinished() const [member function] - cls.add_method('IsFinished', - 'bool', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::Next() const [member function] - cls.add_method('Next', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::Now() const [member function] - cls.add_method('Now', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::RealtimeNow() const [member function] - cls.add_method('RealtimeNow', - 'ns3::Time', - [], - is_const=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Remove(ns3::EventId const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::EventId const &', 'ev')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Run() [member function] - cls.add_method('Run', - 'void', - [], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::RunOneEvent() [member function] - cls.add_method('RunOneEvent', - 'void', - [], - is_virtual=True) - ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('Schedule', - 'ns3::EventId', - [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleDestroy', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleNow', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtime(ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleRealtime', - 'void', - [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeNow(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleRealtimeNow', - 'void', - [param('ns3::EventImpl *', 'event')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeNowWithContext(uint32_t context, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleRealtimeNowWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::EventImpl *', 'event')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleRealtimeWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetHardLimit(ns3::Time limit) [member function] - cls.add_method('SetHardLimit', - 'void', - [param('ns3::Time', 'limit')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] - cls.add_method('SetScheduler', - 'void', - [param('ns3::ObjectFactory', 'schedulerFactory')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetSynchronizationMode(ns3::RealtimeSimulatorImpl::SynchronizationMode mode) [member function] - cls.add_method('SetSynchronizationMode', - 'void', - [param('ns3::RealtimeSimulatorImpl::SynchronizationMode', 'mode')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Stop(ns3::Time const & time) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'time')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3TimeChecker_methods(root_module, cls): - ## nstime.h: ns3::TimeChecker::TimeChecker() [constructor] - cls.add_constructor([]) - ## nstime.h: ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')]) - return - -def register_Ns3TimeValue_methods(root_module, cls): - ## nstime.h: ns3::TimeValue::TimeValue() [constructor] - cls.add_constructor([]) - ## nstime.h: ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TimeValue const &', 'arg0')]) - ## nstime.h: ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor] - cls.add_constructor([param('ns3::Time const &', 'value')]) - ## nstime.h: ns3::Ptr ns3::TimeValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## nstime.h: bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## nstime.h: ns3::Time ns3::TimeValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Time', - [], - is_const=True) - ## nstime.h: std::string ns3::TimeValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## nstime.h: void ns3::TimeValue::Set(ns3::Time const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Time const &', 'value')]) - return - -def register_functions(root_module): - module = root_module - ## high-precision.h: extern ns3::HighPrecision ns3::Abs(ns3::HighPrecision const & value) [free function] - module.add_function('Abs', - 'ns3::HighPrecision', - [param('ns3::HighPrecision const &', 'value')]) - ## nstime.h: ns3::Time ns3::Abs(ns3::Time const & time) [free function] - module.add_function('Abs', - 'ns3::Time', - [param('ns3::Time const &', 'time')]) - ## nstime.h: ns3::Time ns3::FemtoSeconds(uint64_t fs) [free function] - module.add_function('FemtoSeconds', - 'ns3::Time', - [param('uint64_t', 'fs')]) - ## make-event.h: extern ns3::EventImpl * ns3::MakeEvent(void (*)( ) * f) [free function] - module.add_function('MakeEvent', - 'ns3::EventImpl *', - [param('void ( * ) ( ) *', 'f')]) - ## nstime.h: extern ns3::Ptr ns3::MakeTimeChecker() [free function] - module.add_function('MakeTimeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## high-precision.h: ns3::HighPrecision ns3::Max(ns3::HighPrecision const & a, ns3::HighPrecision const & b) [free function] - module.add_function('Max', - 'ns3::HighPrecision', - [param('ns3::HighPrecision const &', 'a'), param('ns3::HighPrecision const &', 'b')]) - ## nstime.h: ns3::Time ns3::Max(ns3::Time const & ta, ns3::Time const & tb) [free function] - module.add_function('Max', - 'ns3::Time', - [param('ns3::Time const &', 'ta'), param('ns3::Time const &', 'tb')]) - ## nstime.h: ns3::Time ns3::MicroSeconds(uint64_t us) [free function] - module.add_function('MicroSeconds', - 'ns3::Time', - [param('uint64_t', 'us')]) - ## nstime.h: ns3::Time ns3::MilliSeconds(uint64_t ms) [free function] - module.add_function('MilliSeconds', - 'ns3::Time', - [param('uint64_t', 'ms')]) - ## high-precision.h: ns3::HighPrecision ns3::Min(ns3::HighPrecision const & a, ns3::HighPrecision const & b) [free function] - module.add_function('Min', - 'ns3::HighPrecision', - [param('ns3::HighPrecision const &', 'a'), param('ns3::HighPrecision const &', 'b')]) - ## nstime.h: ns3::Time ns3::Min(ns3::Time const & ta, ns3::Time const & tb) [free function] - module.add_function('Min', - 'ns3::Time', - [param('ns3::Time const &', 'ta'), param('ns3::Time const &', 'tb')]) - ## nstime.h: ns3::Time ns3::NanoSeconds(uint64_t ns) [free function] - module.add_function('NanoSeconds', - 'ns3::Time', - [param('uint64_t', 'ns')]) - ## simulator.h: extern ns3::Time ns3::Now() [free function] - module.add_function('Now', - 'ns3::Time', - []) - ## nstime.h: ns3::Time ns3::PicoSeconds(uint64_t ps) [free function] - module.add_function('PicoSeconds', - 'ns3::Time', - [param('uint64_t', 'ps')]) - ## nstime.h: ns3::Time ns3::Seconds(double seconds) [free function] - module.add_function('Seconds', - 'ns3::Time', - [param('double', 'seconds')]) - ## nstime.h: ns3::Time ns3::TimeStep(uint64_t ts) [free function] - module.add_function('TimeStep', - 'ns3::Time', - [param('uint64_t', 'ts')]) - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_stats.py b/bindings/python/apidefs/gcc-LP64/ns3_module_stats.py index 01bfdf7b9..3f2f24d8e 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_stats.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_stats.py @@ -19,6 +19,8 @@ def register_types(module): module.add_class('OmnetDataOutput', parent=root_module['ns3::DataOutputInterface']) ## packet-data-calculators.h: ns3::PacketSizeMinMaxAvgTotalCalculator [class] module.add_class('PacketSizeMinMaxAvgTotalCalculator', parent=root_module['ns3::MinMaxAvgTotalCalculator< unsigned int >']) + ## sqlite-data-output.h: ns3::SqliteDataOutput [class] + module.add_class('SqliteDataOutput', parent=root_module['ns3::DataOutputInterface']) ## time-data-calculators.h: ns3::TimeMinMaxAvgTotalCalculator [class] module.add_class('TimeMinMaxAvgTotalCalculator', parent=root_module['ns3::DataCalculator']) ## basic-data-calculators.h: ns3::CounterCalculator [class] @@ -131,6 +133,7 @@ def register_methods(root_module): register_Ns3MinMaxAvgTotalCalculator__Unsigned_int_methods(root_module, root_module['ns3::MinMaxAvgTotalCalculator< unsigned int >']) register_Ns3OmnetDataOutput_methods(root_module, root_module['ns3::OmnetDataOutput']) register_Ns3PacketSizeMinMaxAvgTotalCalculator_methods(root_module, root_module['ns3::PacketSizeMinMaxAvgTotalCalculator']) + register_Ns3SqliteDataOutput_methods(root_module, root_module['ns3::SqliteDataOutput']) register_Ns3TimeMinMaxAvgTotalCalculator_methods(root_module, root_module['ns3::TimeMinMaxAvgTotalCalculator']) register_Ns3CounterCalculator__Unsigned_int_methods(root_module, root_module['ns3::CounterCalculator< unsigned int >']) register_Ns3PacketCounterCalculator_methods(root_module, root_module['ns3::PacketCounterCalculator']) @@ -475,6 +478,23 @@ def register_Ns3PacketSizeMinMaxAvgTotalCalculator_methods(root_module, cls): visibility='protected', is_virtual=True) return +def register_Ns3SqliteDataOutput_methods(root_module, cls): + ## sqlite-data-output.h: ns3::SqliteDataOutput::SqliteDataOutput(ns3::SqliteDataOutput const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SqliteDataOutput const &', 'arg0')]) + ## sqlite-data-output.h: ns3::SqliteDataOutput::SqliteDataOutput() [constructor] + cls.add_constructor([]) + ## sqlite-data-output.h: void ns3::SqliteDataOutput::Output(ns3::DataCollector & dc) [member function] + cls.add_method('Output', + 'void', + [param('ns3::DataCollector &', 'dc')], + is_virtual=True) + ## sqlite-data-output.h: void ns3::SqliteDataOutput::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + return + def register_Ns3TimeMinMaxAvgTotalCalculator_methods(root_module, cls): ## time-data-calculators.h: ns3::TimeMinMaxAvgTotalCalculator::TimeMinMaxAvgTotalCalculator(ns3::TimeMinMaxAvgTotalCalculator const & arg0) [copy constructor] cls.add_constructor([param('ns3::TimeMinMaxAvgTotalCalculator const &', 'arg0')]) diff --git a/bindings/python/apidefs/gcc-LP64/ns3modulegen_generated.py b/bindings/python/apidefs/gcc-LP64/ns3modulegen_generated.py index 378134020..b1019d61b 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3modulegen_generated.py +++ b/bindings/python/apidefs/gcc-LP64/ns3modulegen_generated.py @@ -13,11 +13,10 @@ pybindgen.settings.error_handler = ErrorHandler() import sys import ns3_module_core -import ns3_module_simulator -import ns3_module_test -import ns3_module_visualizer import ns3_module_mobility import ns3_module_mpi +import ns3_module_test +import ns3_module_visualizer import ns3_module_common import ns3_module_contrib import ns3_module_node @@ -76,39 +75,6 @@ def register_types(module): ns3_module_core__local.register_types(module) root_module.end_section('ns3_module_core') - root_module.begin_section('ns3_module_simulator') - ns3_module_simulator.register_types(module) - - try: - import ns3_module_simulator__local - except ImportError: - pass - else: - ns3_module_simulator__local.register_types(module) - - root_module.end_section('ns3_module_simulator') - root_module.begin_section('ns3_module_test') - ns3_module_test.register_types(module) - - try: - import ns3_module_test__local - except ImportError: - pass - else: - ns3_module_test__local.register_types(module) - - root_module.end_section('ns3_module_test') - root_module.begin_section('ns3_module_visualizer') - ns3_module_visualizer.register_types(module) - - try: - import ns3_module_visualizer__local - except ImportError: - pass - else: - ns3_module_visualizer__local.register_types(module) - - root_module.end_section('ns3_module_visualizer') root_module.begin_section('ns3_module_mobility') ns3_module_mobility.register_types(module) @@ -131,6 +97,28 @@ def register_types(module): ns3_module_mpi__local.register_types(module) root_module.end_section('ns3_module_mpi') + root_module.begin_section('ns3_module_test') + ns3_module_test.register_types(module) + + try: + import ns3_module_test__local + except ImportError: + pass + else: + ns3_module_test__local.register_types(module) + + root_module.end_section('ns3_module_test') + root_module.begin_section('ns3_module_visualizer') + ns3_module_visualizer.register_types(module) + + try: + import ns3_module_visualizer__local + except ImportError: + pass + else: + ns3_module_visualizer__local.register_types(module) + + root_module.end_section('ns3_module_visualizer') root_module.begin_section('ns3_module_common') ns3_module_common.register_types(module) @@ -683,39 +671,6 @@ def register_methods(root_module): ns3_module_core__local.register_methods(root_module) root_module.end_section('ns3_module_core') - root_module.begin_section('ns3_module_simulator') - ns3_module_simulator.register_methods(root_module) - - try: - import ns3_module_simulator__local - except ImportError: - pass - else: - ns3_module_simulator__local.register_methods(root_module) - - root_module.end_section('ns3_module_simulator') - root_module.begin_section('ns3_module_test') - ns3_module_test.register_methods(root_module) - - try: - import ns3_module_test__local - except ImportError: - pass - else: - ns3_module_test__local.register_methods(root_module) - - root_module.end_section('ns3_module_test') - root_module.begin_section('ns3_module_visualizer') - ns3_module_visualizer.register_methods(root_module) - - try: - import ns3_module_visualizer__local - except ImportError: - pass - else: - ns3_module_visualizer__local.register_methods(root_module) - - root_module.end_section('ns3_module_visualizer') root_module.begin_section('ns3_module_mobility') ns3_module_mobility.register_methods(root_module) @@ -738,6 +693,28 @@ def register_methods(root_module): ns3_module_mpi__local.register_methods(root_module) root_module.end_section('ns3_module_mpi') + root_module.begin_section('ns3_module_test') + ns3_module_test.register_methods(root_module) + + try: + import ns3_module_test__local + except ImportError: + pass + else: + ns3_module_test__local.register_methods(root_module) + + root_module.end_section('ns3_module_test') + root_module.begin_section('ns3_module_visualizer') + ns3_module_visualizer.register_methods(root_module) + + try: + import ns3_module_visualizer__local + except ImportError: + pass + else: + ns3_module_visualizer__local.register_methods(root_module) + + root_module.end_section('ns3_module_visualizer') root_module.begin_section('ns3_module_common') ns3_module_common.register_methods(root_module) @@ -1182,39 +1159,6 @@ def register_functions(root_module): ns3_module_core__local.register_functions(root_module) root_module.end_section('ns3_module_core') - root_module.begin_section('ns3_module_simulator') - ns3_module_simulator.register_functions(root_module) - - try: - import ns3_module_simulator__local - except ImportError: - pass - else: - ns3_module_simulator__local.register_functions(root_module) - - root_module.end_section('ns3_module_simulator') - root_module.begin_section('ns3_module_test') - ns3_module_test.register_functions(root_module) - - try: - import ns3_module_test__local - except ImportError: - pass - else: - ns3_module_test__local.register_functions(root_module) - - root_module.end_section('ns3_module_test') - root_module.begin_section('ns3_module_visualizer') - ns3_module_visualizer.register_functions(root_module) - - try: - import ns3_module_visualizer__local - except ImportError: - pass - else: - ns3_module_visualizer__local.register_functions(root_module) - - root_module.end_section('ns3_module_visualizer') root_module.begin_section('ns3_module_mobility') ns3_module_mobility.register_functions(root_module) @@ -1237,6 +1181,28 @@ def register_functions(root_module): ns3_module_mpi__local.register_functions(root_module) root_module.end_section('ns3_module_mpi') + root_module.begin_section('ns3_module_test') + ns3_module_test.register_functions(root_module) + + try: + import ns3_module_test__local + except ImportError: + pass + else: + ns3_module_test__local.register_functions(root_module) + + root_module.end_section('ns3_module_test') + root_module.begin_section('ns3_module_visualizer') + ns3_module_visualizer.register_functions(root_module) + + try: + import ns3_module_visualizer__local + except ImportError: + pass + else: + ns3_module_visualizer__local.register_functions(root_module) + + root_module.end_section('ns3_module_visualizer') root_module.begin_section('ns3_module_common') ns3_module_common.register_functions(root_module)