2008-07-21 15:30:15 +01:00
|
|
|
from pybindgen import Module, FileCodeSink, param, retval, cppclass
|
2008-07-08 10:43:58 -07:00
|
|
|
|
|
|
|
|
def register_types(module):
|
|
|
|
|
root_module = module.get_root()
|
|
|
|
|
|
|
|
|
|
## static-speed-helper.h: ns3::StaticSpeedHelper [class]
|
|
|
|
|
module.add_class('StaticSpeedHelper', allow_subclassing=False)
|
|
|
|
|
## vector.h: ns3::Vector [class]
|
|
|
|
|
module.add_class('Vector')
|
|
|
|
|
## vector.h: ns3::VectorChecker [class]
|
|
|
|
|
module.add_class('VectorChecker', parent=root_module['ns3::AttributeChecker'])
|
|
|
|
|
## rectangle.h: ns3::RectangleChecker [class]
|
|
|
|
|
module.add_class('RectangleChecker', parent=root_module['ns3::AttributeChecker'])
|
|
|
|
|
## rectangle.h: ns3::Rectangle [class]
|
|
|
|
|
module.add_class('Rectangle')
|
|
|
|
|
## rectangle.h: ns3::Rectangle::Side [enumeration]
|
|
|
|
|
module.add_enum('Side', ['RIGHT', 'LEFT', 'TOP', 'BOTTOM'], outer_class=root_module['ns3::Rectangle'])
|
|
|
|
|
## position-allocator.h: ns3::PositionAllocator [class]
|
2008-07-14 11:42:49 +01:00
|
|
|
module.add_class('PositionAllocator', parent=root_module['ns3::Object'])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: ns3::ListPositionAllocator [class]
|
2008-07-14 11:42:49 +01:00
|
|
|
module.add_class('ListPositionAllocator', parent=root_module['ns3::PositionAllocator'])
|
2008-07-08 10:43:58 -07:00
|
|
|
## rectangle.h: ns3::RectangleValue [class]
|
2008-07-14 11:42:49 +01:00
|
|
|
module.add_class('RectangleValue', parent=root_module['ns3::AttributeValue'])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: ns3::RandomRectanglePositionAllocator [class]
|
2008-07-14 11:42:49 +01:00
|
|
|
module.add_class('RandomRectanglePositionAllocator', parent=root_module['ns3::PositionAllocator'])
|
2008-07-08 10:43:58 -07:00
|
|
|
## vector.h: ns3::VectorValue [class]
|
2008-07-14 11:42:49 +01:00
|
|
|
module.add_class('VectorValue', parent=root_module['ns3::AttributeValue'])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: ns3::RandomDiscPositionAllocator [class]
|
2008-07-14 11:42:49 +01:00
|
|
|
module.add_class('RandomDiscPositionAllocator', parent=root_module['ns3::PositionAllocator'])
|
2008-07-08 10:43:58 -07:00
|
|
|
## mobility-model.h: ns3::MobilityModel [class]
|
2008-07-14 11:42:49 +01:00
|
|
|
module.add_class('MobilityModel', parent=root_module['ns3::Object'])
|
2008-07-08 10:43:58 -07:00
|
|
|
## random-direction-2d-mobility-model.h: ns3::RandomDirection2dMobilityModel [class]
|
2008-07-14 11:42:49 +01:00
|
|
|
module.add_class('RandomDirection2dMobilityModel', parent=root_module['ns3::MobilityModel'])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: ns3::GridPositionAllocator [class]
|
2008-07-14 11:42:49 +01:00
|
|
|
module.add_class('GridPositionAllocator', parent=root_module['ns3::PositionAllocator'])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: ns3::GridPositionAllocator::LayoutType [enumeration]
|
|
|
|
|
module.add_enum('LayoutType', ['ROW_FIRST', 'COLUMN_FIRST'], outer_class=root_module['ns3::GridPositionAllocator'])
|
|
|
|
|
## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel [class]
|
2008-07-14 11:42:49 +01:00
|
|
|
module.add_class('RandomWaypointMobilityModel', parent=root_module['ns3::MobilityModel'])
|
2008-07-08 10:43:58 -07:00
|
|
|
## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel [class]
|
2008-07-14 11:42:49 +01:00
|
|
|
module.add_class('RandomWalk2dMobilityModel', parent=root_module['ns3::MobilityModel'])
|
2008-07-08 10:43:58 -07:00
|
|
|
## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::Mode [enumeration]
|
|
|
|
|
module.add_enum('Mode', ['MODE_DISTANCE', 'MODE_TIME'], outer_class=root_module['ns3::RandomWalk2dMobilityModel'])
|
|
|
|
|
## static-speed-mobility-model.h: ns3::StaticSpeedMobilityModel [class]
|
2008-07-14 11:42:49 +01:00
|
|
|
module.add_class('StaticSpeedMobilityModel', parent=root_module['ns3::MobilityModel'])
|
2008-07-08 10:43:58 -07:00
|
|
|
## hierarchical-mobility-model.h: ns3::HierarchicalMobilityModel [class]
|
2008-07-14 11:42:49 +01:00
|
|
|
module.add_class('HierarchicalMobilityModel', parent=root_module['ns3::MobilityModel'])
|
2008-07-08 10:43:58 -07:00
|
|
|
## static-mobility-model.h: ns3::StaticMobilityModel [class]
|
2008-07-14 11:42:49 +01:00
|
|
|
module.add_class('StaticMobilityModel', parent=root_module['ns3::MobilityModel'])
|
2008-07-08 10:43:58 -07:00
|
|
|
|
|
|
|
|
## 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 TimeStepPrecision
|
|
|
|
|
|
|
|
|
|
nested_module = module.add_cpp_namespace('TimeStepPrecision')
|
|
|
|
|
register_types_ns3_TimeStepPrecision(nested_module)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## 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 olsr
|
|
|
|
|
|
|
|
|
|
nested_module = module.add_cpp_namespace('olsr')
|
|
|
|
|
register_types_ns3_olsr(nested_module)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def register_types_ns3_internal(module):
|
|
|
|
|
root_module = module.get_root()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def register_types_ns3_TimeStepPrecision(module):
|
|
|
|
|
root_module = module.get_root()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def register_types_ns3_Config(module):
|
|
|
|
|
root_module = module.get_root()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def register_types_ns3_olsr(module):
|
|
|
|
|
root_module = module.get_root()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def register_methods(root_module):
|
|
|
|
|
register_Ns3StaticSpeedHelper_methods(root_module, root_module['ns3::StaticSpeedHelper'])
|
|
|
|
|
register_Ns3Vector_methods(root_module, root_module['ns3::Vector'])
|
|
|
|
|
register_Ns3VectorChecker_methods(root_module, root_module['ns3::VectorChecker'])
|
|
|
|
|
register_Ns3RectangleChecker_methods(root_module, root_module['ns3::RectangleChecker'])
|
|
|
|
|
register_Ns3Rectangle_methods(root_module, root_module['ns3::Rectangle'])
|
|
|
|
|
register_Ns3PositionAllocator_methods(root_module, root_module['ns3::PositionAllocator'])
|
|
|
|
|
register_Ns3ListPositionAllocator_methods(root_module, root_module['ns3::ListPositionAllocator'])
|
|
|
|
|
register_Ns3RectangleValue_methods(root_module, root_module['ns3::RectangleValue'])
|
|
|
|
|
register_Ns3RandomRectanglePositionAllocator_methods(root_module, root_module['ns3::RandomRectanglePositionAllocator'])
|
|
|
|
|
register_Ns3VectorValue_methods(root_module, root_module['ns3::VectorValue'])
|
|
|
|
|
register_Ns3RandomDiscPositionAllocator_methods(root_module, root_module['ns3::RandomDiscPositionAllocator'])
|
|
|
|
|
register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel'])
|
|
|
|
|
register_Ns3RandomDirection2dMobilityModel_methods(root_module, root_module['ns3::RandomDirection2dMobilityModel'])
|
|
|
|
|
register_Ns3GridPositionAllocator_methods(root_module, root_module['ns3::GridPositionAllocator'])
|
|
|
|
|
register_Ns3RandomWaypointMobilityModel_methods(root_module, root_module['ns3::RandomWaypointMobilityModel'])
|
|
|
|
|
register_Ns3RandomWalk2dMobilityModel_methods(root_module, root_module['ns3::RandomWalk2dMobilityModel'])
|
|
|
|
|
register_Ns3StaticSpeedMobilityModel_methods(root_module, root_module['ns3::StaticSpeedMobilityModel'])
|
|
|
|
|
register_Ns3HierarchicalMobilityModel_methods(root_module, root_module['ns3::HierarchicalMobilityModel'])
|
|
|
|
|
register_Ns3StaticMobilityModel_methods(root_module, root_module['ns3::StaticMobilityModel'])
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_Ns3StaticSpeedHelper_methods(root_module, cls):
|
|
|
|
|
## static-speed-helper.h: ns3::StaticSpeedHelper::StaticSpeedHelper() [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([])
|
2008-07-08 10:43:58 -07:00
|
|
|
## static-speed-helper.h: ns3::StaticSpeedHelper::StaticSpeedHelper(ns3::Vector const & position) [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([param('ns3::Vector&', 'position', is_const=True)])
|
2008-07-08 10:43:58 -07:00
|
|
|
## static-speed-helper.h: ns3::StaticSpeedHelper::StaticSpeedHelper(ns3::Vector const & position, ns3::Vector const & speed) [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([param('ns3::Vector&', 'position', is_const=True), param('ns3::Vector&', 'speed', is_const=True)])
|
2008-07-08 10:43:58 -07:00
|
|
|
## static-speed-helper.h: void ns3::StaticSpeedHelper::InitializePosition(ns3::Vector const & position) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('InitializePosition',
|
|
|
|
|
'void',
|
|
|
|
|
[param('ns3::Vector&', 'position', is_const=True)])
|
2008-07-08 10:43:58 -07:00
|
|
|
## static-speed-helper.h: void ns3::StaticSpeedHelper::Reset(ns3::Vector const & speed) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('Reset',
|
|
|
|
|
'void',
|
|
|
|
|
[param('ns3::Vector&', 'speed', is_const=True)])
|
2008-07-08 10:43:58 -07:00
|
|
|
## static-speed-helper.h: ns3::Vector ns3::StaticSpeedHelper::GetCurrentPosition(ns3::Rectangle const & bounds) const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetCurrentPosition',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[param('ns3::Rectangle&', 'bounds', is_const=True)],
|
|
|
|
|
is_const=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## static-speed-helper.h: ns3::Vector ns3::StaticSpeedHelper::GetCurrentPosition() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetCurrentPosition',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## static-speed-helper.h: ns3::Vector ns3::StaticSpeedHelper::GetVelocity() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetVelocity',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## static-speed-helper.h: void ns3::StaticSpeedHelper::SetSpeed(ns3::Vector const & speed) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('SetSpeed',
|
|
|
|
|
'void',
|
|
|
|
|
[param('ns3::Vector&', 'speed', is_const=True)])
|
2008-07-08 10:43:58 -07:00
|
|
|
## static-speed-helper.h: void ns3::StaticSpeedHelper::Pause() [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('Pause',
|
|
|
|
|
'void',
|
|
|
|
|
[])
|
2008-07-08 10:43:58 -07:00
|
|
|
## static-speed-helper.h: void ns3::StaticSpeedHelper::Unpause() [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('Unpause',
|
|
|
|
|
'void',
|
|
|
|
|
[])
|
2008-08-19 17:48:09 +01:00
|
|
|
cls.add_copy_constructor()
|
2008-07-08 10:43:58 -07:00
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_Ns3Vector_methods(root_module, cls):
|
|
|
|
|
## vector.h: ns3::Vector::Vector(ns3::Vector const & arg0) [copy constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([param('ns3::Vector&', 'arg0', is_const=True)])
|
2008-07-08 10:43:58 -07:00
|
|
|
## vector.h: ns3::Vector::Vector(double _x, double _y, double _z) [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([param('double', '_x'), param('double', '_y'), param('double', '_z')])
|
2008-07-08 10:43:58 -07:00
|
|
|
## vector.h: ns3::Vector::Vector() [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([])
|
2008-07-08 10:43:58 -07:00
|
|
|
## vector.h: ns3::Vector::x [variable]
|
|
|
|
|
cls.add_instance_attribute('x', 'double', is_const=False)
|
|
|
|
|
## vector.h: ns3::Vector::y [variable]
|
|
|
|
|
cls.add_instance_attribute('y', 'double', is_const=False)
|
|
|
|
|
## vector.h: ns3::Vector::z [variable]
|
|
|
|
|
cls.add_instance_attribute('z', 'double', is_const=False)
|
|
|
|
|
cls.add_output_stream_operator()
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_Ns3VectorChecker_methods(root_module, cls):
|
|
|
|
|
cls.add_constructor([])
|
2008-08-19 17:48:09 +01:00
|
|
|
cls.add_copy_constructor()
|
2008-07-08 10:43:58 -07:00
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_Ns3RectangleChecker_methods(root_module, cls):
|
|
|
|
|
cls.add_constructor([])
|
2008-08-19 17:48:09 +01:00
|
|
|
cls.add_copy_constructor()
|
2008-07-08 10:43:58 -07:00
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_Ns3Rectangle_methods(root_module, cls):
|
|
|
|
|
## rectangle.h: ns3::Rectangle::Rectangle(ns3::Rectangle const & arg0) [copy constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([param('ns3::Rectangle&', 'arg0', is_const=True)])
|
2008-07-08 10:43:58 -07:00
|
|
|
## rectangle.h: ns3::Rectangle::Rectangle(double _xMin, double _xMax, double _yMin, double _yMax) [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([param('double', '_xMin'), param('double', '_xMax'), param('double', '_yMin'), param('double', '_yMax')])
|
2008-07-08 10:43:58 -07:00
|
|
|
## rectangle.h: ns3::Rectangle::Rectangle() [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([])
|
2008-07-08 10:43:58 -07:00
|
|
|
## rectangle.h: ns3::Vector ns3::Rectangle::CalculateIntersection(ns3::Vector const & current, ns3::Vector const & speed) const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('CalculateIntersection',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[param('ns3::Vector&', 'current', is_const=True), param('ns3::Vector&', 'speed', is_const=True)],
|
|
|
|
|
is_const=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## rectangle.h: ns3::Rectangle::Side ns3::Rectangle::GetClosestSide(ns3::Vector const & position) const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetClosestSide',
|
|
|
|
|
'ns3::Rectangle::Side',
|
|
|
|
|
[param('ns3::Vector&', 'position', is_const=True)],
|
|
|
|
|
is_const=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## rectangle.h: bool ns3::Rectangle::IsInside(ns3::Vector const & position) const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('IsInside',
|
|
|
|
|
'bool',
|
|
|
|
|
[param('ns3::Vector&', 'position', is_const=True)],
|
|
|
|
|
is_const=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## rectangle.h: ns3::Rectangle::xMax [variable]
|
|
|
|
|
cls.add_instance_attribute('xMax', 'double', is_const=False)
|
|
|
|
|
## rectangle.h: ns3::Rectangle::xMin [variable]
|
|
|
|
|
cls.add_instance_attribute('xMin', 'double', is_const=False)
|
|
|
|
|
## rectangle.h: ns3::Rectangle::yMax [variable]
|
|
|
|
|
cls.add_instance_attribute('yMax', 'double', is_const=False)
|
|
|
|
|
## rectangle.h: ns3::Rectangle::yMin [variable]
|
|
|
|
|
cls.add_instance_attribute('yMin', 'double', is_const=False)
|
|
|
|
|
cls.add_output_stream_operator()
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_Ns3PositionAllocator_methods(root_module, cls):
|
|
|
|
|
## position-allocator.h: static ns3::TypeId ns3::PositionAllocator::GetTypeId() [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetTypeId',
|
|
|
|
|
'ns3::TypeId',
|
|
|
|
|
[],
|
|
|
|
|
is_static=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: ns3::PositionAllocator::PositionAllocator() [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: ns3::Vector ns3::PositionAllocator::GetNext() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetNext',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_pure_virtual=True, is_const=True, is_virtual=True)
|
2008-08-19 17:48:09 +01:00
|
|
|
cls.add_copy_constructor()
|
2008-07-08 10:43:58 -07:00
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_Ns3ListPositionAllocator_methods(root_module, cls):
|
|
|
|
|
## position-allocator.h: static ns3::TypeId ns3::ListPositionAllocator::GetTypeId() [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetTypeId',
|
|
|
|
|
'ns3::TypeId',
|
|
|
|
|
[],
|
|
|
|
|
is_static=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: ns3::ListPositionAllocator::ListPositionAllocator() [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: void ns3::ListPositionAllocator::Add(ns3::Vector v) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('Add',
|
|
|
|
|
'void',
|
|
|
|
|
[param('ns3::Vector', 'v')])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: ns3::Vector ns3::ListPositionAllocator::GetNext() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetNext',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True, is_virtual=True)
|
2008-08-19 17:48:09 +01:00
|
|
|
cls.add_copy_constructor()
|
2008-07-08 10:43:58 -07:00
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_Ns3RectangleValue_methods(root_module, cls):
|
|
|
|
|
## rectangle.h: ns3::RectangleValue::RectangleValue() [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([])
|
2008-07-08 10:43:58 -07:00
|
|
|
## rectangle.h: ns3::RectangleValue::RectangleValue(ns3::Rectangle const & value) [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([param('ns3::Rectangle&', 'value', is_const=True)])
|
2008-07-08 10:43:58 -07:00
|
|
|
## rectangle.h: void ns3::RectangleValue::Set(ns3::Rectangle const & value) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('Set',
|
|
|
|
|
'void',
|
|
|
|
|
[param('ns3::Rectangle&', 'value', is_const=True)])
|
2008-07-08 10:43:58 -07:00
|
|
|
## rectangle.h: ns3::Rectangle ns3::RectangleValue::Get() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('Get',
|
|
|
|
|
'ns3::Rectangle',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## rectangle.h: ns3::Ptr<ns3::AttributeValue> ns3::RectangleValue::Copy() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('Copy',
|
|
|
|
|
'ns3::Ptr< ns3::AttributeValue >',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True, is_virtual=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## rectangle.h: std::string ns3::RectangleValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('SerializeToString',
|
|
|
|
|
'std::string',
|
|
|
|
|
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
|
|
|
|
is_const=True, is_virtual=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## rectangle.h: bool ns3::RectangleValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DeserializeFromString',
|
|
|
|
|
'bool',
|
|
|
|
|
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
|
|
|
|
is_virtual=True)
|
2008-08-19 17:48:09 +01:00
|
|
|
cls.add_copy_constructor()
|
2008-07-08 10:43:58 -07:00
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_Ns3RandomRectanglePositionAllocator_methods(root_module, cls):
|
|
|
|
|
## position-allocator.h: static ns3::TypeId ns3::RandomRectanglePositionAllocator::GetTypeId() [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetTypeId',
|
|
|
|
|
'ns3::TypeId',
|
|
|
|
|
[],
|
|
|
|
|
is_static=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: ns3::RandomRectanglePositionAllocator::RandomRectanglePositionAllocator() [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: void ns3::RandomRectanglePositionAllocator::SetX(ns3::RandomVariable x) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('SetX',
|
|
|
|
|
'void',
|
|
|
|
|
[param('ns3::RandomVariable', 'x')])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: void ns3::RandomRectanglePositionAllocator::SetY(ns3::RandomVariable y) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('SetY',
|
|
|
|
|
'void',
|
|
|
|
|
[param('ns3::RandomVariable', 'y')])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: ns3::Vector ns3::RandomRectanglePositionAllocator::GetNext() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetNext',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True, is_virtual=True)
|
2008-08-19 17:48:09 +01:00
|
|
|
cls.add_copy_constructor()
|
2008-07-08 10:43:58 -07:00
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_Ns3VectorValue_methods(root_module, cls):
|
|
|
|
|
## vector.h: ns3::VectorValue::VectorValue() [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([])
|
2008-07-08 10:43:58 -07:00
|
|
|
## vector.h: ns3::VectorValue::VectorValue(ns3::Vector const & value) [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([param('ns3::Vector&', 'value', is_const=True)])
|
2008-07-08 10:43:58 -07:00
|
|
|
## vector.h: void ns3::VectorValue::Set(ns3::Vector const & value) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('Set',
|
|
|
|
|
'void',
|
|
|
|
|
[param('ns3::Vector&', 'value', is_const=True)])
|
2008-07-08 10:43:58 -07:00
|
|
|
## vector.h: ns3::Vector ns3::VectorValue::Get() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('Get',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## vector.h: ns3::Ptr<ns3::AttributeValue> ns3::VectorValue::Copy() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('Copy',
|
|
|
|
|
'ns3::Ptr< ns3::AttributeValue >',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True, is_virtual=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## vector.h: std::string ns3::VectorValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('SerializeToString',
|
|
|
|
|
'std::string',
|
|
|
|
|
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
|
|
|
|
is_const=True, is_virtual=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## vector.h: bool ns3::VectorValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DeserializeFromString',
|
|
|
|
|
'bool',
|
|
|
|
|
[param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
|
|
|
|
is_virtual=True)
|
2008-08-19 17:48:09 +01:00
|
|
|
cls.add_copy_constructor()
|
2008-07-08 10:43:58 -07:00
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_Ns3RandomDiscPositionAllocator_methods(root_module, cls):
|
|
|
|
|
## position-allocator.h: static ns3::TypeId ns3::RandomDiscPositionAllocator::GetTypeId() [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetTypeId',
|
|
|
|
|
'ns3::TypeId',
|
|
|
|
|
[],
|
|
|
|
|
is_static=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: ns3::RandomDiscPositionAllocator::RandomDiscPositionAllocator() [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetTheta(ns3::RandomVariable theta) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('SetTheta',
|
|
|
|
|
'void',
|
|
|
|
|
[param('ns3::RandomVariable', 'theta')])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetRho(ns3::RandomVariable rho) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('SetRho',
|
|
|
|
|
'void',
|
|
|
|
|
[param('ns3::RandomVariable', 'rho')])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetX(double x) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('SetX',
|
|
|
|
|
'void',
|
|
|
|
|
[param('double', 'x')])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetY(double y) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('SetY',
|
|
|
|
|
'void',
|
|
|
|
|
[param('double', 'y')])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: ns3::Vector ns3::RandomDiscPositionAllocator::GetNext() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetNext',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True, is_virtual=True)
|
2008-08-19 17:48:09 +01:00
|
|
|
cls.add_copy_constructor()
|
2008-07-08 10:43:58 -07:00
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_Ns3MobilityModel_methods(root_module, cls):
|
|
|
|
|
## mobility-model.h: static ns3::TypeId ns3::MobilityModel::GetTypeId() [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetTypeId',
|
|
|
|
|
'ns3::TypeId',
|
|
|
|
|
[],
|
|
|
|
|
is_static=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## mobility-model.h: ns3::MobilityModel::MobilityModel() [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([])
|
2008-07-08 10:43:58 -07:00
|
|
|
## mobility-model.h: ns3::Vector ns3::MobilityModel::GetPosition() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetPosition',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## mobility-model.h: void ns3::MobilityModel::SetPosition(ns3::Vector const & position) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('SetPosition',
|
|
|
|
|
'void',
|
|
|
|
|
[param('ns3::Vector&', 'position', is_const=True)])
|
2008-07-08 10:43:58 -07:00
|
|
|
## mobility-model.h: ns3::Vector ns3::MobilityModel::GetVelocity() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetVelocity',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## mobility-model.h: double ns3::MobilityModel::GetDistanceFrom(ns3::Ptr<const ns3::MobilityModel> position) const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetDistanceFrom',
|
|
|
|
|
'double',
|
|
|
|
|
[param('ns3::Ptr< const ns3::MobilityModel >', 'position')],
|
|
|
|
|
is_const=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## mobility-model.h: void ns3::MobilityModel::NotifyCourseChange() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('NotifyCourseChange',
|
|
|
|
|
'void',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True, visibility='protected')
|
2008-07-08 10:43:58 -07:00
|
|
|
## mobility-model.h: ns3::Vector ns3::MobilityModel::DoGetPosition() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoGetPosition',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## mobility-model.h: void ns3::MobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoSetPosition',
|
|
|
|
|
'void',
|
|
|
|
|
[param('ns3::Vector&', 'position', is_const=True)],
|
|
|
|
|
is_pure_virtual=True, visibility='private', is_virtual=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## mobility-model.h: ns3::Vector ns3::MobilityModel::DoGetVelocity() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoGetVelocity',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
|
2008-08-19 17:48:09 +01:00
|
|
|
cls.add_copy_constructor()
|
2008-07-08 10:43:58 -07:00
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_Ns3RandomDirection2dMobilityModel_methods(root_module, cls):
|
|
|
|
|
## random-direction-2d-mobility-model.h: static ns3::TypeId ns3::RandomDirection2dMobilityModel::GetTypeId() [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetTypeId',
|
|
|
|
|
'ns3::TypeId',
|
|
|
|
|
[],
|
|
|
|
|
is_static=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## random-direction-2d-mobility-model.h: ns3::RandomDirection2dMobilityModel::RandomDirection2dMobilityModel() [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([])
|
2008-07-08 10:43:58 -07:00
|
|
|
## random-direction-2d-mobility-model.h: void ns3::RandomDirection2dMobilityModel::DoDispose() [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoDispose',
|
|
|
|
|
'void',
|
|
|
|
|
[],
|
|
|
|
|
visibility='private', is_virtual=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## random-direction-2d-mobility-model.h: ns3::Vector ns3::RandomDirection2dMobilityModel::DoGetPosition() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoGetPosition',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True, visibility='private', is_virtual=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## random-direction-2d-mobility-model.h: void ns3::RandomDirection2dMobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoSetPosition',
|
|
|
|
|
'void',
|
|
|
|
|
[param('ns3::Vector&', 'position', is_const=True)],
|
|
|
|
|
visibility='private', is_virtual=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## random-direction-2d-mobility-model.h: ns3::Vector ns3::RandomDirection2dMobilityModel::DoGetVelocity() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoGetVelocity',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True, visibility='private', is_virtual=True)
|
2008-08-19 17:48:09 +01:00
|
|
|
cls.add_copy_constructor()
|
2008-07-08 10:43:58 -07:00
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_Ns3GridPositionAllocator_methods(root_module, cls):
|
|
|
|
|
## position-allocator.h: static ns3::TypeId ns3::GridPositionAllocator::GetTypeId() [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetTypeId',
|
|
|
|
|
'ns3::TypeId',
|
|
|
|
|
[],
|
|
|
|
|
is_static=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: ns3::GridPositionAllocator::GridPositionAllocator() [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: void ns3::GridPositionAllocator::SetMinX(double xMin) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('SetMinX',
|
|
|
|
|
'void',
|
|
|
|
|
[param('double', 'xMin')])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: void ns3::GridPositionAllocator::SetMinY(double yMin) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('SetMinY',
|
|
|
|
|
'void',
|
|
|
|
|
[param('double', 'yMin')])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: void ns3::GridPositionAllocator::SetDeltaX(double deltaX) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('SetDeltaX',
|
|
|
|
|
'void',
|
|
|
|
|
[param('double', 'deltaX')])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: void ns3::GridPositionAllocator::SetDeltaY(double deltaY) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('SetDeltaY',
|
|
|
|
|
'void',
|
|
|
|
|
[param('double', 'deltaY')])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: void ns3::GridPositionAllocator::SetN(uint32_t n) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('SetN',
|
|
|
|
|
'void',
|
|
|
|
|
[param('uint32_t', 'n')])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: void ns3::GridPositionAllocator::SetLayoutType(ns3::GridPositionAllocator::LayoutType layoutType) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('SetLayoutType',
|
|
|
|
|
'void',
|
|
|
|
|
[param('ns3::GridPositionAllocator::LayoutType', 'layoutType')])
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: double ns3::GridPositionAllocator::GetMinX() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetMinX',
|
|
|
|
|
'double',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: double ns3::GridPositionAllocator::GetMinY() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetMinY',
|
|
|
|
|
'double',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: double ns3::GridPositionAllocator::GetDeltaX() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetDeltaX',
|
|
|
|
|
'double',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: double ns3::GridPositionAllocator::GetDeltaY() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetDeltaY',
|
|
|
|
|
'double',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: uint32_t ns3::GridPositionAllocator::GetN() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetN',
|
|
|
|
|
'uint32_t',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: ns3::GridPositionAllocator::LayoutType ns3::GridPositionAllocator::GetLayoutType() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetLayoutType',
|
|
|
|
|
'ns3::GridPositionAllocator::LayoutType',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## position-allocator.h: ns3::Vector ns3::GridPositionAllocator::GetNext() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetNext',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True, is_virtual=True)
|
2008-08-19 17:48:09 +01:00
|
|
|
cls.add_copy_constructor()
|
2008-07-08 10:43:58 -07:00
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_Ns3RandomWaypointMobilityModel_methods(root_module, cls):
|
|
|
|
|
## random-waypoint-mobility-model.h: static ns3::TypeId ns3::RandomWaypointMobilityModel::GetTypeId() [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetTypeId',
|
|
|
|
|
'ns3::TypeId',
|
|
|
|
|
[],
|
|
|
|
|
is_static=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel::RandomWaypointMobilityModel() [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([])
|
2008-07-08 10:43:58 -07:00
|
|
|
## random-waypoint-mobility-model.h: ns3::Vector ns3::RandomWaypointMobilityModel::DoGetPosition() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoGetPosition',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True, visibility='private', is_virtual=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## random-waypoint-mobility-model.h: void ns3::RandomWaypointMobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoSetPosition',
|
|
|
|
|
'void',
|
|
|
|
|
[param('ns3::Vector&', 'position', is_const=True)],
|
|
|
|
|
visibility='private', is_virtual=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## random-waypoint-mobility-model.h: ns3::Vector ns3::RandomWaypointMobilityModel::DoGetVelocity() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoGetVelocity',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True, visibility='private', is_virtual=True)
|
2008-08-19 17:48:09 +01:00
|
|
|
cls.add_copy_constructor()
|
2008-07-08 10:43:58 -07:00
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_Ns3RandomWalk2dMobilityModel_methods(root_module, cls):
|
|
|
|
|
## random-walk-2d-mobility-model.h: static ns3::TypeId ns3::RandomWalk2dMobilityModel::GetTypeId() [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetTypeId',
|
|
|
|
|
'ns3::TypeId',
|
|
|
|
|
[],
|
|
|
|
|
is_static=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::RandomWalk2dMobilityModel() [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([])
|
2008-07-08 10:43:58 -07:00
|
|
|
## random-walk-2d-mobility-model.h: void ns3::RandomWalk2dMobilityModel::DoDispose() [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoDispose',
|
|
|
|
|
'void',
|
|
|
|
|
[],
|
|
|
|
|
visibility='private', is_virtual=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## random-walk-2d-mobility-model.h: ns3::Vector ns3::RandomWalk2dMobilityModel::DoGetPosition() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoGetPosition',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True, visibility='private', is_virtual=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## random-walk-2d-mobility-model.h: void ns3::RandomWalk2dMobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoSetPosition',
|
|
|
|
|
'void',
|
|
|
|
|
[param('ns3::Vector&', 'position', is_const=True)],
|
|
|
|
|
visibility='private', is_virtual=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## random-walk-2d-mobility-model.h: ns3::Vector ns3::RandomWalk2dMobilityModel::DoGetVelocity() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoGetVelocity',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True, visibility='private', is_virtual=True)
|
2008-08-19 17:48:09 +01:00
|
|
|
cls.add_copy_constructor()
|
2008-07-08 10:43:58 -07:00
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_Ns3StaticSpeedMobilityModel_methods(root_module, cls):
|
|
|
|
|
## static-speed-mobility-model.h: static ns3::TypeId ns3::StaticSpeedMobilityModel::GetTypeId() [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetTypeId',
|
|
|
|
|
'ns3::TypeId',
|
|
|
|
|
[],
|
|
|
|
|
is_static=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## static-speed-mobility-model.h: ns3::StaticSpeedMobilityModel::StaticSpeedMobilityModel() [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([])
|
2008-07-08 10:43:58 -07:00
|
|
|
## static-speed-mobility-model.h: void ns3::StaticSpeedMobilityModel::SetSpeed(ns3::Vector const & speed) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('SetSpeed',
|
|
|
|
|
'void',
|
|
|
|
|
[param('ns3::Vector&', 'speed', is_const=True)])
|
2008-07-08 10:43:58 -07:00
|
|
|
## static-speed-mobility-model.h: ns3::Vector ns3::StaticSpeedMobilityModel::DoGetPosition() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoGetPosition',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True, visibility='private', is_virtual=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## static-speed-mobility-model.h: void ns3::StaticSpeedMobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoSetPosition',
|
|
|
|
|
'void',
|
|
|
|
|
[param('ns3::Vector&', 'position', is_const=True)],
|
|
|
|
|
visibility='private', is_virtual=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## static-speed-mobility-model.h: ns3::Vector ns3::StaticSpeedMobilityModel::DoGetVelocity() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoGetVelocity',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True, visibility='private', is_virtual=True)
|
2008-08-19 17:48:09 +01:00
|
|
|
cls.add_copy_constructor()
|
2008-07-08 10:43:58 -07:00
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_Ns3HierarchicalMobilityModel_methods(root_module, cls):
|
|
|
|
|
## hierarchical-mobility-model.h: static ns3::TypeId ns3::HierarchicalMobilityModel::GetTypeId() [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetTypeId',
|
|
|
|
|
'ns3::TypeId',
|
|
|
|
|
[],
|
|
|
|
|
is_static=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## hierarchical-mobility-model.h: ns3::HierarchicalMobilityModel::HierarchicalMobilityModel() [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([])
|
2008-07-08 10:43:58 -07:00
|
|
|
## hierarchical-mobility-model.h: ns3::Ptr<ns3::MobilityModel> ns3::HierarchicalMobilityModel::GetChild() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetChild',
|
|
|
|
|
'ns3::Ptr< ns3::MobilityModel >',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## hierarchical-mobility-model.h: ns3::Ptr<ns3::MobilityModel> ns3::HierarchicalMobilityModel::GetParent() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetParent',
|
|
|
|
|
'ns3::Ptr< ns3::MobilityModel >',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## hierarchical-mobility-model.h: ns3::Vector ns3::HierarchicalMobilityModel::DoGetPosition() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoGetPosition',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True, visibility='private', is_virtual=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## hierarchical-mobility-model.h: void ns3::HierarchicalMobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoSetPosition',
|
|
|
|
|
'void',
|
|
|
|
|
[param('ns3::Vector&', 'position', is_const=True)],
|
|
|
|
|
visibility='private', is_virtual=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## hierarchical-mobility-model.h: ns3::Vector ns3::HierarchicalMobilityModel::DoGetVelocity() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoGetVelocity',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True, visibility='private', is_virtual=True)
|
2008-08-19 17:48:09 +01:00
|
|
|
cls.add_copy_constructor()
|
2008-07-08 10:43:58 -07:00
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_Ns3StaticMobilityModel_methods(root_module, cls):
|
|
|
|
|
## static-mobility-model.h: static ns3::TypeId ns3::StaticMobilityModel::GetTypeId() [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('GetTypeId',
|
|
|
|
|
'ns3::TypeId',
|
|
|
|
|
[],
|
|
|
|
|
is_static=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## static-mobility-model.h: ns3::StaticMobilityModel::StaticMobilityModel() [constructor]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_constructor([])
|
2008-07-08 10:43:58 -07:00
|
|
|
## static-mobility-model.h: ns3::Vector ns3::StaticMobilityModel::DoGetPosition() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoGetPosition',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True, visibility='private', is_virtual=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## static-mobility-model.h: void ns3::StaticMobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoSetPosition',
|
|
|
|
|
'void',
|
|
|
|
|
[param('ns3::Vector&', 'position', is_const=True)],
|
|
|
|
|
visibility='private', is_virtual=True)
|
2008-07-08 10:43:58 -07:00
|
|
|
## static-mobility-model.h: ns3::Vector ns3::StaticMobilityModel::DoGetVelocity() const [member function]
|
2008-07-21 15:30:15 +01:00
|
|
|
cls.add_method('DoGetVelocity',
|
|
|
|
|
'ns3::Vector',
|
|
|
|
|
[],
|
|
|
|
|
is_const=True, visibility='private', is_virtual=True)
|
2008-08-19 17:48:09 +01:00
|
|
|
cls.add_copy_constructor()
|
2008-07-08 10:43:58 -07:00
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_functions(root_module):
|
|
|
|
|
module = root_module
|
|
|
|
|
## rectangle.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeRectangleChecker() [free function]
|
2008-07-21 15:30:15 +01:00
|
|
|
module.add_function('MakeRectangleChecker',
|
|
|
|
|
'ns3::Ptr< ns3::AttributeChecker const >',
|
|
|
|
|
[])
|
2008-07-08 10:43:58 -07:00
|
|
|
## vector.h: extern double ns3::CalculateDistance(ns3::Vector const & a, ns3::Vector const & b) [free function]
|
2008-07-21 15:30:15 +01:00
|
|
|
module.add_function('CalculateDistance',
|
|
|
|
|
'double',
|
|
|
|
|
[param('ns3::Vector&', 'a', is_const=True), param('ns3::Vector&', 'b', is_const=True)])
|
2008-07-08 10:43:58 -07:00
|
|
|
## vector.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeVectorChecker() [free function]
|
2008-07-21 15:30:15 +01:00
|
|
|
module.add_function('MakeVectorChecker',
|
|
|
|
|
'ns3::Ptr< ns3::AttributeChecker const >',
|
|
|
|
|
[])
|
2008-07-08 10:43:58 -07:00
|
|
|
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
|
|
|
|
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
|
|
|
|
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
|
|
|
|
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_functions_ns3_internal(module, root_module):
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_functions_ns3_TimeStepPrecision(module, root_module):
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_functions_ns3_Config(module, root_module):
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
def register_functions_ns3_olsr(module, root_module):
|
|
|
|
|
return
|
|
|
|
|
|