rescan bindings

This commit is contained in:
Craig Dowell
2008-12-02 12:15:18 -08:00
parent c18dc1e4f0
commit f8cf3d5cf4
21 changed files with 704 additions and 310 deletions

View File

@@ -168,6 +168,8 @@ def register_Ns3EventId_methods(root_module, cls):
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::Ref() const [member function]
@@ -197,7 +199,6 @@ def register_Ns3EventImpl_methods(root_module, cls):
'void',
[],
is_pure_virtual=True, visibility='protected', is_virtual=True)
cls.add_copy_constructor()
return
def register_Ns3HighPrecision_methods(root_module, cls):
@@ -253,6 +254,8 @@ def register_Ns3HighPrecision_methods(root_module, cls):
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::SetImplementation(ns3::Ptr<ns3::SimulatorImpl> impl) [member function]
cls.add_method('SetImplementation',
'void',
@@ -338,7 +341,6 @@ def register_Ns3Simulator_methods(root_module, cls):
'ns3::Time',
[],
is_static=True)
cls.add_copy_constructor()
return
def register_Ns3TimeInvert_methods(root_module, cls):
@@ -582,6 +584,8 @@ def register_Ns3TimeSquare_methods(root_module, cls):
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]
@@ -644,10 +648,13 @@ def register_Ns3Timer_methods(root_module, cls):
cls.add_method('Resume',
'void',
[])
cls.add_copy_constructor()
return
def register_Ns3TimerImpl_methods(root_module, cls):
## timer-impl.h: ns3::TimerImpl::TimerImpl(ns3::TimerImpl const & arg0) [copy constructor]
cls.add_constructor([param('ns3::TimerImpl const &', 'arg0')])
## timer-impl.h: ns3::TimerImpl::TimerImpl() [constructor]
cls.add_constructor([])
## timer-impl.h: ns3::EventId ns3::TimerImpl::Schedule(ns3::Time const & delay) [member function]
cls.add_method('Schedule',
'ns3::EventId',
@@ -658,21 +665,24 @@ def register_Ns3TimerImpl_methods(root_module, cls):
'void',
[],
is_pure_virtual=True, is_virtual=True)
cls.add_constructor([])
cls.add_copy_constructor()
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')])
cls.add_copy_constructor()
return
def register_Ns3Scheduler_methods(root_module, cls):
## scheduler.h: ns3::Scheduler::Scheduler(ns3::Scheduler const & arg0) [copy constructor]
cls.add_constructor([param('ns3::Scheduler const &', 'arg0')])
## scheduler.h: ns3::Scheduler::Scheduler() [constructor]
cls.add_constructor([])
## scheduler.h: static ns3::TypeId ns3::Scheduler::GetTypeId() [member function]
cls.add_method('GetTypeId',
'ns3::TypeId',
@@ -703,8 +713,6 @@ def register_Ns3Scheduler_methods(root_module, cls):
'void',
[param('ns3::Scheduler::Event const &', 'ev')],
is_pure_virtual=True, is_virtual=True)
cls.add_constructor([])
cls.add_copy_constructor()
return
def register_Ns3SchedulerEvent_methods(root_module, cls):
@@ -732,6 +740,10 @@ def register_Ns3SchedulerEventKey_methods(root_module, cls):
return
def register_Ns3SimulatorImpl_methods(root_module, cls):
## simulator-impl.h: ns3::SimulatorImpl::SimulatorImpl(ns3::SimulatorImpl const & arg0) [copy constructor]
cls.add_constructor([param('ns3::SimulatorImpl const &', 'arg0')])
## simulator-impl.h: ns3::SimulatorImpl::SimulatorImpl() [constructor]
cls.add_constructor([])
## simulator-impl.h: void ns3::SimulatorImpl::Destroy() [member function]
cls.add_method('Destroy',
'void',
@@ -822,11 +834,11 @@ def register_Ns3SimulatorImpl_methods(root_module, cls):
'ns3::Ptr< ns3::Scheduler >',
[],
is_pure_virtual=True, is_const=True, is_virtual=True)
cls.add_constructor([])
cls.add_copy_constructor()
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: static ns3::TypeId ns3::Synchronizer::GetTypeId() [member function]
cls.add_method('GetTypeId',
'ns3::TypeId',
@@ -919,15 +931,18 @@ def register_Ns3Synchronizer_methods(root_module, cls):
'uint64_t',
[],
is_pure_virtual=True, visibility='protected', is_virtual=True)
cls.add_copy_constructor()
return
def register_Ns3TimeChecker_methods(root_module, cls):
## nstime.h: ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor]
cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')])
## nstime.h: ns3::TimeChecker::TimeChecker() [constructor]
cls.add_constructor([])
cls.add_copy_constructor()
return
def register_Ns3TimeValue_methods(root_module, cls):
## nstime.h: ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
## nstime.h: ns3::TimeValue::TimeValue() [constructor]
cls.add_constructor([])
## nstime.h: ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
@@ -956,7 +971,6 @@ def register_Ns3TimeValue_methods(root_module, cls):
'bool',
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
is_virtual=True)
cls.add_copy_constructor()
return
def register_Ns3WallClockSynchronizer_methods(root_module, cls):
@@ -966,6 +980,8 @@ def register_Ns3WallClockSynchronizer_methods(root_module, cls):
cls.add_static_attribute('US_PER_SEC', 'uint64_t const', is_const=True)
## 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::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: bool ns3::WallClockSynchronizer::DoRealtime() [member function]
@@ -1053,10 +1069,11 @@ def register_Ns3WallClockSynchronizer_methods(root_module, cls):
'void',
[param('timeval *', 'tv1'), param('timeval *', 'tv2'), param('timeval *', 'result')],
visibility='protected')
cls.add_copy_constructor()
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: static ns3::TypeId ns3::DefaultSimulatorImpl::GetTypeId() [member function]
cls.add_method('GetTypeId',
'ns3::TypeId',
@@ -1154,10 +1171,11 @@ def register_Ns3DefaultSimulatorImpl_methods(root_module, cls):
'ns3::Ptr< ns3::Scheduler >',
[],
is_const=True, is_virtual=True)
cls.add_copy_constructor()
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: void ns3::HeapScheduler::Insert(ns3::Scheduler::Event const & ev) [member function]
@@ -1185,10 +1203,11 @@ def register_Ns3HeapScheduler_methods(root_module, cls):
'void',
[param('ns3::Scheduler::Event const &', 'ev')],
is_virtual=True)
cls.add_copy_constructor()
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: void ns3::ListScheduler::Insert(ns3::Scheduler::Event const & ev) [member function]
@@ -1216,10 +1235,11 @@ def register_Ns3ListScheduler_methods(root_module, cls):
'void',
[param('ns3::Scheduler::Event const &', 'ev')],
is_virtual=True)
cls.add_copy_constructor()
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: void ns3::MapScheduler::Insert(ns3::Scheduler::Event const & ev) [member function]
@@ -1247,10 +1267,11 @@ def register_Ns3MapScheduler_methods(root_module, cls):
'void',
[param('ns3::Scheduler::Event const &', 'ev')],
is_virtual=True)
cls.add_copy_constructor()
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: static ns3::TypeId ns3::RealtimeSimulatorImpl::GetTypeId() [member function]
cls.add_method('GetTypeId',
'ns3::TypeId',
@@ -1379,7 +1400,6 @@ def register_Ns3RealtimeSimulatorImpl_methods(root_module, cls):
'ns3::Time',
[],
is_const=True)
cls.add_copy_constructor()
return
def register_functions(root_module):