bindings/python/ns3_module_mobility.py
author Craig Dowell <craigdo@ee.washington.edu>
Mon, 16 Mar 2009 09:44:01 -0700
changeset 4265 5f837915710a
parent 4241 c35796bc0b4b
child 4382 e63da65e8fb9
permissions -rw-r--r--
remove unneeded packet copies, includes. Rescan
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
     1
from pybindgen import Module, FileCodeSink, param, retval, cppclass
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
    
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
     6
    ## constant-velocity-helper.h: ns3::ConstantVelocityHelper [class]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
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'])
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
    44
    ## constant-acceleration-mobility-model.h: ns3::ConstantAccelerationMobilityModel [class]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
    45
    module.add_class('ConstantAccelerationMobilityModel', parent=root_module['ns3::MobilityModel'])
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
    46
    ## constant-position-mobility-model.h: ns3::ConstantPositionMobilityModel [class]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
    47
    module.add_class('ConstantPositionMobilityModel', parent=root_module['ns3::MobilityModel'])
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
    48
    ## constant-velocity-mobility-model.h: ns3::ConstantVelocityMobilityModel [class]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
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
    
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
    65
    ## Register a nested module for the namespace internal
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    66
    
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
    67
    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
    68
    register_types_ns3_internal(nested_module)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    69
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    70
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    71
    ## Register a nested module for the namespace olsr
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    72
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    73
    nested_module = module.add_cpp_namespace('olsr')
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    74
    register_types_ns3_olsr(nested_module)
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
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
    77
