bindings/python/ns3_module_mobility.py
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Fri, 19 Jun 2009 08:36:48 +0200
changeset 4552 8d3801089629
parent 4474 19e2b7ff3482
permissions -rw-r--r--
kill unused method
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
     1
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     2
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     3
def register_types(module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     4
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     5
    
4261
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
     6
    ## constant-velocity-helper.h: ns3::ConstantVelocityHelper [class]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
     7
    module.add_class('ConstantVelocityHelper', allow_subclassing=False)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     8
    ## rectangle.h: ns3::Rectangle [class]
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     9
    module.add_class('Rectangle')
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    10
    ## rectangle.h: ns3::Rectangle::Side [enumeration]
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    11
    module.add_enum('Side', ['RIGHT', 'LEFT', 'TOP', 'BOTTOM'], outer_class=root_module['ns3::Rectangle'])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
    12
    ## vector.h: ns3::Vector [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
    13
    module.add_class('Vector')
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    14
    ## position-allocator.h: ns3::PositionAllocator [class]
3457
2ff6f05b9467 Rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3408
diff changeset
    15
    module.add_class('PositionAllocator', parent=root_module['ns3::Object'])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
    16
    ## position-allocator.h: ns3::RandomDiscPositionAllocator [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
    17
    module.add_class('RandomDiscPositionAllocator', parent=root_module['ns3::PositionAllocator'])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
    18
    ## position-allocator.h: ns3::RandomRectanglePositionAllocator [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
    19
    module.add_class('RandomRectanglePositionAllocator', parent=root_module['ns3::PositionAllocator'])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
    20
    ## rectangle.h: ns3::RectangleChecker [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
    21
    module.add_class('RectangleChecker', parent=root_module['ns3::AttributeChecker'])
3584
4eb48239b4dc bug 274: bridge must detect compatibility of devices with bridging mode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3574
diff changeset
    22
    ## rectangle.h: ns3::RectangleValue [class]
4eb48239b4dc bug 274: bridge must detect compatibility of devices with bridging mode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3574
diff changeset
    23
    module.add_class('RectangleValue', parent=root_module['ns3::AttributeValue'])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
    24
    ## vector.h: ns3::VectorChecker [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
    25
    module.add_class('VectorChecker', parent=root_module['ns3::AttributeChecker'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    26
    ## vector.h: ns3::VectorValue [class]
3457
2ff6f05b9467 Rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3408
diff changeset
    27
    module.add_class('VectorValue', parent=root_module['ns3::AttributeValue'])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
    28
    ## position-allocator.h: ns3::GridPositionAllocator [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
    29
    module.add_class('GridPositionAllocator', parent=root_module['ns3::PositionAllocator'])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
    30
    ## position-allocator.h: ns3::GridPositionAllocator::LayoutType [enumeration]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
    31
    module.add_enum('LayoutType', ['ROW_FIRST', 'COLUMN_FIRST'], outer_class=root_module['ns3::GridPositionAllocator'])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
    32
    ## position-allocator.h: ns3::ListPositionAllocator [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
    33
    module.add_class('ListPositionAllocator', parent=root_module['ns3::PositionAllocator'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    34
    ## mobility-model.h: ns3::MobilityModel [class]
3457
2ff6f05b9467 Rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3408
diff changeset
    35
    module.add_class('MobilityModel', parent=root_module['ns3::Object'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    36
    ## random-direction-2d-mobility-model.h: ns3::RandomDirection2dMobilityModel [class]
3457
2ff6f05b9467 Rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3408
diff changeset
    37
    module.add_class('RandomDirection2dMobilityModel', parent=root_module['ns3::MobilityModel'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    38
    ## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel [class]
3457
2ff6f05b9467 Rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3408
diff changeset
    39
    module.add_class('RandomWalk2dMobilityModel', parent=root_module['ns3::MobilityModel'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    40
    ## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::Mode [enumeration]
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    41
    module.add_enum('Mode', ['MODE_DISTANCE', 'MODE_TIME'], outer_class=root_module['ns3::RandomWalk2dMobilityModel'])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
    42
    ## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
    43
    module.add_class('RandomWaypointMobilityModel', parent=root_module['ns3::MobilityModel'])
4261
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
    44
    ## constant-acceleration-mobility-model.h: ns3::ConstantAccelerationMobilityModel [class]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
    45
    module.add_class('ConstantAccelerationMobilityModel', parent=root_module['ns3::MobilityModel'])
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
    46
    ## constant-position-mobility-model.h: ns3::ConstantPositionMobilityModel [class]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
    47
    module.add_class('ConstantPositionMobilityModel', parent=root_module['ns3::MobilityModel'])
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
    48
    ## constant-velocity-mobility-model.h: ns3::ConstantVelocityMobilityModel [class]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
    49
    module.add_class('ConstantVelocityMobilityModel', parent=root_module['ns3::MobilityModel'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    50
    ## hierarchical-mobility-model.h: ns3::HierarchicalMobilityModel [class]
3457
2ff6f05b9467 Rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3408
diff changeset
    51
    module.add_class('HierarchicalMobilityModel', parent=root_module['ns3::MobilityModel'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    52
    
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3784
diff changeset
    53
    ## Register a nested module for the namespace Config
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    54
    
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3784
diff changeset
    55
    nested_module = module.add_cpp_namespace('Config')
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3784
diff changeset
    56
    register_types_ns3_Config(nested_module)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    57
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    58
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    59
    ## Register a nested module for the namespace TimeStepPrecision
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    60
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    61
    nested_module = module.add_cpp_namespace('TimeStepPrecision')
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    62
    register_types_ns3_TimeStepPrecision(nested_module)
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    63
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    64
    
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    65
    ## Register a nested module for the namespace addressUtils
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    66
    
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    67
    nested_module = module.add_cpp_namespace('addressUtils')
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    68
    register_types_ns3_addressUtils(nested_module)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    69
    
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    70
    
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3784
diff changeset
    71
    ## Register a nested module for the namespace internal
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    72
    
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3784
diff changeset
    73
    nested_module = module.add_cpp_namespace('internal')
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3784
diff changeset
    74
    register_types_ns3_internal(nested_module)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    75
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    76
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    77
    ## Register a nested module for the namespace olsr
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    78
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    79
    nested_module = module.add_cpp_namespace('olsr')
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    80
    register_types_ns3_olsr(nested_module)
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    81
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    82
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3784
diff changeset
    83
def register_types_ns3_Config(module):
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    84
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    85
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    86
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    87
def register_types_ns3_TimeStepPrecision(module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    88
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    89
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    90
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    91
def register_types_ns3_addressUtils(module):
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    92
    root_module = module.get_root()
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    93
    
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    94
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3784
diff changeset
    95
def register_types_ns3_internal(module):
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    96
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    97
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    98
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    99
def register_types_ns3_olsr(module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   100
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   101
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   102
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   103
def register_methods(root_module):
4261
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   104
    register_Ns3ConstantVelocityHelper_methods(root_module, root_module['ns3::ConstantVelocityHelper'])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   105
    register_Ns3Rectangle_methods(root_module, root_module['ns3::Rectangle'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   106
    register_Ns3Vector_methods(root_module, root_module['ns3::Vector'])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   107
    register_Ns3PositionAllocator_methods(root_module, root_module['ns3::PositionAllocator'])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   108
    register_Ns3RandomDiscPositionAllocator_methods(root_module, root_module['ns3::RandomDiscPositionAllocator'])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   109
    register_Ns3RandomRectanglePositionAllocator_methods(root_module, root_module['ns3::RandomRectanglePositionAllocator'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   110
    register_Ns3RectangleChecker_methods(root_module, root_module['ns3::RectangleChecker'])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   111
    register_Ns3RectangleValue_methods(root_module, root_module['ns3::RectangleValue'])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   112
    register_Ns3VectorChecker_methods(root_module, root_module['ns3::VectorChecker'])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   113
    register_Ns3VectorValue_methods(root_module, root_module['ns3::VectorValue'])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   114
    register_Ns3GridPositionAllocator_methods(root_module, root_module['ns3::GridPositionAllocator'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   115
    register_Ns3ListPositionAllocator_methods(root_module, root_module['ns3::ListPositionAllocator'])
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   116
    register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel'])
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   117
    register_Ns3RandomDirection2dMobilityModel_methods(root_module, root_module['ns3::RandomDirection2dMobilityModel'])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   118
    register_Ns3RandomWalk2dMobilityModel_methods(root_module, root_module['ns3::RandomWalk2dMobilityModel'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   119
    register_Ns3RandomWaypointMobilityModel_methods(root_module, root_module['ns3::RandomWaypointMobilityModel'])
4261
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   120
    register_Ns3ConstantAccelerationMobilityModel_methods(root_module, root_module['ns3::ConstantAccelerationMobilityModel'])
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   121
    register_Ns3ConstantPositionMobilityModel_methods(root_module, root_module['ns3::ConstantPositionMobilityModel'])
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   122
    register_Ns3ConstantVelocityMobilityModel_methods(root_module, root_module['ns3::ConstantVelocityMobilityModel'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   123
    register_Ns3HierarchicalMobilityModel_methods(root_module, root_module['ns3::HierarchicalMobilityModel'])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   124
    return
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   125
4261
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   126
def register_Ns3ConstantVelocityHelper_methods(root_module, cls):
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   127
    ## constant-velocity-helper.h: ns3::ConstantVelocityHelper::ConstantVelocityHelper(ns3::ConstantVelocityHelper const & arg0) [copy constructor]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   128
    cls.add_constructor([param('ns3::ConstantVelocityHelper const &', 'arg0')])
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   129
    ## constant-velocity-helper.h: ns3::ConstantVelocityHelper::ConstantVelocityHelper() [constructor]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   130
    cls.add_constructor([])
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   131
    ## constant-velocity-helper.h: ns3::ConstantVelocityHelper::ConstantVelocityHelper(ns3::Vector const & position) [constructor]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   132
    cls.add_constructor([param('ns3::Vector const &', 'position')])
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   133
    ## constant-velocity-helper.h: ns3::ConstantVelocityHelper::ConstantVelocityHelper(ns3::Vector const & position, ns3::Vector const & vel) [constructor]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   134
    cls.add_constructor([param('ns3::Vector const &', 'position'), param('ns3::Vector const &', 'vel')])
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   135
    ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::SetPosition(ns3::Vector const & position) [member function]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   136
    cls.add_method('SetPosition', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   137
                   'void', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   138
                   [param('ns3::Vector const &', 'position')])
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   139
    ## constant-velocity-helper.h: ns3::Vector ns3::ConstantVelocityHelper::GetCurrentPosition() const [member function]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   140
    cls.add_method('GetCurrentPosition', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   141
                   'ns3::Vector', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   142
                   [], 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   143
                   is_const=True)
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   144
    ## constant-velocity-helper.h: ns3::Vector ns3::ConstantVelocityHelper::GetVelocity() const [member function]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   145
    cls.add_method('GetVelocity', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   146
                   'ns3::Vector', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   147
                   [], 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   148
                   is_const=True)
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   149
    ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::SetVelocity(ns3::Vector const & vel) [member function]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   150
    cls.add_method('SetVelocity', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   151
                   'void', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   152
                   [param('ns3::Vector const &', 'vel')])
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   153
    ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::Pause() [member function]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   154
    cls.add_method('Pause', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   155
                   'void', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   156
                   [])
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   157
    ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::Unpause() [member function]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   158
    cls.add_method('Unpause', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   159
                   'void', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   160
                   [])
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   161
    ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::UpdateWithBounds(ns3::Rectangle const & rectangle) const [member function]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   162
    cls.add_method('UpdateWithBounds', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   163
                   'void', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   164
                   [param('ns3::Rectangle const &', 'rectangle')], 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   165
                   is_const=True)
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   166
    ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::Update() const [member function]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   167
    cls.add_method('Update', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   168
                   'void', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   169
                   [], 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   170
                   is_const=True)
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   171
    return
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   172
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   173
def register_Ns3Rectangle_methods(root_module, cls):
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   174
    cls.add_output_stream_operator()
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   175
    ## rectangle.h: ns3::Rectangle::Rectangle(ns3::Rectangle const & arg0) [copy constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   176
    cls.add_constructor([param('ns3::Rectangle const &', 'arg0')])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   177
    ## rectangle.h: ns3::Rectangle::Rectangle(double _xMin, double _xMax, double _yMin, double _yMax) [constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   178
    cls.add_constructor([param('double', '_xMin'), param('double', '_xMax'), param('double', '_yMin'), param('double', '_yMax')])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   179
    ## rectangle.h: ns3::Rectangle::Rectangle() [constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   180
    cls.add_constructor([])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   181
    ## rectangle.h: ns3::Vector ns3::Rectangle::CalculateIntersection(ns3::Vector const & current, ns3::Vector const & speed) const [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   182
    cls.add_method('CalculateIntersection', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   183
                   'ns3::Vector', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   184
                   [param('ns3::Vector const &', 'current'), param('ns3::Vector const &', 'speed')], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   185
                   is_const=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   186
    ## rectangle.h: ns3::Rectangle::Side ns3::Rectangle::GetClosestSide(ns3::Vector const & position) const [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   187
    cls.add_method('GetClosestSide', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   188
                   'ns3::Rectangle::Side', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   189
                   [param('ns3::Vector const &', 'position')], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   190
                   is_const=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   191
    ## rectangle.h: bool ns3::Rectangle::IsInside(ns3::Vector const & position) const [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   192
    cls.add_method('IsInside', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   193
                   'bool', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   194
                   [param('ns3::Vector const &', 'position')], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   195
                   is_const=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   196
    ## rectangle.h: ns3::Rectangle::xMax [variable]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   197
    cls.add_instance_attribute('xMax', 'double', is_const=False)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   198
    ## rectangle.h: ns3::Rectangle::xMin [variable]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   199
    cls.add_instance_attribute('xMin', 'double', is_const=False)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   200
    ## rectangle.h: ns3::Rectangle::yMax [variable]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   201
    cls.add_instance_attribute('yMax', 'double', is_const=False)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   202
    ## rectangle.h: ns3::Rectangle::yMin [variable]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   203
    cls.add_instance_attribute('yMin', 'double', is_const=False)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   204
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   205
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   206
def register_Ns3Vector_methods(root_module, cls):
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   207
    cls.add_output_stream_operator()
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   208
    ## vector.h: ns3::Vector::Vector(ns3::Vector const & arg0) [copy constructor]
3574
b6804efbe16b New pybindgen and API rescan. Extensive API description files changes because pybindgen now handles consts differently.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3567
diff changeset
   209
    cls.add_constructor([param('ns3::Vector const &', 'arg0')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   210
    ## vector.h: ns3::Vector::Vector(double _x, double _y, double _z) [constructor]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   211
    cls.add_constructor([param('double', '_x'), param('double', '_y'), param('double', '_z')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   212
    ## vector.h: ns3::Vector::Vector() [constructor]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   213
    cls.add_constructor([])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   214
    ## vector.h: ns3::Vector::x [variable]
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   215
    cls.add_instance_attribute('x', 'double', is_const=False)
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   216
    ## vector.h: ns3::Vector::y [variable]
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   217
    cls.add_instance_attribute('y', 'double', is_const=False)
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   218
    ## vector.h: ns3::Vector::z [variable]
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   219
    cls.add_instance_attribute('z', 'double', is_const=False)
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   220
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   221
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   222
def register_Ns3PositionAllocator_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   223
    ## position-allocator.h: ns3::PositionAllocator::PositionAllocator(ns3::PositionAllocator const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   224
    cls.add_constructor([param('ns3::PositionAllocator const &', 'arg0')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   225
    ## position-allocator.h: static ns3::TypeId ns3::PositionAllocator::GetTypeId() [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   226
    cls.add_method('GetTypeId', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   227
                   'ns3::TypeId', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   228
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   229
                   is_static=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   230
    ## position-allocator.h: ns3::PositionAllocator::PositionAllocator() [constructor]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   231
    cls.add_constructor([])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   232
    ## position-allocator.h: ns3::Vector ns3::PositionAllocator::GetNext() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   233
    cls.add_method('GetNext', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   234
                   'ns3::Vector', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   235
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   236
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   237
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   238
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   239
def register_Ns3RandomDiscPositionAllocator_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   240
    ## position-allocator.h: ns3::RandomDiscPositionAllocator::RandomDiscPositionAllocator(ns3::RandomDiscPositionAllocator const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   241
    cls.add_constructor([param('ns3::RandomDiscPositionAllocator const &', 'arg0')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   242
    ## position-allocator.h: static ns3::TypeId ns3::RandomDiscPositionAllocator::GetTypeId() [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   243
    cls.add_method('GetTypeId', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   244
                   'ns3::TypeId', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   245
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   246
                   is_static=True)
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   247
    ## position-allocator.h: ns3::RandomDiscPositionAllocator::RandomDiscPositionAllocator() [constructor]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   248
    cls.add_constructor([])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   249
    ## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetTheta(ns3::RandomVariable theta) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   250
    cls.add_method('SetTheta', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   251
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   252
                   [param('ns3::RandomVariable', 'theta')])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   253
    ## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetRho(ns3::RandomVariable rho) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   254
    cls.add_method('SetRho', 
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   255
                   'void', 
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   256
                   [param('ns3::RandomVariable', 'rho')])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   257
    ## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetX(double x) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   258
    cls.add_method('SetX', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   259
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   260
                   [param('double', 'x')])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   261
    ## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetY(double y) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   262
    cls.add_method('SetY', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   263
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   264
                   [param('double', 'y')])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   265
    ## position-allocator.h: ns3::Vector ns3::RandomDiscPositionAllocator::GetNext() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   266
    cls.add_method('GetNext', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   267
                   'ns3::Vector', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   268
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   269
                   is_const=True, is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   270
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   271
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   272
def register_Ns3RandomRectanglePositionAllocator_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   273
    ## position-allocator.h: ns3::RandomRectanglePositionAllocator::RandomRectanglePositionAllocator(ns3::RandomRectanglePositionAllocator const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   274
    cls.add_constructor([param('ns3::RandomRectanglePositionAllocator const &', 'arg0')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   275
    ## position-allocator.h: static ns3::TypeId ns3::RandomRectanglePositionAllocator::GetTypeId() [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   276
    cls.add_method('GetTypeId', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   277
                   'ns3::TypeId', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   278
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   279
                   is_static=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   280
    ## position-allocator.h: ns3::RandomRectanglePositionAllocator::RandomRectanglePositionAllocator() [constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   281
    cls.add_constructor([])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   282
    ## position-allocator.h: void ns3::RandomRectanglePositionAllocator::SetX(ns3::RandomVariable x) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   283
    cls.add_method('SetX', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   284
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   285
                   [param('ns3::RandomVariable', 'x')])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   286
    ## position-allocator.h: void ns3::RandomRectanglePositionAllocator::SetY(ns3::RandomVariable y) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   287
    cls.add_method('SetY', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   288
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   289
                   [param('ns3::RandomVariable', 'y')])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   290
    ## position-allocator.h: ns3::Vector ns3::RandomRectanglePositionAllocator::GetNext() const [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   291
    cls.add_method('GetNext', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   292
                   'ns3::Vector', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   293
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   294
                   is_const=True, is_virtual=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   295
    return
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   296
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   297
def register_Ns3RectangleChecker_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   298
    ## rectangle.h: ns3::RectangleChecker::RectangleChecker(ns3::RectangleChecker const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   299
    cls.add_constructor([param('ns3::RectangleChecker const &', 'arg0')])
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   300
    ## rectangle.h: ns3::RectangleChecker::RectangleChecker() [constructor]
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   301
    cls.add_constructor([])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   302
    return
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   303
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   304
def register_Ns3RectangleValue_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   305
    ## rectangle.h: ns3::RectangleValue::RectangleValue(ns3::RectangleValue const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   306
    cls.add_constructor([param('ns3::RectangleValue const &', 'arg0')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   307
    ## rectangle.h: ns3::RectangleValue::RectangleValue() [constructor]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   308
    cls.add_constructor([])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   309
    ## rectangle.h: ns3::RectangleValue::RectangleValue(ns3::Rectangle const & value) [constructor]
3574
b6804efbe16b New pybindgen and API rescan. Extensive API description files changes because pybindgen now handles consts differently.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3567
diff changeset
   310
    cls.add_constructor([param('ns3::Rectangle const &', 'value')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   311
    ## rectangle.h: void ns3::RectangleValue::Set(ns3::Rectangle const & value) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   312
    cls.add_method('Set', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   313
                   'void', 
3574
b6804efbe16b New pybindgen and API rescan. Extensive API description files changes because pybindgen now handles consts differently.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3567
diff changeset
   314
                   [param('ns3::Rectangle const &', 'value')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   315
    ## rectangle.h: ns3::Rectangle ns3::RectangleValue::Get() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   316
    cls.add_method('Get', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   317
                   'ns3::Rectangle', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   318
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   319
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   320
    ## rectangle.h: ns3::Ptr<ns3::AttributeValue> ns3::RectangleValue::Copy() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   321
    cls.add_method('Copy', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   322
                   'ns3::Ptr< ns3::AttributeValue >', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   323
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   324
                   is_const=True, is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   325
    ## rectangle.h: std::string ns3::RectangleValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   326
    cls.add_method('SerializeToString', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   327
                   'std::string', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   328
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   329
                   is_const=True, is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   330
    ## rectangle.h: bool ns3::RectangleValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   331
    cls.add_method('DeserializeFromString', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   332
                   'bool', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   333
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   334
                   is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   335
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   336
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   337
def register_Ns3VectorChecker_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   338
    ## vector.h: ns3::VectorChecker::VectorChecker(ns3::VectorChecker const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   339
    cls.add_constructor([param('ns3::VectorChecker const &', 'arg0')])
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   340
    ## vector.h: ns3::VectorChecker::VectorChecker() [constructor]
3584
4eb48239b4dc bug 274: bridge must detect compatibility of devices with bridging mode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3574
diff changeset
   341
    cls.add_constructor([])
4eb48239b4dc bug 274: bridge must detect compatibility of devices with bridging mode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3574
diff changeset
   342
    return
4eb48239b4dc bug 274: bridge must detect compatibility of devices with bridging mode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3574
diff changeset
   343
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   344
def register_Ns3VectorValue_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   345
    ## vector.h: ns3::VectorValue::VectorValue(ns3::VectorValue const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   346
    cls.add_constructor([param('ns3::VectorValue const &', 'arg0')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   347
    ## vector.h: ns3::VectorValue::VectorValue() [constructor]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   348
    cls.add_constructor([])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   349
    ## vector.h: ns3::VectorValue::VectorValue(ns3::Vector const & value) [constructor]
3574
b6804efbe16b New pybindgen and API rescan. Extensive API description files changes because pybindgen now handles consts differently.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3567
diff changeset
   350
    cls.add_constructor([param('ns3::Vector const &', 'value')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   351
    ## vector.h: void ns3::VectorValue::Set(ns3::Vector const & value) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   352
    cls.add_method('Set', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   353
                   'void', 
3574
b6804efbe16b New pybindgen and API rescan. Extensive API description files changes because pybindgen now handles consts differently.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3567
diff changeset
   354
                   [param('ns3::Vector const &', 'value')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   355
    ## vector.h: ns3::Vector ns3::VectorValue::Get() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   356
    cls.add_method('Get', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   357
                   'ns3::Vector', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   358
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   359
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   360
    ## vector.h: ns3::Ptr<ns3::AttributeValue> ns3::VectorValue::Copy() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   361
    cls.add_method('Copy', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   362
                   'ns3::Ptr< ns3::AttributeValue >', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   363
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   364
                   is_const=True, is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   365
    ## vector.h: std::string ns3::VectorValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   366
    cls.add_method('SerializeToString', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   367
                   'std::string', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   368
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   369
                   is_const=True, is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   370
    ## vector.h: bool ns3::VectorValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   371
    cls.add_method('DeserializeFromString', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   372
                   'bool', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   373
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   374
                   is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   375
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   376
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   377
def register_Ns3GridPositionAllocator_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   378
    ## position-allocator.h: ns3::GridPositionAllocator::GridPositionAllocator(ns3::GridPositionAllocator const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   379
    cls.add_constructor([param('ns3::GridPositionAllocator const &', 'arg0')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   380
    ## position-allocator.h: static ns3::TypeId ns3::GridPositionAllocator::GetTypeId() [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   381
    cls.add_method('GetTypeId', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   382
                   'ns3::TypeId', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   383
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   384
                   is_static=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   385
    ## position-allocator.h: ns3::GridPositionAllocator::GridPositionAllocator() [constructor]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   386
    cls.add_constructor([])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   387
    ## position-allocator.h: void ns3::GridPositionAllocator::SetMinX(double xMin) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   388
    cls.add_method('SetMinX', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   389
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   390
                   [param('double', 'xMin')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   391
    ## position-allocator.h: void ns3::GridPositionAllocator::SetMinY(double yMin) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   392
    cls.add_method('SetMinY', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   393
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   394
                   [param('double', 'yMin')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   395
    ## position-allocator.h: void ns3::GridPositionAllocator::SetDeltaX(double deltaX) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   396
    cls.add_method('SetDeltaX', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   397
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   398
                   [param('double', 'deltaX')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   399
    ## position-allocator.h: void ns3::GridPositionAllocator::SetDeltaY(double deltaY) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   400
    cls.add_method('SetDeltaY', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   401
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   402
                   [param('double', 'deltaY')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   403
    ## position-allocator.h: void ns3::GridPositionAllocator::SetN(uint32_t n) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   404
    cls.add_method('SetN', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   405
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   406
                   [param('uint32_t', 'n')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   407
    ## position-allocator.h: void ns3::GridPositionAllocator::SetLayoutType(ns3::GridPositionAllocator::LayoutType layoutType) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   408
    cls.add_method('SetLayoutType', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   409
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   410
                   [param('ns3::GridPositionAllocator::LayoutType', 'layoutType')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   411
    ## position-allocator.h: double ns3::GridPositionAllocator::GetMinX() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   412
    cls.add_method('GetMinX', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   413
                   'double', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   414
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   415
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   416
    ## position-allocator.h: double ns3::GridPositionAllocator::GetMinY() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   417
    cls.add_method('GetMinY', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   418
                   'double', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   419
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   420
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   421
    ## position-allocator.h: double ns3::GridPositionAllocator::GetDeltaX() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   422
    cls.add_method('GetDeltaX', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   423
                   'double', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   424
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   425
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   426
    ## position-allocator.h: double ns3::GridPositionAllocator::GetDeltaY() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   427
    cls.add_method('GetDeltaY', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   428
                   'double', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   429
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   430
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   431
    ## position-allocator.h: uint32_t ns3::GridPositionAllocator::GetN() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   432
    cls.add_method('GetN', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   433
                   'uint32_t', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   434
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   435
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   436
    ## position-allocator.h: ns3::GridPositionAllocator::LayoutType ns3::GridPositionAllocator::GetLayoutType() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   437
    cls.add_method('GetLayoutType', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   438
                   'ns3::GridPositionAllocator::LayoutType', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   439
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   440
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   441
    ## position-allocator.h: ns3::Vector ns3::GridPositionAllocator::GetNext() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   442
    cls.add_method('GetNext', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   443
                   'ns3::Vector', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   444
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   445
                   is_const=True, is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   446
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   447
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   448
def register_Ns3ListPositionAllocator_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   449
    ## position-allocator.h: ns3::ListPositionAllocator::ListPositionAllocator(ns3::ListPositionAllocator const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   450
    cls.add_constructor([param('ns3::ListPositionAllocator const &', 'arg0')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   451
    ## position-allocator.h: static ns3::TypeId ns3::ListPositionAllocator::GetTypeId() [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   452
    cls.add_method('GetTypeId', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   453
                   'ns3::TypeId', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   454
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   455
                   is_static=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   456
    ## position-allocator.h: ns3::ListPositionAllocator::ListPositionAllocator() [constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   457
    cls.add_constructor([])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   458
    ## position-allocator.h: void ns3::ListPositionAllocator::Add(ns3::Vector v) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   459
    cls.add_method('Add', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   460
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   461
                   [param('ns3::Vector', 'v')])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   462
    ## position-allocator.h: ns3::Vector ns3::ListPositionAllocator::GetNext() const [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   463
    cls.add_method('GetNext', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   464
                   'ns3::Vector', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   465
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   466
                   is_const=True, is_virtual=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   467
    return
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   468
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   469
def register_Ns3MobilityModel_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   470
    ## mobility-model.h: ns3::MobilityModel::MobilityModel(ns3::MobilityModel const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   471
    cls.add_constructor([param('ns3::MobilityModel const &', 'arg0')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   472
    ## mobility-model.h: static ns3::TypeId ns3::MobilityModel::GetTypeId() [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   473
    cls.add_method('GetTypeId', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   474
                   'ns3::TypeId', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   475
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   476
                   is_static=True)
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   477
    ## mobility-model.h: ns3::MobilityModel::MobilityModel() [constructor]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   478
    cls.add_constructor([])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   479
    ## mobility-model.h: ns3::Vector ns3::MobilityModel::GetPosition() const [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   480
    cls.add_method('GetPosition', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   481
                   'ns3::Vector', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   482
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   483
                   is_const=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   484
    ## mobility-model.h: void ns3::MobilityModel::SetPosition(ns3::Vector const & position) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   485
    cls.add_method('SetPosition', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   486
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   487
                   [param('ns3::Vector const &', 'position')])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   488
    ## mobility-model.h: ns3::Vector ns3::MobilityModel::GetVelocity() const [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   489
    cls.add_method('GetVelocity', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   490
                   'ns3::Vector', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   491
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   492
                   is_const=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   493
    ## mobility-model.h: double ns3::MobilityModel::GetDistanceFrom(ns3::Ptr<const ns3::MobilityModel> position) const [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   494
    cls.add_method('GetDistanceFrom', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   495
                   'double', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   496
                   [param('ns3::Ptr< ns3::MobilityModel const >', 'position')], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   497
                   is_const=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   498
    ## mobility-model.h: void ns3::MobilityModel::NotifyCourseChange() const [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   499
    cls.add_method('NotifyCourseChange', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   500
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   501
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   502
                   is_const=True, visibility='protected')
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   503
    ## mobility-model.h: ns3::Vector ns3::MobilityModel::DoGetPosition() const [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   504
    cls.add_method('DoGetPosition', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   505
                   'ns3::Vector', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   506
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   507
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   508
    ## mobility-model.h: void ns3::MobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   509
    cls.add_method('DoSetPosition', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   510
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   511
                   [param('ns3::Vector const &', 'position')], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   512
                   is_pure_virtual=True, visibility='private', is_virtual=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   513
    ## mobility-model.h: ns3::Vector ns3::MobilityModel::DoGetVelocity() const [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   514
    cls.add_method('DoGetVelocity', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   515
                   'ns3::Vector', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   516
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   517
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   518
    return
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   519
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   520
def register_Ns3RandomDirection2dMobilityModel_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   521
    ## random-direction-2d-mobility-model.h: ns3::RandomDirection2dMobilityModel::RandomDirection2dMobilityModel(ns3::RandomDirection2dMobilityModel const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   522
    cls.add_constructor([param('ns3::RandomDirection2dMobilityModel const &', 'arg0')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   523
    ## random-direction-2d-mobility-model.h: static ns3::TypeId ns3::RandomDirection2dMobilityModel::GetTypeId() [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   524
    cls.add_method('GetTypeId', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   525
                   'ns3::TypeId', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   526
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   527
                   is_static=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   528
    ## random-direction-2d-mobility-model.h: ns3::RandomDirection2dMobilityModel::RandomDirection2dMobilityModel() [constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   529
    cls.add_constructor([])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   530
    ## random-direction-2d-mobility-model.h: void ns3::RandomDirection2dMobilityModel::DoDispose() [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   531
    cls.add_method('DoDispose', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   532
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   533
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   534
                   visibility='private', is_virtual=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   535
    ## random-direction-2d-mobility-model.h: ns3::Vector ns3::RandomDirection2dMobilityModel::DoGetPosition() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   536
    cls.add_method('DoGetPosition', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   537
                   'ns3::Vector', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   538
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   539
                   is_const=True, visibility='private', is_virtual=True)
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   540
    ## random-direction-2d-mobility-model.h: void ns3::RandomDirection2dMobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   541
    cls.add_method('DoSetPosition', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   542
                   'void', 
3574
b6804efbe16b New pybindgen and API rescan. Extensive API description files changes because pybindgen now handles consts differently.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3567
diff changeset
   543
                   [param('ns3::Vector const &', 'position')], 
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   544
                   visibility='private', is_virtual=True)
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   545
    ## random-direction-2d-mobility-model.h: ns3::Vector ns3::RandomDirection2dMobilityModel::DoGetVelocity() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   546
    cls.add_method('DoGetVelocity', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   547
                   'ns3::Vector', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   548
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   549
                   is_const=True, visibility='private', is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   550
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   551
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   552
def register_Ns3RandomWalk2dMobilityModel_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   553
    ## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::RandomWalk2dMobilityModel(ns3::RandomWalk2dMobilityModel const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   554
    cls.add_constructor([param('ns3::RandomWalk2dMobilityModel const &', 'arg0')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   555
    ## random-walk-2d-mobility-model.h: static ns3::TypeId ns3::RandomWalk2dMobilityModel::GetTypeId() [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   556
    cls.add_method('GetTypeId', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   557
                   'ns3::TypeId', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   558
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   559
                   is_static=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   560
    ## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::RandomWalk2dMobilityModel() [constructor]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   561
    cls.add_constructor([])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   562
    ## random-walk-2d-mobility-model.h: void ns3::RandomWalk2dMobilityModel::DoDispose() [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   563
    cls.add_method('DoDispose', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   564
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   565
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   566
                   visibility='private', is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   567
    ## random-walk-2d-mobility-model.h: ns3::Vector ns3::RandomWalk2dMobilityModel::DoGetPosition() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   568
    cls.add_method('DoGetPosition', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   569
                   'ns3::Vector', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   570
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   571
                   is_const=True, visibility='private', is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   572
    ## random-walk-2d-mobility-model.h: void ns3::RandomWalk2dMobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   573
    cls.add_method('DoSetPosition', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   574
                   'void', 
3574
b6804efbe16b New pybindgen and API rescan. Extensive API description files changes because pybindgen now handles consts differently.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3567
diff changeset
   575
                   [param('ns3::Vector const &', 'position')], 
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   576
                   visibility='private', is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   577
    ## random-walk-2d-mobility-model.h: ns3::Vector ns3::RandomWalk2dMobilityModel::DoGetVelocity() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   578
    cls.add_method('DoGetVelocity', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   579
                   'ns3::Vector', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   580
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   581
                   is_const=True, visibility='private', is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   582
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   583
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   584
def register_Ns3RandomWaypointMobilityModel_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   585
    ## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel::RandomWaypointMobilityModel(ns3::RandomWaypointMobilityModel const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   586
    cls.add_constructor([param('ns3::RandomWaypointMobilityModel const &', 'arg0')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   587
    ## random-waypoint-mobility-model.h: static ns3::TypeId ns3::RandomWaypointMobilityModel::GetTypeId() [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   588
    cls.add_method('GetTypeId', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   589
                   'ns3::TypeId', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   590
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   591
                   is_static=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   592
    ## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel::RandomWaypointMobilityModel() [constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   593
    cls.add_constructor([])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   594
    ## random-waypoint-mobility-model.h: ns3::Vector ns3::RandomWaypointMobilityModel::DoGetPosition() const [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   595
    cls.add_method('DoGetPosition', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   596
                   'ns3::Vector', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   597
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   598
                   is_const=True, visibility='private', is_virtual=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   599
    ## random-waypoint-mobility-model.h: void ns3::RandomWaypointMobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   600
    cls.add_method('DoSetPosition', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   601
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   602
                   [param('ns3::Vector const &', 'position')], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   603
                   visibility='private', is_virtual=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   604
    ## random-waypoint-mobility-model.h: ns3::Vector ns3::RandomWaypointMobilityModel::DoGetVelocity() const [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   605
    cls.add_method('DoGetVelocity', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   606
                   'ns3::Vector', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   607
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   608
                   is_const=True, visibility='private', is_virtual=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   609
    return
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   610
4261
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   611
def register_Ns3ConstantAccelerationMobilityModel_methods(root_module, cls):
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   612
    ## constant-acceleration-mobility-model.h: ns3::ConstantAccelerationMobilityModel::ConstantAccelerationMobilityModel(ns3::ConstantAccelerationMobilityModel const & arg0) [copy constructor]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   613
    cls.add_constructor([param('ns3::ConstantAccelerationMobilityModel const &', 'arg0')])
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   614
    ## constant-acceleration-mobility-model.h: static ns3::TypeId ns3::ConstantAccelerationMobilityModel::GetTypeId() [member function]
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   615
    cls.add_method('GetTypeId', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   616
                   'ns3::TypeId', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   617
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   618
                   is_static=True)
4261
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   619
    ## constant-acceleration-mobility-model.h: ns3::ConstantAccelerationMobilityModel::ConstantAccelerationMobilityModel() [constructor]
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   620
    cls.add_constructor([])
4261
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   621
    ## constant-acceleration-mobility-model.h: void ns3::ConstantAccelerationMobilityModel::SetVelocityAndAcceleration(ns3::Vector const & velocity, ns3::Vector const & acceleration) [member function]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   622
    cls.add_method('SetVelocityAndAcceleration', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   623
                   'void', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   624
                   [param('ns3::Vector const &', 'velocity'), param('ns3::Vector const &', 'acceleration')])
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   625
    ## constant-acceleration-mobility-model.h: ns3::Vector ns3::ConstantAccelerationMobilityModel::DoGetPosition() const [member function]
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   626
    cls.add_method('DoGetPosition', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   627
                   'ns3::Vector', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   628
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   629
                   is_const=True, visibility='private', is_virtual=True)
4261
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   630
    ## constant-acceleration-mobility-model.h: void ns3::ConstantAccelerationMobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   631
    cls.add_method('DoSetPosition', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   632
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   633
                   [param('ns3::Vector const &', 'position')], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   634
                   visibility='private', is_virtual=True)
4261
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   635
    ## constant-acceleration-mobility-model.h: ns3::Vector ns3::ConstantAccelerationMobilityModel::DoGetVelocity() const [member function]
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   636
    cls.add_method('DoGetVelocity', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   637
                   'ns3::Vector', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   638
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   639
                   is_const=True, visibility='private', is_virtual=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   640
    return
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   641
4261
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   642
def register_Ns3ConstantPositionMobilityModel_methods(root_module, cls):
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   643
    ## constant-position-mobility-model.h: ns3::ConstantPositionMobilityModel::ConstantPositionMobilityModel(ns3::ConstantPositionMobilityModel const & arg0) [copy constructor]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   644
    cls.add_constructor([param('ns3::ConstantPositionMobilityModel const &', 'arg0')])
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   645
    ## constant-position-mobility-model.h: static ns3::TypeId ns3::ConstantPositionMobilityModel::GetTypeId() [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   646
    cls.add_method('GetTypeId', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   647
                   'ns3::TypeId', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   648
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   649
                   is_static=True)
4261
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   650
    ## constant-position-mobility-model.h: ns3::ConstantPositionMobilityModel::ConstantPositionMobilityModel() [constructor]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   651
    cls.add_constructor([])
4261
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   652
    ## constant-position-mobility-model.h: ns3::Vector ns3::ConstantPositionMobilityModel::DoGetPosition() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   653
    cls.add_method('DoGetPosition', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   654
                   'ns3::Vector', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   655
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   656
                   is_const=True, visibility='private', is_virtual=True)
4261
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   657
    ## constant-position-mobility-model.h: void ns3::ConstantPositionMobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   658
    cls.add_method('DoSetPosition', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   659
                   'void', 
3574
b6804efbe16b New pybindgen and API rescan. Extensive API description files changes because pybindgen now handles consts differently.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3567
diff changeset
   660
                   [param('ns3::Vector const &', 'position')], 
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   661
                   visibility='private', is_virtual=True)
4261
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   662
    ## constant-position-mobility-model.h: ns3::Vector ns3::ConstantPositionMobilityModel::DoGetVelocity() const [member function]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   663
    cls.add_method('DoGetVelocity', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   664
                   'ns3::Vector', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   665
                   [], 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   666
                   is_const=True, visibility='private', is_virtual=True)
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   667
    return
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   668
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   669
def register_Ns3ConstantVelocityMobilityModel_methods(root_module, cls):
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   670
    ## constant-velocity-mobility-model.h: ns3::ConstantVelocityMobilityModel::ConstantVelocityMobilityModel(ns3::ConstantVelocityMobilityModel const & arg0) [copy constructor]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   671
    cls.add_constructor([param('ns3::ConstantVelocityMobilityModel const &', 'arg0')])
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   672
    ## constant-velocity-mobility-model.h: static ns3::TypeId ns3::ConstantVelocityMobilityModel::GetTypeId() [member function]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   673
    cls.add_method('GetTypeId', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   674
                   'ns3::TypeId', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   675
                   [], 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   676
                   is_static=True)
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   677
    ## constant-velocity-mobility-model.h: ns3::ConstantVelocityMobilityModel::ConstantVelocityMobilityModel() [constructor]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   678
    cls.add_constructor([])
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   679
    ## constant-velocity-mobility-model.h: void ns3::ConstantVelocityMobilityModel::SetVelocity(ns3::Vector const & speed) [member function]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   680
    cls.add_method('SetVelocity', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   681
                   'void', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   682
                   [param('ns3::Vector const &', 'speed')])
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   683
    ## constant-velocity-mobility-model.h: ns3::Vector ns3::ConstantVelocityMobilityModel::DoGetPosition() const [member function]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   684
    cls.add_method('DoGetPosition', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   685
                   'ns3::Vector', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   686
                   [], 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   687
                   is_const=True, visibility='private', is_virtual=True)
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   688
    ## constant-velocity-mobility-model.h: void ns3::ConstantVelocityMobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   689
    cls.add_method('DoSetPosition', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   690
                   'void', 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   691
                   [param('ns3::Vector const &', 'position')], 
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   692
                   visibility='private', is_virtual=True)
82be63aaf35a rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4241
diff changeset
   693
    ## constant-velocity-mobility-model.h: ns3::Vector ns3::ConstantVelocityMobilityModel::DoGetVelocity() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   694
    cls.add_method('DoGetVelocity', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   695
                   'ns3::Vector', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   696
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   697
                   is_const=True, visibility='private', is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   698
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   699
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   700
def register_Ns3HierarchicalMobilityModel_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   701
    ## hierarchical-mobility-model.h: ns3::HierarchicalMobilityModel::HierarchicalMobilityModel(ns3::HierarchicalMobilityModel const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   702
    cls.add_constructor([param('ns3::HierarchicalMobilityModel const &', 'arg0')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   703
    ## hierarchical-mobility-model.h: static ns3::TypeId ns3::HierarchicalMobilityModel::GetTypeId() [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   704
    cls.add_method('GetTypeId', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   705
                   'ns3::TypeId', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   706
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   707
                   is_static=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   708
    ## hierarchical-mobility-model.h: ns3::HierarchicalMobilityModel::HierarchicalMobilityModel() [constructor]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   709
    cls.add_constructor([])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   710
    ## hierarchical-mobility-model.h: ns3::Ptr<ns3::MobilityModel> ns3::HierarchicalMobilityModel::GetChild() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   711
    cls.add_method('GetChild', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   712
                   'ns3::Ptr< ns3::MobilityModel >', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   713
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   714
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   715
    ## hierarchical-mobility-model.h: ns3::Ptr<ns3::MobilityModel> ns3::HierarchicalMobilityModel::GetParent() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   716
    cls.add_method('GetParent', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   717
                   'ns3::Ptr< ns3::MobilityModel >', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   718
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   719
                   is_const=True)
4382
e63da65e8fb9 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 4261
diff changeset
   720
    ## hierarchical-mobility-model.h: void ns3::HierarchicalMobilityModel::SetChild(ns3::Ptr<ns3::MobilityModel> model) [member function]
e63da65e8fb9 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 4261
diff changeset
   721
    cls.add_method('SetChild', 
e63da65e8fb9 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 4261
diff changeset
   722
                   'void', 
e63da65e8fb9 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 4261
diff changeset
   723
                   [param('ns3::Ptr< ns3::MobilityModel >', 'model')])
e63da65e8fb9 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 4261
diff changeset
   724
    ## hierarchical-mobility-model.h: void ns3::HierarchicalMobilityModel::SetParent(ns3::Ptr<ns3::MobilityModel> model) [member function]
e63da65e8fb9 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 4261
diff changeset
   725
    cls.add_method('SetParent', 
e63da65e8fb9 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 4261
diff changeset
   726
                   'void', 
e63da65e8fb9 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 4261
diff changeset
   727
                   [param('ns3::Ptr< ns3::MobilityModel >', 'model')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   728
    ## hierarchical-mobility-model.h: ns3::Vector ns3::HierarchicalMobilityModel::DoGetPosition() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   729
    cls.add_method('DoGetPosition', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   730
                   'ns3::Vector', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   731
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   732
                   is_const=True, visibility='private', is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   733
    ## hierarchical-mobility-model.h: void ns3::HierarchicalMobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   734
    cls.add_method('DoSetPosition', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   735
                   'void', 
3574
b6804efbe16b New pybindgen and API rescan. Extensive API description files changes because pybindgen now handles consts differently.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3567
diff changeset
   736
                   [param('ns3::Vector const &', 'position')], 
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   737
                   visibility='private', is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   738
    ## hierarchical-mobility-model.h: ns3::Vector ns3::HierarchicalMobilityModel::DoGetVelocity() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   739
    cls.add_method('DoGetVelocity', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   740
                   'ns3::Vector', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   741
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   742
                   is_const=True, visibility='private', is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   743
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   744
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   745
def register_functions(root_module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   746
    module = root_module
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   747
    ## vector.h: extern double ns3::CalculateDistance(ns3::Vector const & a, ns3::Vector const & b) [free function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   748
    module.add_function('CalculateDistance', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   749
                        'double', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3584
diff changeset
   750
                        [param('ns3::Vector const &', 'a'), param('ns3::Vector const &', 'b')])
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3784
diff changeset
   751
    ## rectangle.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeRectangleChecker() [free function]
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3784
diff changeset
   752
    module.add_function('MakeRectangleChecker', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3784
diff changeset
   753
                        'ns3::Ptr< ns3::AttributeChecker const >', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3784
diff changeset
   754
                        [])
3584
4eb48239b4dc bug 274: bridge must detect compatibility of devices with bridging mode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3574
diff changeset
   755
    ## vector.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeVectorChecker() [free function]
4eb48239b4dc bug 274: bridge must detect compatibility of devices with bridging mode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3574
diff changeset
   756
    module.add_function('MakeVectorChecker', 
4eb48239b4dc bug 274: bridge must detect compatibility of devices with bridging mode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3574
diff changeset
   757
                        'ns3::Ptr< ns3::AttributeChecker const >', 
4eb48239b4dc bug 274: bridge must detect compatibility of devices with bridging mode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3574
diff changeset
   758
                        [])
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3784
diff changeset
   759
    register_functions_ns3_Config(module.get_submodule('Config'), root_module)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   760
    register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   761
    register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3784
diff changeset
   762
    register_functions_ns3_internal(module.get_submodule('internal'), root_module)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   763
    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   764
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   765
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3784
diff changeset
   766
def register_functions_ns3_Config(module, root_module):
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3784
diff changeset
   767
    return
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3784
diff changeset
   768
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3784
diff changeset
   769
def register_functions_ns3_TimeStepPrecision(module, root_module):
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3784
diff changeset
   770
    return
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3784
diff changeset
   771
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   772
def register_functions_ns3_addressUtils(module, root_module):
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   773
    return
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   774
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   775
def register_functions_ns3_internal(module, root_module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   776
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   777
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   778
def register_functions_ns3_olsr(module, root_module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   779
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   780