author | Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
Fri, 09 Jan 2009 13:18:29 +0100 | |
changeset 4073 | b7c683c2479e |
parent 3972 | a84f2ab246e6 |
child 4218 | debf1a8a96d3 |
permissions | -rw-r--r-- |
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:
3460
diff
changeset
|
1 |
from pybindgen import Module, FileCodeSink, param, retval, cppclass |
3408 | 2 |
|
3 |
def register_types(module): |
|
4 |
root_module = module.get_root() |
|
5 |
||
3861
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
6 |
## ppp-header.h: ns3::PppHeader [class] |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
7 |
module.add_class('PppHeader', parent=root_module['ns3::Header']) |
3408 | 8 |
## point-to-point-channel.h: ns3::PointToPointChannel [class] |
3457 | 9 |
module.add_class('PointToPointChannel', parent=root_module['ns3::Channel']) |
3408 | 10 |
## point-to-point-net-device.h: ns3::PointToPointNetDevice [class] |
3457 | 11 |
module.add_class('PointToPointNetDevice', parent=root_module['ns3::NetDevice']) |
3408 | 12 |
|
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:
3842
diff
changeset
|
13 |
## Register a nested module for the namespace Config |
3408 | 14 |
|
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:
3842
diff
changeset
|
15 |
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:
3842
diff
changeset
|
16 |
register_types_ns3_Config(nested_module) |
3408 | 17 |
|
18 |
||
19 |
## Register a nested module for the namespace TimeStepPrecision |
|
20 |
||
21 |
nested_module = module.add_cpp_namespace('TimeStepPrecision') |
|
22 |
register_types_ns3_TimeStepPrecision(nested_module) |
|
23 |
||
24 |
||
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:
3842
diff
changeset
|
25 |
## Register a nested module for the namespace internal |
3408 | 26 |
|
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:
3842
diff
changeset
|
27 |
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:
3842
diff
changeset
|
28 |
register_types_ns3_internal(nested_module) |
3408 | 29 |
|
30 |
||
31 |
## Register a nested module for the namespace olsr |
|
32 |
||
33 |
nested_module = module.add_cpp_namespace('olsr') |
|
34 |
register_types_ns3_olsr(nested_module) |
|
35 |
||
36 |
||
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:
3842
diff
changeset
|
37 |
def register_types_ns3_Config(module): |
3408 | 38 |
root_module = module.get_root() |
39 |
||
40 |
||
41 |
def register_types_ns3_TimeStepPrecision(module): |
|
42 |
root_module = module.get_root() |
|
43 |
||
44 |
||
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:
3842
diff
changeset
|
45 |
def register_types_ns3_internal(module): |
3408 | 46 |
root_module = module.get_root() |
47 |
||
48 |
||
49 |
def register_types_ns3_olsr(module): |
|
50 |
root_module = module.get_root() |
|
51 |
||
52 |
||
53 |
def register_methods(root_module): |
|
3861
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
54 |
register_Ns3PppHeader_methods(root_module, root_module['ns3::PppHeader']) |
3408 | 55 |
register_Ns3PointToPointChannel_methods(root_module, root_module['ns3::PointToPointChannel']) |
56 |
register_Ns3PointToPointNetDevice_methods(root_module, root_module['ns3::PointToPointNetDevice']) |
|
57 |
return |
|
58 |
||
3861
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
59 |
def register_Ns3PppHeader_methods(root_module, cls): |
3972 | 60 |
## ppp-header.h: ns3::PppHeader::PppHeader(ns3::PppHeader const & arg0) [copy constructor] |
61 |
cls.add_constructor([param('ns3::PppHeader const &', 'arg0')]) |
|
3861
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
62 |
## ppp-header.h: ns3::PppHeader::PppHeader() [constructor] |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
63 |
cls.add_constructor([]) |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
64 |
## ppp-header.h: static ns3::TypeId ns3::PppHeader::GetTypeId() [member function] |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
65 |
cls.add_method('GetTypeId', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
66 |
'ns3::TypeId', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
67 |
[], |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
68 |
is_static=True) |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
69 |
## ppp-header.h: ns3::TypeId ns3::PppHeader::GetInstanceTypeId() const [member function] |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
70 |
cls.add_method('GetInstanceTypeId', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
71 |
'ns3::TypeId', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
72 |
[], |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
73 |
is_const=True, is_virtual=True) |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
74 |
## ppp-header.h: void ns3::PppHeader::Print(std::ostream & os) const [member function] |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
75 |
cls.add_method('Print', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
76 |
'void', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
77 |
[param('std::ostream &', 'os')], |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
78 |
is_const=True, is_virtual=True) |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
79 |
## ppp-header.h: void ns3::PppHeader::Serialize(ns3::Buffer::Iterator start) const [member function] |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
80 |
cls.add_method('Serialize', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
81 |
'void', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
82 |
[param('ns3::Buffer::Iterator', 'start')], |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
83 |
is_const=True, is_virtual=True) |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
84 |
## ppp-header.h: uint32_t ns3::PppHeader::Deserialize(ns3::Buffer::Iterator start) [member function] |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
85 |
cls.add_method('Deserialize', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
86 |
'uint32_t', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
87 |
[param('ns3::Buffer::Iterator', 'start')], |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
88 |
is_virtual=True) |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
89 |
## ppp-header.h: uint32_t ns3::PppHeader::GetSerializedSize() const [member function] |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
90 |
cls.add_method('GetSerializedSize', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
91 |
'uint32_t', |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
92 |
[], |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
93 |
is_const=True, is_virtual=True) |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
94 |
return |
dacfd1f07538
change attribute ReceiveErrorModel in CSMA and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents:
3855
diff
changeset
|
95 |
|
3408 | 96 |
def register_Ns3PointToPointChannel_methods(root_module, cls): |
3972 | 97 |
## point-to-point-channel.h: ns3::PointToPointChannel::PointToPointChannel(ns3::PointToPointChannel const & arg0) [copy constructor] |
98 |
cls.add_constructor([param('ns3::PointToPointChannel const &', 'arg0')]) |
|
3408 | 99 |
## point-to-point-channel.h: static ns3::TypeId ns3::PointToPointChannel::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:
3460
diff
changeset
|
100 |
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:
3460
diff
changeset
|
101 |
'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:
3460
diff
changeset
|
102 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
103 |
is_static=True) |
3408 | 104 |
## point-to-point-channel.h: ns3::PointToPointChannel::PointToPointChannel() [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:
3460
diff
changeset
|
105 |
cls.add_constructor([]) |
3408 | 106 |
## point-to-point-channel.h: void ns3::PointToPointChannel::Attach(ns3::Ptr<ns3::PointToPointNetDevice> device) [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:
3460
diff
changeset
|
107 |
cls.add_method('Attach', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
108 |
'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:
3460
diff
changeset
|
109 |
[param('ns3::Ptr< ns3::PointToPointNetDevice >', 'device')]) |
3408 | 110 |
## point-to-point-channel.h: bool ns3::PointToPointChannel::TransmitStart(ns3::Ptr<ns3::Packet> p, ns3::Ptr<ns3::PointToPointNetDevice> src, ns3::Time txTime) [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:
3460
diff
changeset
|
111 |
cls.add_method('TransmitStart', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
112 |
'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:
3460
diff
changeset
|
113 |
[param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ptr< ns3::PointToPointNetDevice >', 'src'), param('ns3::Time', 'txTime')]) |
3408 | 114 |
## point-to-point-channel.h: uint32_t ns3::PointToPointChannel::GetNDevices() 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:
3460
diff
changeset
|
115 |
cls.add_method('GetNDevices', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
116 |
'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:
3460
diff
changeset
|
117 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
118 |
is_const=True, is_virtual=True) |
3408 | 119 |
## point-to-point-channel.h: ns3::Ptr<ns3::PointToPointNetDevice> ns3::PointToPointChannel::GetPointToPointDevice(uint32_t i) 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:
3460
diff
changeset
|
120 |
cls.add_method('GetPointToPointDevice', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
121 |
'ns3::Ptr< ns3::PointToPointNetDevice >', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
122 |
[param('uint32_t', 'i')], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
123 |
is_const=True) |
3408 | 124 |
## point-to-point-channel.h: ns3::Ptr<ns3::NetDevice> ns3::PointToPointChannel::GetDevice(uint32_t i) 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:
3460
diff
changeset
|
125 |
cls.add_method('GetDevice', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
126 |
'ns3::Ptr< ns3::NetDevice >', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
127 |
[param('uint32_t', 'i')], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
128 |
is_const=True, is_virtual=True) |
3408 | 129 |
return |
130 |
||
131 |
def register_Ns3PointToPointNetDevice_methods(root_module, cls): |
|
3972 | 132 |
## point-to-point-net-device.h: ns3::PointToPointNetDevice::PointToPointNetDevice(ns3::PointToPointNetDevice const & arg0) [copy constructor] |
133 |
cls.add_constructor([param('ns3::PointToPointNetDevice const &', 'arg0')]) |
|
3408 | 134 |
## point-to-point-net-device.h: static ns3::TypeId ns3::PointToPointNetDevice::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:
3460
diff
changeset
|
135 |
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:
3460
diff
changeset
|
136 |
'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:
3460
diff
changeset
|
137 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
138 |
is_static=True) |
3408 | 139 |
## point-to-point-net-device.h: ns3::PointToPointNetDevice::PointToPointNetDevice() [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:
3460
diff
changeset
|
140 |
cls.add_constructor([]) |
3408 | 141 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetDataRate(ns3::DataRate bps) [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:
3460
diff
changeset
|
142 |
cls.add_method('SetDataRate', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
143 |
'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:
3460
diff
changeset
|
144 |
[param('ns3::DataRate', 'bps')]) |
3408 | 145 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetInterframeGap(ns3::Time t) [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:
3460
diff
changeset
|
146 |
cls.add_method('SetInterframeGap', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
147 |
'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:
3460
diff
changeset
|
148 |
[param('ns3::Time', 't')]) |
3408 | 149 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::Attach(ns3::Ptr<ns3::PointToPointChannel> ch) [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:
3460
diff
changeset
|
150 |
cls.add_method('Attach', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
151 |
'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:
3460
diff
changeset
|
152 |
[param('ns3::Ptr< ns3::PointToPointChannel >', 'ch')]) |
3408 | 153 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetQueue(ns3::Ptr<ns3::Queue> queue) [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:
3460
diff
changeset
|
154 |
cls.add_method('SetQueue', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
155 |
'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:
3460
diff
changeset
|
156 |
[param('ns3::Ptr< ns3::Queue >', 'queue')]) |
3408 | 157 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetReceiveErrorModel(ns3::Ptr<ns3::ErrorModel> em) [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:
3460
diff
changeset
|
158 |
cls.add_method('SetReceiveErrorModel', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
159 |
'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:
3460
diff
changeset
|
160 |
[param('ns3::Ptr< ns3::ErrorModel >', 'em')]) |
3408 | 161 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::Receive(ns3::Ptr<ns3::Packet> p) [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:
3460
diff
changeset
|
162 |
cls.add_method('Receive', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
163 |
'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:
3460
diff
changeset
|
164 |
[param('ns3::Ptr< ns3::Packet >', 'p')]) |
3408 | 165 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetAddress(ns3::Mac48Address addr) [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:
3460
diff
changeset
|
166 |
cls.add_method('SetAddress', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
167 |
'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:
3460
diff
changeset
|
168 |
[param('ns3::Mac48Address', 'addr')]) |
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
|
169 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetFrameSize(uint16_t frameSize) [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
|
170 |
cls.add_method('SetFrameSize', |
317f9dbccc2b
New pybindgen 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 |
'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
|
172 |
[param('uint16_t', 'frameSize')]) |
317f9dbccc2b
New pybindgen 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 |
## point-to-point-net-device.h: uint16_t ns3::PointToPointNetDevice::GetFrameSize() 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
|
174 |
cls.add_method('GetFrameSize', |
317f9dbccc2b
New pybindgen 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 |
'uint16_t', |
317f9dbccc2b
New pybindgen 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 |
[], |
317f9dbccc2b
New pybindgen 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 |
is_const=True) |
3408 | 178 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetName(std::string const name) [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:
3460
diff
changeset
|
179 |
cls.add_method('SetName', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
180 |
'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
|
181 |
[param('std::string const', 'name')], |
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:
3460
diff
changeset
|
182 |
is_virtual=True) |
3408 | 183 |
## point-to-point-net-device.h: std::string ns3::PointToPointNetDevice::GetName() 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:
3460
diff
changeset
|
184 |
cls.add_method('GetName', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
185 |
'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:
3460
diff
changeset
|
186 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
187 |
is_const=True, is_virtual=True) |
3408 | 188 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetIfIndex(uint32_t const index) [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:
3460
diff
changeset
|
189 |
cls.add_method('SetIfIndex', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
190 |
'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
|
191 |
[param('uint32_t const', 'index')], |
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:
3460
diff
changeset
|
192 |
is_virtual=True) |
3408 | 193 |
## point-to-point-net-device.h: uint32_t ns3::PointToPointNetDevice::GetIfIndex() 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:
3460
diff
changeset
|
194 |
cls.add_method('GetIfIndex', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
195 |
'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:
3460
diff
changeset
|
196 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
197 |
is_const=True, is_virtual=True) |
3408 | 198 |
## point-to-point-net-device.h: ns3::Ptr<ns3::Channel> ns3::PointToPointNetDevice::GetChannel() 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:
3460
diff
changeset
|
199 |
cls.add_method('GetChannel', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
200 |
'ns3::Ptr< ns3::Channel >', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
201 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
202 |
is_const=True, is_virtual=True) |
3408 | 203 |
## point-to-point-net-device.h: ns3::Address ns3::PointToPointNetDevice::GetAddress() 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:
3460
diff
changeset
|
204 |
cls.add_method('GetAddress', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
205 |
'ns3::Address', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
206 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
207 |
is_const=True, is_virtual=True) |
3408 | 208 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::SetMtu(uint16_t const mtu) [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:
3460
diff
changeset
|
209 |
cls.add_method('SetMtu', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
210 |
'bool', |
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
|
211 |
[param('uint16_t const', 'mtu')], |
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:
3460
diff
changeset
|
212 |
is_virtual=True) |
3408 | 213 |
## point-to-point-net-device.h: uint16_t ns3::PointToPointNetDevice::GetMtu() 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:
3460
diff
changeset
|
214 |
cls.add_method('GetMtu', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
215 |
'uint16_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:
3460
diff
changeset
|
216 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
217 |
is_const=True, is_virtual=True) |
3408 | 218 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsLinkUp() 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:
3460
diff
changeset
|
219 |
cls.add_method('IsLinkUp', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
220 |
'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:
3460
diff
changeset
|
221 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
222 |
is_const=True, is_virtual=True) |
4073
b7c683c2479e
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
223 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetLinkChangeCallback(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [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:
3460
diff
changeset
|
224 |
cls.add_method('SetLinkChangeCallback', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
225 |
'void', |
4073
b7c683c2479e
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
226 |
[param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], |
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:
3460
diff
changeset
|
227 |
is_virtual=True) |
3408 | 228 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsBroadcast() 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:
3460
diff
changeset
|
229 |
cls.add_method('IsBroadcast', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
230 |
'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:
3460
diff
changeset
|
231 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
232 |
is_const=True, is_virtual=True) |
3408 | 233 |
## point-to-point-net-device.h: ns3::Address ns3::PointToPointNetDevice::GetBroadcast() 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:
3460
diff
changeset
|
234 |
cls.add_method('GetBroadcast', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
235 |
'ns3::Address', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
236 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
237 |
is_const=True, is_virtual=True) |
3408 | 238 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsMulticast() 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:
3460
diff
changeset
|
239 |
cls.add_method('IsMulticast', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
240 |
'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:
3460
diff
changeset
|
241 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
242 |
is_const=True, is_virtual=True) |
3842
545ddf9398ed
apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents:
3731
diff
changeset
|
243 |
## point-to-point-net-device.h: ns3::Address ns3::PointToPointNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) 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:
3460
diff
changeset
|
244 |
cls.add_method('GetMulticast', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
245 |
'ns3::Address', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
246 |
[param('ns3::Ipv4Address', 'multicastGroup')], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
247 |
is_const=True, is_virtual=True) |
3408 | 248 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsPointToPoint() 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:
3460
diff
changeset
|
249 |
cls.add_method('IsPointToPoint', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
250 |
'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:
3460
diff
changeset
|
251 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
252 |
is_const=True, is_virtual=True) |
3951
561a37800333
The 'contrib' module actually depends on 'common' too (affects waf --python-scan)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3861
diff
changeset
|
253 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsBridge() const [member function] |
561a37800333
The 'contrib' module actually depends on 'common' too (affects waf --python-scan)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3861
diff
changeset
|
254 |
cls.add_method('IsBridge', |
561a37800333
The 'contrib' module actually depends on 'common' too (affects waf --python-scan)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3861
diff
changeset
|
255 |
'bool', |
561a37800333
The 'contrib' module actually depends on 'common' too (affects waf --python-scan)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3861
diff
changeset
|
256 |
[], |
561a37800333
The 'contrib' module actually depends on 'common' too (affects waf --python-scan)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3861
diff
changeset
|
257 |
is_const=True, is_virtual=True) |
3408 | 258 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [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:
3460
diff
changeset
|
259 |
cls.add_method('Send', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
260 |
'bool', |
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
|
261 |
[param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], |
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:
3460
diff
changeset
|
262 |
is_virtual=True) |
3457 | 263 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::SendFrom(ns3::Ptr<ns3::Packet> packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [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:
3460
diff
changeset
|
264 |
cls.add_method('SendFrom', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
265 |
'bool', |
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
|
266 |
[param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], |
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:
3460
diff
changeset
|
267 |
is_virtual=True) |
3408 | 268 |
## point-to-point-net-device.h: ns3::Ptr<ns3::Node> ns3::PointToPointNetDevice::GetNode() 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:
3460
diff
changeset
|
269 |
cls.add_method('GetNode', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
270 |
'ns3::Ptr< ns3::Node >', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
271 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
272 |
is_const=True, is_virtual=True) |
3408 | 273 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetNode(ns3::Ptr<ns3::Node> node) [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:
3460
diff
changeset
|
274 |
cls.add_method('SetNode', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
275 |
'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:
3460
diff
changeset
|
276 |
[param('ns3::Ptr< ns3::Node >', 'node')], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
277 |
is_virtual=True) |
3408 | 278 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::NeedsArp() 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:
3460
diff
changeset
|
279 |
cls.add_method('NeedsArp', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
280 |
'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:
3460
diff
changeset
|
281 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
282 |
is_const=True, is_virtual=True) |
4073
b7c683c2479e
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
283 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetReceiveCallback(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [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:
3460
diff
changeset
|
284 |
cls.add_method('SetReceiveCallback', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
285 |
'void', |
4073
b7c683c2479e
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
286 |
[param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], |
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:
3460
diff
changeset
|
287 |
is_virtual=True) |
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:
3842
diff
changeset
|
288 |
## point-to-point-net-device.h: ns3::Address ns3::PointToPointNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member 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:
3842
diff
changeset
|
289 |
cls.add_method('GetMulticast', |
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:
3842
diff
changeset
|
290 |
'ns3::Address', |
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:
3842
diff
changeset
|
291 |
[param('ns3::Ipv6Address', 'addr')], |
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:
3842
diff
changeset
|
292 |
is_const=True, is_virtual=True) |
4073
b7c683c2479e
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
293 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetPromiscReceiveCallback(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] |
3480
a920df6b9f02
Make the new NetDevice APIs pure virtual methods, by Mathieu's insistence.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3468
diff
changeset
|
294 |
cls.add_method('SetPromiscReceiveCallback', |
a920df6b9f02
Make the new NetDevice APIs pure virtual methods, by Mathieu's insistence.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3468
diff
changeset
|
295 |
'void', |
4073
b7c683c2479e
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
296 |
[param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], |
3480
a920df6b9f02
Make the new NetDevice APIs pure virtual methods, by Mathieu's insistence.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3468
diff
changeset
|
297 |
is_virtual=True) |
3584
4eb48239b4dc
bug 274: bridge must detect compatibility of devices with bridging mode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3574
diff
changeset
|
298 |
## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::SupportsSendFrom() const [member function] |
4eb48239b4dc
bug 274: bridge must detect compatibility of devices with bridging mode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3574
diff
changeset
|
299 |
cls.add_method('SupportsSendFrom', |
3480
a920df6b9f02
Make the new NetDevice APIs pure virtual methods, by Mathieu's insistence.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3468
diff
changeset
|
300 |
'bool', |
a920df6b9f02
Make the new NetDevice APIs pure virtual methods, by Mathieu's insistence.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3468
diff
changeset
|
301 |
[], |
a920df6b9f02
Make the new NetDevice APIs pure virtual methods, by Mathieu's insistence.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3468
diff
changeset
|
302 |
is_const=True, is_virtual=True) |
3408 | 303 |
## point-to-point-net-device.h: void ns3::PointToPointNetDevice::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:
3460
diff
changeset
|
304 |
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:
3460
diff
changeset
|
305 |
'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:
3460
diff
changeset
|
306 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3460
diff
changeset
|
307 |
visibility='private', is_virtual=True) |
3408 | 308 |
return |
309 |
||
310 |
def register_functions(root_module): |
|
311 |
module = 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:
3842
diff
changeset
|
312 |
register_functions_ns3_Config(module.get_submodule('Config'), root_module) |
3408 | 313 |
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:
3842
diff
changeset
|
314 |
register_functions_ns3_internal(module.get_submodule('internal'), root_module) |
3408 | 315 |
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) |
316 |
return |
|
317 |
||
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:
3842
diff
changeset
|
318 |
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:
3842
diff
changeset
|
319 |
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:
3842
diff
changeset
|
320 |
|
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:
3842
diff
changeset
|
321 |
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:
3842
diff
changeset
|
322 |
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:
3842
diff
changeset
|
323 |
|
3408 | 324 |
def register_functions_ns3_internal(module, root_module): |
325 |
return |
|
326 |
||
327 |
def register_functions_ns3_olsr(module, root_module): |
|
328 |
return |
|
329 |