def register_types_ns3_Config(module):
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    78
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    79
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    80
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    81
def register_types_ns3_TimeStepPrecision(module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    82
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    83
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    84
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
    85
def register_types_ns3_internal(module):
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    86
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    87
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    88
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    89
def register_types_ns3_olsr(module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    90
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    91
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    92
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    93
def register_methods(root_module):
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
    94
    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
    95
    register_Ns3Rectangle_methods(root_module, root_module['ns3::Rectangle'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    96
    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
    97
    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
    98
    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
    99
    register_Ns3RandomRectanglePositionAllocator_methods(root_module, root_module['ns3::RandomRectanglePositionAllocator'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   100
    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
   101
    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
   102
    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
   103
    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
   104
    register_Ns3GridPositionAllocator_methods(root_module, root_module['ns3::GridPositionAllocator'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   105
    register_Ns3ListPositionAllocator_methods(root_module, root_module['ns3::ListPositionAllocator'])
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   106
    register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel'])
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   107
    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
   108
    register_Ns3RandomWalk2dMobilityModel_methods(root_module, root_module['ns3::RandomWalk2dMobilityModel'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   109
    register_Ns3RandomWaypointMobilityModel_methods(root_module, root_module['ns3::RandomWaypointMobilityModel'])
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   110
    register_Ns3ConstantAccelerationMobilityModel_methods(root_module, root_module['ns3::ConstantAccelerationMobilityModel'])
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   111
    register_Ns3ConstantPositionMobilityModel_methods(root_module, root_module['ns3::ConstantPositionMobilityModel'])
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   112
    register_Ns3ConstantVelocityMobilityModel_methods(root_module, root_module['ns3::ConstantVelocityMobilityModel'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   113
    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
   114
    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
   115
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   116
def register_Ns3ConstantVelocityHelper_methods(root_module, cls):
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   117
    ## constant-velocity-helper.h: ns3::ConstantVelocityHelper::ConstantVelocityHelper(ns3::ConstantVelocityHelper const & arg0) [copy constructor]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   118
    cls.add_constructor([param('ns3::ConstantVelocityHelper const &', 'arg0')])
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   119
    ## constant-velocity-helper.h: ns3::ConstantVelocityHelper::ConstantVelocityHelper() [constructor]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   120
    cls.add_constructor([])
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   121
    ## constant-velocity-helper.h: ns3::ConstantVelocityHelper::ConstantVelocityHelper(ns3::Vector const & position) [constructor]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   122
    cls.add_constructor([param('ns3::Vector const &', 'position')])
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   123
    ## constant-velocity-helper.h: ns3::ConstantVelocityHelper::ConstantVelocityHelper(ns3::Vector const & position, ns3::Vector const & vel) [constructor]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   124
    cls.add_constructor([param('ns3::Vector const &', 'position'), param('ns3::Vector const &', 'vel')])
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   125
    ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::SetPosition(ns3::Vector const & position) [member function]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   126
    cls.add_method('SetPosition', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   127
                   'void', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   128
                   [param('ns3::Vector const &', 'position')])
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   129
    ## constant-velocity-helper.h: ns3::Vector ns3::ConstantVelocityHelper::GetCurrentPosition() const [member function]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   130
    cls.add_method('GetCurrentPosition', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   131
                   'ns3::Vector', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   132
                   [], 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   133
                   is_const=True)
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   134
    ## constant-velocity-helper.h: ns3::Vector ns3::ConstantVelocityHelper::GetVelocity() const [member function]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   135
    cls.add_method('GetVelocity', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   136
                   'ns3::Vector', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   137
                   [], 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   138
                   is_const=True)
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   139
    ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::SetVelocity(ns3::Vector const & vel) [member function]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   140
    cls.add_method('SetVelocity', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   141
                   'void', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   142
                   [param('ns3::Vector const &', 'vel')])
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   143
    ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::Pause() [member function]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   144
    cls.add_method('Pause', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   145
                   'void', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   146
                   [])
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   147
    ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::Unpause() [member function]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   148
    cls.add_method('Unpause', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   149
                   'void', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   150
                   [])
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   151
    ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::UpdateWithBounds(ns3::Rectangle const & rectangle) const [member function]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   152
    cls.add_method('UpdateWithBounds', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   153
                   'void', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   154
                   [param('ns3::Rectangle const &', 'rectangle')], 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   155
                   is_const=True)
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   156
    ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::Update() const [member function]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   157
    cls.add_method('Update', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   158
                   'void', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   159
                   [], 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   160
                   is_const=True)
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   161
    return
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   162
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
   163
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
   164
    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
   165
    ## 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
   166
    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
   167
    ## 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
   168
    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
   169
    ## 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
   170
    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
   171
    ## 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
   172
    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
   173
                   '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
   174
                   [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
   175
                   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
   176
    ## 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
   177
    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
   178
                   '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
   179
                   [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
   180
                   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
   181
    ## 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
   182
    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
   183
                   '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
   184
                   [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
   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::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
   187
    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
   188
    ## 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
   189
    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
   190
    ## 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
   191
    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
   192
    ## 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
   193
    cls.add_instance_attribute('yMin', 'double', is_const=False)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   194
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   195
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   196
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
   197
    cls.add_output_stream_operator()
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   198
    ## 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
   199
    cls.add_constructor([param('ns3::Vector const &', 'arg0')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   200
    ## 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
   201
    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
   202
    ## 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
   203
    cls.add_constructor([])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   204
    ## vector.h: ns3::Vector::x [variable]
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   205
    cls.add_instance_attribute('x', 'double', is_const=False)
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   206
    ## vector.h: ns3::Vector::y [variable]
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   207
    cls.add_instance_attribute('y', 'double', is_const=False)
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   208
    ## vector.h: ns3::Vector::z [variable]
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   209
    cls.add_instance_attribute('z', 'double', is_const=False)
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   210
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   211
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   212
def register_Ns3PositionAllocator_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   213
    ## 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
   214
    cls.add_constructor([param('ns3::PositionAllocator const &', 'arg0')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   215
    ## 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
   216
    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
   217
                   '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
   218
                   [], 
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
   219
                   is_static=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   220
    ## 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
   221
    cls.add_constructor([])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   222
    ## 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
   223
    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
   224
                   '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
   225
                   [], 
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
                   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
   227
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   228
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
   229
def register_Ns3RandomDiscPositionAllocator_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   230
    ## 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
   231
    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
   232
    ## 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
   233
    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
   234
                   '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
   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_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
   237
    ## 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
   238
    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
   239
    ## 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
   240
    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
   241
                   '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
   242
                   [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
   243
    ## 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
   244
    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
   245
                   '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
   246
                   [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
   247
    ## 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
   248
    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
   249
                   '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
   250
                   [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
   251
    ## 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
   252
    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
   253
                   '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
   254
                   [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
   255
    ## 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
   256
    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
   257
                   '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
   258
                   [], 
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
   259
                   is_const=True, is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   260
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   261
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
   262
def register_Ns3RandomRectanglePositionAllocator_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   263
    ## 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
   264
    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
   265
    ## 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
   266
    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
   267
                   '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
   268
                   [], 
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
   269
                   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
   270
    ## 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
   271
    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
   272
    ## 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
   273
    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
   274
                   '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
   275
                   [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
   276
    ## 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
   277
    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
   278
                   '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
   279
                   [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
   280
    ## 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
   281
    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
   282
                   '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
   283
                   [], 
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
                   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
   285
    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
   286
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
def register_Ns3RectangleChecker_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   288
    ## 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
   289
    cls.add_constructor([param('ns3::RectangleChecker const &', 'arg0')])
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   290
    ## 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
   291
    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
   292
    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
   293
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   294
def register_Ns3RectangleValue_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   295
    ## 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
   296
    cls.add_constructor([param('ns3::RectangleValue const &', 'arg0')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   297
    ## 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
   298
    cls.add_constructor([])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   299
    ## 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
   300
    cls.add_constructor([param('ns3::Rectangle const &', 'value')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   301
    ## 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
   302
    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
   303
                   '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
   304
                   [param('ns3::Rectangle const &', 'value')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   305
    ## 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
   306
    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
   307
                   '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
   308
                   [], 
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
   309
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   310
    ## 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
   311
    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
   312
                   '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
   313
                   [], 
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
   314
                   is_const=True, is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   315
    ## 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
   316
    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
   317
                   '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
   318
                   [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
   319
                   is_const=True, is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   320
    ## 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
   321
    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
   322
                   '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
   323
                   [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
   324
                   is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   325
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   326
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
   327
def register_Ns3VectorChecker_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   328
    ## 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
   329
    cls.add_constructor([param('ns3::VectorChecker const &', 'arg0')])
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   330
    ## 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
   331
    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
   332
    return
4eb48239b4dc bug 274: bridge must detect compatibility of devices with bridging mode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3574
diff changeset
   333
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   334
def register_Ns3VectorValue_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   335
    ## 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
   336
    cls.add_constructor([param('ns3::VectorValue const &', 'arg0')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   337
    ## 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
   338
    cls.add_constructor([])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   339
    ## 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
   340
    cls.add_constructor([param('ns3::Vector const &', 'value')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   341
    ## 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
   342
    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
   343
                   '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
   344
                   [param('ns3::Vector const &', 'value')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   345
    ## 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
   346
    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
   347
                   '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
   348
                   [], 
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
   349
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   350
    ## 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
   351
    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
   352
                   '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
   353
                   [], 
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
   354
                   is_const=True, is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   355
    ## 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
   356
    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
   357
                   '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
   358
                   [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
   359
                   is_const=True, is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   360
    ## 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
   361
    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
   362
                   '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
   363
                   [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
   364
                   is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   365
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   366
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   367
def register_Ns3GridPositionAllocator_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   368
    ## 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
   369
    cls.add_constructor([param('ns3::GridPositionAllocator const &', 'arg0')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   370
    ## 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
   371
    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
   372
                   '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
   373
                   [], 
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_static=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   375
    ## 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
   376
    cls.add_constructor([])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   377
    ## 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
   378
    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
   379
                   '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
   380
                   [param('double', 'xMin')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   381
    ## 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
   382
    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
   383
                   '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
   384
                   [param('double', 'yMin')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   385
    ## 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
   386
    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
   387
                   '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
   388
                   [param('double', 'deltaX')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   389
    ## 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
   390
    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
   391
                   '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
   392
                   [param('double', 'deltaY')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   393
    ## 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
   394
    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
   395
                   '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
   396
                   [param('uint32_t', 'n')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   397
    ## 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
   398
    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
   399
                   '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
   400
                   [param('ns3::GridPositionAllocator::LayoutType', 'layoutType')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   401
    ## 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
   402
    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
   403
                   '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
   404
                   [], 
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
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   406
    ## 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
   407
    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
   408
                   '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
   409
                   [], 
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
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   411
    ## 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
   412
    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
   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::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
   417
    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
   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: 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
   422
    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
   423
                   '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
   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: 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
   427
    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
   428
                   '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
   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: 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
   432
    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
   433
                   '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
   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, is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   436
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   437
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
   438
def register_Ns3ListPositionAllocator_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   439
    ## 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
   440
    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
   441
    ## 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
   442
    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
   443
                   '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
   444
                   [], 
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
   445
                   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
   446
    ## 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
   447
    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
   448
    ## 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
   449
    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
   450
                   '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
   451
                   [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
   452
    ## 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
   453
    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
   454
                   '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
   455
                   [], 
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
                   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
   457
    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
   458
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
def register_Ns3MobilityModel_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   460
    ## 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
   461
    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
   462
    ## 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
   463
    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
   464
                   '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
   465
                   [], 
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
   466
                   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
   467
    ## 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
   468
    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
   469
    ## 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
   470
    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
   471
                   '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
   472
                   [], 
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
   473
                   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
   474
    ## 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
   475
    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
   476
                   '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
   477
                   [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
   478
    ## 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
   479
    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
   480
                   '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
   481
                   [], 
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
                   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
   483
    ## 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
   484
    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
   485
                   '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
   486
                   [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
   487
                   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
   488
    ## 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
   489
    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
   490
                   '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
   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, 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
   493
    ## 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
   494
    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
   495
                   '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
   496
                   [], 
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_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
   498
    ## 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
   499
    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
   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
                   [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
   502
                   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
   503
    ## 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
   504
    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
   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
    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
   509
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
def register_Ns3RandomDirection2dMobilityModel_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   511
    ## 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
   512
    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
   513
    ## 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
   514
    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
   515
                   '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
   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_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
   518
    ## 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
   519
    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
   520
    ## 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
   521
    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
   522
                   '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
   523
                   [], 
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
                   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
   525
    ## 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
   526
    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
   527
                   '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
   528
                   [], 
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
   529
                   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
   530
    ## 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
   531
    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
   532
                   '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
   533
                   [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
   534
                   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
   535
    ## 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
   536
    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
   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)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   540
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   541
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   542
def register_Ns3RandomWalk2dMobilityModel_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   543
    ## 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
   544
    cls.add_constructor([param('ns3::RandomWalk2dMobilityModel const &', 'arg0')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   545
    ## 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
   546
    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
   547
                   '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
   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_static=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   550
    ## 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
   551
    cls.add_constructor([])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   552
    ## 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
   553
    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
   554
                   '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
   555
                   [], 
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
                   visibility='private', is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   557
    ## 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
   558
    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
   559
                   '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
   560
                   [], 
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
                   is_const=True, visibility='private', is_virtual=True)
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::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
   563
    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
   564
                   '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
   565
                   [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
   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::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
   568
    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
   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
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   573
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
   574
def register_Ns3RandomWaypointMobilityModel_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   575
    ## 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
   576
    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
   577
    ## 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
   578
    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
   579
                   '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
   580
                   [], 
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
   581
                   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
   582
    ## 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
   583
    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
   584
    ## 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
   585
    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
   586
                   '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
   587
                   [], 
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
                   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
   589
    ## 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
   590
    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
   591
                   '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
   592
                   [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
   593
                   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
   594
    ## 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
   595
    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
   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
    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
   600
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   601
def register_Ns3ConstantAccelerationMobilityModel_methods(root_module, cls):
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   602
    ## constant-acceleration-mobility-model.h: ns3::ConstantAccelerationMobilityModel::ConstantAccelerationMobilityModel(ns3::ConstantAccelerationMobilityModel const & arg0) [copy constructor]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   603
    cls.add_constructor([param('ns3::ConstantAccelerationMobilityModel const &', 'arg0')])
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   604
    ## 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
   605
    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
   606
                   '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
   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_static=True)
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   609
    ## 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
   610
    cls.add_constructor([])
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   611
    ## constant-acceleration-mobility-model.h: void ns3::ConstantAccelerationMobilityModel::SetVelocityAndAcceleration(ns3::Vector const & velocity, ns3::Vector const & acceleration) [member function]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   612
    cls.add_method('SetVelocityAndAcceleration', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   613
                   'void', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   614
                   [param('ns3::Vector const &', 'velocity'), param('ns3::Vector const &', 'acceleration')])
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   615
    ## 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
   616
    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
   617
                   '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
   618
                   [], 
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
   619
                   is_const=True, visibility='private', is_virtual=True)
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   620
    ## 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
   621
    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
   622
                   '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
   623
                   [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
   624
                   visibility='private', is_virtual=True)
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   625
    ## 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
   626
    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
   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)
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
   630
    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
   631
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   632
def register_Ns3ConstantPositionMobilityModel_methods(root_module, cls):
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   633
    ## constant-position-mobility-model.h: ns3::ConstantPositionMobilityModel::ConstantPositionMobilityModel(ns3::ConstantPositionMobilityModel const & arg0) [copy constructor]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   634
    cls.add_constructor([param('ns3::ConstantPositionMobilityModel const &', 'arg0')])
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   635
    ## 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
   636
    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
   637
                   '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
   638
                   [], 
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
   639
                   is_static=True)
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   640
    ## 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
   641
    cls.add_constructor([])
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   642
    ## 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
   643
    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
   644
                   '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
   645
                   [], 
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
                   is_const=True, visibility='private', is_virtual=True)
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   647
    ## 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
   648
    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
   649
                   '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
   650
                   [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
   651
                   visibility='private', is_virtual=True)
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   652
    ## constant-position-mobility-model.h: ns3::Vector ns3::ConstantPositionMobilityModel::DoGetVelocity() const [member function]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   653
    cls.add_method('DoGetVelocity', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   654
                   'ns3::Vector', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   655
                   [], 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   656
                   is_const=True, visibility='private', is_virtual=True)
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   657
    return
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   658
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   659
def register_Ns3ConstantVelocityMobilityModel_methods(root_module, cls):
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   660
    ## constant-velocity-mobility-model.h: ns3::ConstantVelocityMobilityModel::ConstantVelocityMobilityModel(ns3::ConstantVelocityMobilityModel const & arg0) [copy constructor]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   661
    cls.add_constructor([param('ns3::ConstantVelocityMobilityModel const &', 'arg0')])
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   662
    ## constant-velocity-mobility-model.h: static ns3::TypeId ns3::ConstantVelocityMobilityModel::GetTypeId() [member function]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   663
    cls.add_method('GetTypeId', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   664
                   'ns3::TypeId', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   665
                   [], 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   666
                   is_static=True)
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   667
    ## constant-velocity-mobility-model.h: ns3::ConstantVelocityMobilityModel::ConstantVelocityMobilityModel() [constructor]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   668
    cls.add_constructor([])
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   669
    ## constant-velocity-mobility-model.h: void ns3::ConstantVelocityMobilityModel::SetVelocity(ns3::Vector const & speed) [member function]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   670
    cls.add_method('SetVelocity', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   671
                   'void', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   672
                   [param('ns3::Vector const &', 'speed')])
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   673
    ## constant-velocity-mobility-model.h: ns3::Vector ns3::ConstantVelocityMobilityModel::DoGetPosition() const [member function]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   674
    cls.add_method('DoGetPosition', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   675
                   'ns3::Vector', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   676
                   [], 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   677
                   is_const=True, visibility='private', is_virtual=True)
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   678
    ## constant-velocity-mobility-model.h: void ns3::ConstantVelocityMobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   679
    cls.add_method('DoSetPosition', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   680
                   'void', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   681
                   [param('ns3::Vector const &', 'position')], 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   682
                   visibility='private', is_virtual=True)
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   683
    ## 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
   684
    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
   685
                   '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
   686
                   [], 
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
   687
                   is_const=True, visibility='private', is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   688
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   689
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   690
def register_Ns3HierarchicalMobilityModel_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   691
    ## 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
   692
    cls.add_constructor([param('ns3::HierarchicalMobilityModel const &', 'arg0')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   693
    ## 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
   694
    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
   695
                   '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
   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_static=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   698
    ## 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
   699
    cls.add_constructor([])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   700
    ## 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
   701
    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
   702
                   '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
   703
                   [], 
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
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   705
    ## 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
   706
    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
   707
                   '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
   708
                   [], 
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
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   710
    ## 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
   711
    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
   712
                   '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
   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, visibility='private', is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   715
    ## 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
   716
    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
   717
                   '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
   718
                   [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
   719
                   visibility='private', is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   720
    ## 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
   721
    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
   722
                   '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
   723
                   [], 
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
   724
                   is_const=True, visibility='private', is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   725
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   726
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   727
def register_functions(root_module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   728
    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
   729
    ## 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
   730
    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
   731
                        '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
   732
                        [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
   733
    ## 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
   734
    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
   735
                        '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
   736
                        [])
3584
4eb48239b4dc bug 274: bridge must detect compatibility of devices with bridging mode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3574
diff changeset
   737
    ## 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
   738
    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
   739
                        '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
   740
                        [])
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
   741
    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
   742
    register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), 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
   743
    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
   744
    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   745
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   746
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
   747
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
   748
    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
   749
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
   750
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
   751
    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
   752
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   753
def register_functions_ns3_internal(module, root_module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   754
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   755
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   756
def register_functions_ns3_olsr(module, root_module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   757
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   758