bindings/python/ns3_module_stats.py
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Sat, 04 Jul 2009 08:15:48 +0200
changeset 4654 2eaebe77d66b
parent 4474 19e2b7ff3482
permissions -rw-r--r--
Added tag ns-3.5 for changeset c975274c9707
tomh@4474
     1
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
gjc@3574
     2
gjc@3574
     3
def register_types(module):
gjc@3574
     4
    root_module = module.get_root()
gjc@3574
     5
    
gjc@3574
     6
    ## data-output-interface.h: ns3::DataOutputCallback [class]
gjc@3574
     7
    module.add_class('DataOutputCallback', allow_subclassing=True)
gjc@3574
     8
    ## data-calculator.h: ns3::DataCalculator [class]
gjc@3574
     9
    module.add_class('DataCalculator', parent=root_module['ns3::Object'])
gjc@3731
    10
    ## data-collector.h: ns3::DataCollector [class]
gjc@3731
    11
    module.add_class('DataCollector', parent=root_module['ns3::Object'])
gjc@3731
    12
    ## data-output-interface.h: ns3::DataOutputInterface [class]
gjc@3731
    13
    module.add_class('DataOutputInterface', parent=root_module['ns3::Object'])
gjc@3731
    14
    ## basic-data-calculators.h: ns3::MinMaxAvgTotalCalculator<unsigned int> [class]
gjc@3731
    15
    module.add_class('MinMaxAvgTotalCalculator', template_parameters=['unsigned int'], parent=root_module['ns3::DataCalculator'])
gjc@3731
    16
    ## omnet-data-output.h: ns3::OmnetDataOutput [class]
gjc@3731
    17
    module.add_class('OmnetDataOutput', parent=root_module['ns3::DataOutputInterface'])
gjc@3731
    18
    ## packet-data-calculators.h: ns3::PacketSizeMinMaxAvgTotalCalculator [class]
gjc@3731
    19
    module.add_class('PacketSizeMinMaxAvgTotalCalculator', parent=root_module['ns3::MinMaxAvgTotalCalculator< unsigned int >'])
mathieu@4009
    20
    ## sqlite-data-output.h: ns3::SqliteDataOutput [class]
mathieu@4009
    21
    module.add_class('SqliteDataOutput', parent=root_module['ns3::DataOutputInterface'])
gjc@3731
    22
    ## time-data-calculators.h: ns3::TimeMinMaxAvgTotalCalculator [class]
gjc@3731
    23
    module.add_class('TimeMinMaxAvgTotalCalculator', parent=root_module['ns3::DataCalculator'])
gjc@3574
    24
    ## basic-data-calculators.h: ns3::CounterCalculator<unsigned int> [class]
gjc@3574
    25
    module.add_class('CounterCalculator', template_parameters=['unsigned int'], parent=root_module['ns3::DataCalculator'])
gjc@3574
    26
    ## packet-data-calculators.h: ns3::PacketCounterCalculator [class]
gjc@3574
    27
    module.add_class('PacketCounterCalculator', parent=root_module['ns3::CounterCalculator< unsigned int >'])
tomh@4474
    28
    typehandlers.add_type_alias('std::list< ns3::Ptr< ns3::DataCalculator >, std::allocator< ns3::Ptr< ns3::DataCalculator > > >', 'ns3::DataCalculatorList')
tomh@4474
    29
    typehandlers.add_type_alias('std::list< std::pair< std::string, std::string >, std::allocator< std::pair< std::string, std::string > > >', 'ns3::MetadataList')
gjc@3574
    30
    
gjc@3855
    31
    ## Register a nested module for the namespace Config
gjc@3574
    32
    
gjc@3855
    33
    nested_module = module.add_cpp_namespace('Config')
gjc@3855
    34
    register_types_ns3_Config(nested_module)
gjc@3574
    35
    
gjc@3574
    36
    
gjc@3574
    37
    ## Register a nested module for the namespace TimeStepPrecision
gjc@3574
    38
    
gjc@3574
    39
    nested_module = module.add_cpp_namespace('TimeStepPrecision')
gjc@3574
    40
    register_types_ns3_TimeStepPrecision(nested_module)
gjc@3574
    41
    
gjc@3574
    42
    
tomh@4474
    43
    ## Register a nested module for the namespace addressUtils
tomh@4474
    44
    
tomh@4474
    45
    nested_module = module.add_cpp_namespace('addressUtils')
tomh@4474
    46
    register_types_ns3_addressUtils(nested_module)
tomh@4474
    47
    
tomh@4474
    48
    
gjc@3855
    49
    ## Register a nested module for the namespace internal
gjc@3574
    50
    
gjc@3855
    51
    nested_module = module.add_cpp_namespace('internal')
gjc@3855
    52
    register_types_ns3_internal(nested_module)
gjc@3574
    53
    
gjc@3574
    54
    
gjc@3574
    55
    ## Register a nested module for the namespace olsr
gjc@3574
    56
    
gjc@3574
    57
    nested_module = module.add_cpp_namespace('olsr')
gjc@3574
    58
    register_types_ns3_olsr(nested_module)
gjc@3574
    59
    
gjc@3574
    60
gjc@3855
    61
def register_types_ns3_Config(module):
gjc@3574
    62
    root_module = module.get_root()
gjc@3574
    63
    
gjc@3574
    64
gjc@3574
    65
def register_types_ns3_TimeStepPrecision(module):
gjc@3574
    66
    root_module = module.get_root()
gjc@3574
    67
    
gjc@3574
    68
tomh@4474
    69
def register_types_ns3_addressUtils(module):
tomh@4474
    70
    root_module = module.get_root()
tomh@4474
    71
    
tomh@4474
    72
gjc@3855
    73
def register_types_ns3_internal(module):
gjc@3574
    74
    root_module = module.get_root()
gjc@3574
    75
    
gjc@3574
    76
gjc@3574
    77
def register_types_ns3_olsr(module):
gjc@3574
    78
    root_module = module.get_root()
gjc@3574
    79
    
gjc@3574
    80
gjc@3574
    81
def register_methods(root_module):
gjc@3574
    82
    register_Ns3DataOutputCallback_methods(root_module, root_module['ns3::DataOutputCallback'])
gjc@3574
    83
    register_Ns3DataCalculator_methods(root_module, root_module['ns3::DataCalculator'])
gjc@3731
    84
    register_Ns3DataCollector_methods(root_module, root_module['ns3::DataCollector'])
gjc@3731
    85
    register_Ns3DataOutputInterface_methods(root_module, root_module['ns3::DataOutputInterface'])
gjc@3731
    86
    register_Ns3MinMaxAvgTotalCalculator__Unsigned_int_methods(root_module, root_module['ns3::MinMaxAvgTotalCalculator< unsigned int >'])
gjc@3731
    87
    register_Ns3OmnetDataOutput_methods(root_module, root_module['ns3::OmnetDataOutput'])
gjc@3731
    88
    register_Ns3PacketSizeMinMaxAvgTotalCalculator_methods(root_module, root_module['ns3::PacketSizeMinMaxAvgTotalCalculator'])
mathieu@4009
    89
    register_Ns3SqliteDataOutput_methods(root_module, root_module['ns3::SqliteDataOutput'])
gjc@3731
    90
    register_Ns3TimeMinMaxAvgTotalCalculator_methods(root_module, root_module['ns3::TimeMinMaxAvgTotalCalculator'])
gjc@3574
    91
    register_Ns3CounterCalculator__Unsigned_int_methods(root_module, root_module['ns3::CounterCalculator< unsigned int >'])
gjc@3574
    92
    register_Ns3PacketCounterCalculator_methods(root_module, root_module['ns3::PacketCounterCalculator'])
gjc@3574
    93
    return
gjc@3574
    94
gjc@3574
    95
def register_Ns3DataOutputCallback_methods(root_module, cls):
mathieu@4241
    96
    ## data-output-interface.h: ns3::DataOutputCallback::DataOutputCallback(ns3::DataOutputCallback const & arg0) [copy constructor]
mathieu@4241
    97
    cls.add_constructor([param('ns3::DataOutputCallback const &', 'arg0')])
mathieu@4241
    98
    ## data-output-interface.h: ns3::DataOutputCallback::DataOutputCallback() [constructor]
mathieu@4241
    99
    cls.add_constructor([])
gjc@3574
   100
    ## data-output-interface.h: void ns3::DataOutputCallback::OutputSingleton(std::string key, std::string variable, int val) [member function]
gjc@3574
   101
    cls.add_method('OutputSingleton', 
gjc@3574
   102
                   'void', 
gjc@3574
   103
                   [param('std::string', 'key'), param('std::string', 'variable'), param('int', 'val')], 
gjc@3574
   104
                   is_pure_virtual=True, is_virtual=True)
gjc@3574
   105
    ## data-output-interface.h: void ns3::DataOutputCallback::OutputSingleton(std::string key, std::string variable, uint32_t val) [member function]
gjc@3574
   106
    cls.add_method('OutputSingleton', 
gjc@3574
   107
                   'void', 
gjc@3574
   108
                   [param('std::string', 'key'), param('std::string', 'variable'), param('uint32_t', 'val')], 
gjc@3574
   109
                   is_pure_virtual=True, is_virtual=True)
gjc@3574
   110
    ## data-output-interface.h: void ns3::DataOutputCallback::OutputSingleton(std::string key, std::string variable, double val) [member function]
gjc@3574
   111
    cls.add_method('OutputSingleton', 
gjc@3574
   112
                   'void', 
gjc@3574
   113
                   [param('std::string', 'key'), param('std::string', 'variable'), param('double', 'val')], 
gjc@3574
   114
                   is_pure_virtual=True, is_virtual=True)
gjc@3574
   115
    ## data-output-interface.h: void ns3::DataOutputCallback::OutputSingleton(std::string key, std::string variable, std::string val) [member function]
gjc@3574
   116
    cls.add_method('OutputSingleton', 
gjc@3574
   117
                   'void', 
gjc@3574
   118
                   [param('std::string', 'key'), param('std::string', 'variable'), param('std::string', 'val')], 
gjc@3574
   119
                   is_pure_virtual=True, is_virtual=True)
gjc@3574
   120
    ## data-output-interface.h: void ns3::DataOutputCallback::OutputSingleton(std::string key, std::string variable, ns3::Time val) [member function]
gjc@3574
   121
    cls.add_method('OutputSingleton', 
gjc@3574
   122
                   'void', 
gjc@3574
   123
                   [param('std::string', 'key'), param('std::string', 'variable'), param('ns3::Time', 'val')], 
gjc@3574
   124
                   is_pure_virtual=True, is_virtual=True)
gjc@3574
   125
    return
gjc@3574
   126
gjc@3574
   127
def register_Ns3DataCalculator_methods(root_module, cls):
mathieu@4241
   128
    ## data-calculator.h: ns3::DataCalculator::DataCalculator(ns3::DataCalculator const & arg0) [copy constructor]
mathieu@4241
   129
    cls.add_constructor([param('ns3::DataCalculator const &', 'arg0')])
gjc@3574
   130
    ## data-calculator.h: ns3::DataCalculator::DataCalculator() [constructor]
gjc@3574
   131
    cls.add_constructor([])
gjc@3574
   132
    ## data-calculator.h: bool ns3::DataCalculator::GetEnabled() const [member function]
gjc@3574
   133
    cls.add_method('GetEnabled', 
gjc@3574
   134
                   'bool', 
gjc@3574
   135
                   [], 
gjc@3574
   136
                   is_const=True)
gjc@3574
   137
    ## data-calculator.h: void ns3::DataCalculator::Enable() [member function]
gjc@3574
   138
    cls.add_method('Enable', 
gjc@3574
   139
                   'void', 
gjc@3574
   140
                   [])
gjc@3574
   141
    ## data-calculator.h: void ns3::DataCalculator::Disable() [member function]
gjc@3574
   142
    cls.add_method('Disable', 
gjc@3574
   143
                   'void', 
gjc@3574
   144
                   [])
gjc@3574
   145
    ## data-calculator.h: void ns3::DataCalculator::SetKey(std::string const key) [member function]
gjc@3574
   146
    cls.add_method('SetKey', 
gjc@3574
   147
                   'void', 
gjc@3574
   148
                   [param('std::string const', 'key')])
mathieu@3584
   149
    ## data-calculator.h: std::string ns3::DataCalculator::GetKey() const [member function]
gjc@3574
   150
    cls.add_method('GetKey', 
mathieu@3584
   151
                   'std::string', 
gjc@3574
   152
                   [], 
gjc@3574
   153
                   is_const=True)
gjc@3574
   154
    ## data-calculator.h: void ns3::DataCalculator::Start(ns3::Time const & startTime) [member function]
gjc@3574
   155
    cls.add_method('Start', 
gjc@3574
   156
                   'void', 
gjc@3574
   157
                   [param('ns3::Time const &', 'startTime')], 
gjc@3574
   158
                   is_virtual=True)
gjc@3574
   159
    ## data-calculator.h: void ns3::DataCalculator::Stop(ns3::Time const & stopTime) [member function]
gjc@3574
   160
    cls.add_method('Stop', 
gjc@3574
   161
                   'void', 
gjc@3574
   162
                   [param('ns3::Time const &', 'stopTime')], 
gjc@3574
   163
                   is_virtual=True)
gjc@3574
   164
    ## data-calculator.h: void ns3::DataCalculator::Output(ns3::DataOutputCallback & callback) const [member function]
gjc@3574
   165
    cls.add_method('Output', 
gjc@3574
   166
                   'void', 
gjc@3574
   167
                   [param('ns3::DataOutputCallback &', 'callback')], 
gjc@3574
   168
                   is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3574
   169
    ## data-calculator.h: void ns3::DataCalculator::DoDispose() [member function]
gjc@3574
   170
    cls.add_method('DoDispose', 
gjc@3574
   171
                   'void', 
gjc@3574
   172
                   [], 
gjc@3574
   173
                   visibility='protected', is_virtual=True)
gjc@3574
   174
    return
gjc@3574
   175
gjc@3574
   176
def register_Ns3DataCollector_methods(root_module, cls):
mathieu@4241
   177
    ## data-collector.h: ns3::DataCollector::DataCollector(ns3::DataCollector const & arg0) [copy constructor]
mathieu@4241
   178
    cls.add_constructor([param('ns3::DataCollector const &', 'arg0')])
gjc@3574
   179
    ## data-collector.h: ns3::DataCollector::DataCollector() [constructor]
gjc@3574
   180
    cls.add_constructor([])
gjc@3574
   181
    ## data-collector.h: void ns3::DataCollector::DescribeRun(std::string experiment, std::string strategy, std::string input, std::string runID, std::string description="") [member function]
gjc@3574
   182
    cls.add_method('DescribeRun', 
gjc@3574
   183
                   'void', 
gjc@3574
   184
                   [param('std::string', 'experiment'), param('std::string', 'strategy'), param('std::string', 'input'), param('std::string', 'runID'), param('std::string', 'description', default_value='""')])
gjc@3574
   185
    ## data-collector.h: std::string ns3::DataCollector::GetExperimentLabel() const [member function]
gjc@3574
   186
    cls.add_method('GetExperimentLabel', 
gjc@3574
   187
                   'std::string', 
gjc@3574
   188
                   [], 
gjc@3574
   189
                   is_const=True)
gjc@3574
   190
    ## data-collector.h: std::string ns3::DataCollector::GetStrategyLabel() const [member function]
gjc@3574
   191
    cls.add_method('GetStrategyLabel', 
gjc@3574
   192
                   'std::string', 
gjc@3574
   193
                   [], 
gjc@3574
   194
                   is_const=True)
gjc@3574
   195
    ## data-collector.h: std::string ns3::DataCollector::GetInputLabel() const [member function]
gjc@3574
   196
    cls.add_method('GetInputLabel', 
gjc@3574
   197
                   'std::string', 
gjc@3574
   198
                   [], 
gjc@3574
   199
                   is_const=True)
gjc@3574
   200
    ## data-collector.h: std::string ns3::DataCollector::GetRunLabel() const [member function]
gjc@3574
   201
    cls.add_method('GetRunLabel', 
gjc@3574
   202
                   'std::string', 
gjc@3574
   203
                   [], 
gjc@3574
   204
                   is_const=True)
gjc@3574
   205
    ## data-collector.h: std::string ns3::DataCollector::GetDescription() const [member function]
gjc@3574
   206
    cls.add_method('GetDescription', 
gjc@3574
   207
                   'std::string', 
gjc@3574
   208
                   [], 
gjc@3574
   209
                   is_const=True)
gjc@3574
   210
    ## data-collector.h: void ns3::DataCollector::AddMetadata(std::string key, std::string value) [member function]
gjc@3574
   211
    cls.add_method('AddMetadata', 
gjc@3574
   212
                   'void', 
gjc@3574
   213
                   [param('std::string', 'key'), param('std::string', 'value')])
gjc@3574
   214
    ## data-collector.h: void ns3::DataCollector::AddMetadata(std::string key, double value) [member function]
gjc@3574
   215
    cls.add_method('AddMetadata', 
gjc@3574
   216
                   'void', 
gjc@3574
   217
                   [param('std::string', 'key'), param('double', 'value')])
gjc@3574
   218
    ## data-collector.h: void ns3::DataCollector::AddMetadata(std::string key, uint32_t value) [member function]
gjc@3574
   219
    cls.add_method('AddMetadata', 
gjc@3574
   220
                   'void', 
gjc@3574
   221
                   [param('std::string', 'key'), param('uint32_t', 'value')])
gjc@3574
   222
    ## data-collector.h: std::_List_iterator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > ns3::DataCollector::MetadataBegin() [member function]
gjc@3574
   223
    cls.add_method('MetadataBegin', 
gjc@3574
   224
                   'std::_List_iterator< std::pair< std::basic_string< char, std::char_traits< char >, std::allocator< char > >, std::basic_string< char, std::char_traits< char >, std::allocator< char > > > >', 
gjc@3574
   225
                   [])
gjc@3574
   226
    ## data-collector.h: std::_List_iterator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > ns3::DataCollector::MetadataEnd() [member function]
gjc@3574
   227
    cls.add_method('MetadataEnd', 
gjc@3574
   228
                   'std::_List_iterator< std::pair< std::basic_string< char, std::char_traits< char >, std::allocator< char > >, std::basic_string< char, std::char_traits< char >, std::allocator< char > > > >', 
gjc@3574
   229
                   [])
gjc@3574
   230
    ## data-collector.h: void ns3::DataCollector::AddDataCalculator(ns3::Ptr<ns3::DataCalculator> datac) [member function]
gjc@3574
   231
    cls.add_method('AddDataCalculator', 
gjc@3574
   232
                   'void', 
gjc@3574
   233
                   [param('ns3::Ptr< ns3::DataCalculator >', 'datac')])
gjc@3574
   234
    ## data-collector.h: std::_List_iterator<ns3::Ptr<ns3::DataCalculator> > ns3::DataCollector::DataCalculatorBegin() [member function]
gjc@3574
   235
    cls.add_method('DataCalculatorBegin', 
gjc@3574
   236
                   'std::_List_iterator< ns3::Ptr< ns3::DataCalculator > >', 
gjc@3574
   237
                   [])
gjc@3574
   238
    ## data-collector.h: std::_List_iterator<ns3::Ptr<ns3::DataCalculator> > ns3::DataCollector::DataCalculatorEnd() [member function]
gjc@3574
   239
    cls.add_method('DataCalculatorEnd', 
gjc@3574
   240
                   'std::_List_iterator< ns3::Ptr< ns3::DataCalculator > >', 
gjc@3574
   241
                   [])
gjc@3574
   242
    ## data-collector.h: void ns3::DataCollector::DoDispose() [member function]
gjc@3574
   243
    cls.add_method('DoDispose', 
gjc@3574
   244
                   'void', 
gjc@3574
   245
                   [], 
gjc@3574
   246
                   visibility='protected', is_virtual=True)
gjc@3574
   247
    return
gjc@3574
   248
gjc@3574
   249
def register_Ns3DataOutputInterface_methods(root_module, cls):
mathieu@4241
   250
    ## data-output-interface.h: ns3::DataOutputInterface::DataOutputInterface(ns3::DataOutputInterface const & arg0) [copy constructor]
mathieu@4241
   251
    cls.add_constructor([param('ns3::DataOutputInterface const &', 'arg0')])
gjc@3574
   252
    ## data-output-interface.h: ns3::DataOutputInterface::DataOutputInterface() [constructor]
gjc@3574
   253
    cls.add_constructor([])
gjc@3574
   254
    ## data-output-interface.h: void ns3::DataOutputInterface::Output(ns3::DataCollector & dc) [member function]
gjc@3574
   255
    cls.add_method('Output', 
gjc@3574
   256
                   'void', 
gjc@3574
   257
                   [param('ns3::DataCollector &', 'dc')], 
gjc@3574
   258
                   is_pure_virtual=True, is_virtual=True)
tomh@4589
   259
    ## data-output-interface.h: void ns3::DataOutputInterface::SetFilePrefix(std::string const prefix) [member function]
tomh@4589
   260
    cls.add_method('SetFilePrefix', 
tomh@4589
   261
                   'void', 
tomh@4589
   262
                   [param('std::string const', 'prefix')])
tomh@4589
   263
    ## data-output-interface.h: std::string ns3::DataOutputInterface::GetFilePrefix() const [member function]
tomh@4589
   264
    cls.add_method('GetFilePrefix', 
tomh@4589
   265
                   'std::string', 
tomh@4589
   266
                   [], 
tomh@4589
   267
                   is_const=True)
gjc@3574
   268
    ## data-output-interface.h: void ns3::DataOutputInterface::DoDispose() [member function]
gjc@3574
   269
    cls.add_method('DoDispose', 
gjc@3574
   270
                   'void', 
gjc@3574
   271
                   [], 
gjc@3574
   272
                   visibility='protected', is_virtual=True)
gjc@3574
   273
    return
gjc@3574
   274
gjc@3731
   275
def register_Ns3MinMaxAvgTotalCalculator__Unsigned_int_methods(root_module, cls):
mathieu@4241
   276
    ## basic-data-calculators.h: ns3::MinMaxAvgTotalCalculator<unsigned int>::MinMaxAvgTotalCalculator(ns3::MinMaxAvgTotalCalculator<unsigned int> const & arg0) [copy constructor]
mathieu@4241
   277
    cls.add_constructor([param('ns3::MinMaxAvgTotalCalculator< unsigned int > const &', 'arg0')])
gjc@3731
   278
    ## basic-data-calculators.h: ns3::MinMaxAvgTotalCalculator<unsigned int>::MinMaxAvgTotalCalculator() [constructor]
gjc@3574
   279
    cls.add_constructor([])
gjc@3731
   280
    ## basic-data-calculators.h: void ns3::MinMaxAvgTotalCalculator<unsigned int>::Update(unsigned int const i) [member function]
gjc@3731
   281
    cls.add_method('Update', 
gjc@3574
   282
                   'void', 
gjc@3731
   283
                   [param('unsigned int const', 'i')])
gjc@3731
   284
    ## basic-data-calculators.h: void ns3::MinMaxAvgTotalCalculator<unsigned int>::Output(ns3::DataOutputCallback & callback) const [member function]
gjc@3731
   285
    cls.add_method('Output', 
gjc@3574
   286
                   'void', 
gjc@3731
   287
                   [param('ns3::DataOutputCallback &', 'callback')], 
gjc@3731
   288
                   is_const=True, is_virtual=True)
gjc@3731
   289
    ## basic-data-calculators.h: void ns3::MinMaxAvgTotalCalculator<unsigned int>::DoDispose() [member function]
gjc@3574
   290
    cls.add_method('DoDispose', 
gjc@3574
   291
                   'void', 
gjc@3574
   292
                   [], 
gjc@3574
   293
                   visibility='protected', is_virtual=True)
gjc@3574
   294
    return
gjc@3574
   295
gjc@3574
   296
def register_Ns3OmnetDataOutput_methods(root_module, cls):
mathieu@4241
   297
    ## omnet-data-output.h: ns3::OmnetDataOutput::OmnetDataOutput(ns3::OmnetDataOutput const & arg0) [copy constructor]
mathieu@4241
   298
    cls.add_constructor([param('ns3::OmnetDataOutput const &', 'arg0')])
gjc@3574
   299
    ## omnet-data-output.h: ns3::OmnetDataOutput::OmnetDataOutput() [constructor]
gjc@3574
   300
    cls.add_constructor([])
gjc@3574
   301
    ## omnet-data-output.h: void ns3::OmnetDataOutput::Output(ns3::DataCollector & dc) [member function]
gjc@3574
   302
    cls.add_method('Output', 
gjc@3574
   303
                   'void', 
gjc@3574
   304
                   [param('ns3::DataCollector &', 'dc')], 
gjc@3574
   305
                   is_virtual=True)
gjc@3574
   306
    ## omnet-data-output.h: void ns3::OmnetDataOutput::DoDispose() [member function]
gjc@3574
   307
    cls.add_method('DoDispose', 
gjc@3574
   308
                   'void', 
gjc@3574
   309
                   [], 
gjc@3574
   310
                   visibility='protected', is_virtual=True)
gjc@3574
   311
    return
gjc@3574
   312
gjc@3731
   313
def register_Ns3PacketSizeMinMaxAvgTotalCalculator_methods(root_module, cls):
mathieu@4241
   314
    ## packet-data-calculators.h: ns3::PacketSizeMinMaxAvgTotalCalculator::PacketSizeMinMaxAvgTotalCalculator(ns3::PacketSizeMinMaxAvgTotalCalculator const & arg0) [copy constructor]
mathieu@4241
   315
    cls.add_constructor([param('ns3::PacketSizeMinMaxAvgTotalCalculator const &', 'arg0')])
gjc@3731
   316
    ## packet-data-calculators.h: ns3::PacketSizeMinMaxAvgTotalCalculator::PacketSizeMinMaxAvgTotalCalculator() [constructor]
gjc@3731
   317
    cls.add_constructor([])
mathieu@4407
   318
    ## packet-data-calculators.h: void ns3::PacketSizeMinMaxAvgTotalCalculator::PacketUpdate(std::string path, ns3::Ptr<ns3::Packet const> packet) [member function]
gjc@3731
   319
    cls.add_method('PacketUpdate', 
gjc@3731
   320
                   'void', 
gjc@3731
   321
                   [param('std::string', 'path'), param('ns3::Ptr< ns3::Packet const >', 'packet')])
mathieu@4407
   322
    ## packet-data-calculators.h: void ns3::PacketSizeMinMaxAvgTotalCalculator::FrameUpdate(std::string path, ns3::Ptr<ns3::Packet const> packet, ns3::Mac48Address realto) [member function]
gjc@3731
   323
    cls.add_method('FrameUpdate', 
gjc@3731
   324
                   'void', 
gjc@3731
   325
                   [param('std::string', 'path'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'realto')])
gjc@3731
   326
    ## packet-data-calculators.h: void ns3::PacketSizeMinMaxAvgTotalCalculator::DoDispose() [member function]
gjc@3731
   327
    cls.add_method('DoDispose', 
gjc@3731
   328
                   'void', 
gjc@3731
   329
                   [], 
gjc@3731
   330
                   visibility='protected', is_virtual=True)
gjc@3731
   331
    return
gjc@3731
   332
mathieu@4009
   333
def register_Ns3SqliteDataOutput_methods(root_module, cls):
mathieu@4241
   334
    ## sqlite-data-output.h: ns3::SqliteDataOutput::SqliteDataOutput(ns3::SqliteDataOutput const & arg0) [copy constructor]
mathieu@4241
   335
    cls.add_constructor([param('ns3::SqliteDataOutput const &', 'arg0')])
mathieu@4009
   336
    ## sqlite-data-output.h: ns3::SqliteDataOutput::SqliteDataOutput() [constructor]
mathieu@4009
   337
    cls.add_constructor([])
mathieu@4009
   338
    ## sqlite-data-output.h: void ns3::SqliteDataOutput::Output(ns3::DataCollector & dc) [member function]
mathieu@4009
   339
    cls.add_method('Output', 
mathieu@4009
   340
                   'void', 
mathieu@4009
   341
                   [param('ns3::DataCollector &', 'dc')], 
mathieu@4009
   342
                   is_virtual=True)
mathieu@4009
   343
    ## sqlite-data-output.h: void ns3::SqliteDataOutput::DoDispose() [member function]
mathieu@4009
   344
    cls.add_method('DoDispose', 
mathieu@4009
   345
                   'void', 
mathieu@4009
   346
                   [], 
mathieu@4009
   347
                   visibility='protected', is_virtual=True)
mathieu@4009
   348
    return
mathieu@4009
   349
gjc@3731
   350
def register_Ns3TimeMinMaxAvgTotalCalculator_methods(root_module, cls):
mathieu@4241
   351
    ## time-data-calculators.h: ns3::TimeMinMaxAvgTotalCalculator::TimeMinMaxAvgTotalCalculator(ns3::TimeMinMaxAvgTotalCalculator const & arg0) [copy constructor]
mathieu@4241
   352
    cls.add_constructor([param('ns3::TimeMinMaxAvgTotalCalculator const &', 'arg0')])
gjc@3731
   353
    ## time-data-calculators.h: ns3::TimeMinMaxAvgTotalCalculator::TimeMinMaxAvgTotalCalculator() [constructor]
gjc@3731
   354
    cls.add_constructor([])
gjc@3731
   355
    ## time-data-calculators.h: void ns3::TimeMinMaxAvgTotalCalculator::Update(ns3::Time const i) [member function]
gjc@3731
   356
    cls.add_method('Update', 
gjc@3731
   357
                   'void', 
gjc@3731
   358
                   [param('ns3::Time const', 'i')])
gjc@3731
   359
    ## time-data-calculators.h: void ns3::TimeMinMaxAvgTotalCalculator::Output(ns3::DataOutputCallback & callback) const [member function]
gjc@3731
   360
    cls.add_method('Output', 
gjc@3731
   361
                   'void', 
gjc@3731
   362
                   [param('ns3::DataOutputCallback &', 'callback')], 
gjc@3731
   363
                   is_const=True, is_virtual=True)
gjc@3731
   364
    ## time-data-calculators.h: void ns3::TimeMinMaxAvgTotalCalculator::DoDispose() [member function]
gjc@3731
   365
    cls.add_method('DoDispose', 
gjc@3731
   366
                   'void', 
gjc@3731
   367
                   [], 
gjc@3731
   368
                   visibility='protected', is_virtual=True)
gjc@3731
   369
    return
gjc@3731
   370
gjc@3731
   371
def register_Ns3CounterCalculator__Unsigned_int_methods(root_module, cls):
mathieu@4241
   372
    ## basic-data-calculators.h: ns3::CounterCalculator<unsigned int>::CounterCalculator(ns3::CounterCalculator<unsigned int> const & arg0) [copy constructor]
mathieu@4241
   373
    cls.add_constructor([param('ns3::CounterCalculator< unsigned int > const &', 'arg0')])
gjc@3731
   374
    ## basic-data-calculators.h: ns3::CounterCalculator<unsigned int>::CounterCalculator() [constructor]
gjc@3731
   375
    cls.add_constructor([])
gjc@3731
   376
    ## basic-data-calculators.h: void ns3::CounterCalculator<unsigned int>::Update() [member function]
gjc@3731
   377
    cls.add_method('Update', 
gjc@3731
   378
                   'void', 
gjc@3731
   379
                   [])
gjc@3731
   380
    ## basic-data-calculators.h: void ns3::CounterCalculator<unsigned int>::Update(unsigned int const i) [member function]
gjc@3731
   381
    cls.add_method('Update', 
gjc@3731
   382
                   'void', 
gjc@3731
   383
                   [param('unsigned int const', 'i')])
gjc@3731
   384
    ## basic-data-calculators.h: unsigned int ns3::CounterCalculator<unsigned int>::GetCount() const [member function]
gjc@3731
   385
    cls.add_method('GetCount', 
gjc@3731
   386
                   'unsigned int', 
gjc@3731
   387
                   [], 
gjc@3731
   388
                   is_const=True)
gjc@3731
   389
    ## basic-data-calculators.h: void ns3::CounterCalculator<unsigned int>::Output(ns3::DataOutputCallback & callback) const [member function]
gjc@3731
   390
    cls.add_method('Output', 
gjc@3731
   391
                   'void', 
gjc@3731
   392
                   [param('ns3::DataOutputCallback &', 'callback')], 
gjc@3731
   393
                   is_const=True, is_virtual=True)
gjc@3731
   394
    ## basic-data-calculators.h: void ns3::CounterCalculator<unsigned int>::DoDispose() [member function]
gjc@3731
   395
    cls.add_method('DoDispose', 
gjc@3731
   396
                   'void', 
gjc@3731
   397
                   [], 
gjc@3731
   398
                   visibility='protected', is_virtual=True)
gjc@3731
   399
    return
gjc@3731
   400
gjc@3731
   401
def register_Ns3PacketCounterCalculator_methods(root_module, cls):
mathieu@4241
   402
    ## packet-data-calculators.h: ns3::PacketCounterCalculator::PacketCounterCalculator(ns3::PacketCounterCalculator const & arg0) [copy constructor]
mathieu@4241
   403
    cls.add_constructor([param('ns3::PacketCounterCalculator const &', 'arg0')])
gjc@3731
   404
    ## packet-data-calculators.h: ns3::PacketCounterCalculator::PacketCounterCalculator() [constructor]
gjc@3731
   405
    cls.add_constructor([])
mathieu@4407
   406
    ## packet-data-calculators.h: void ns3::PacketCounterCalculator::PacketUpdate(std::string path, ns3::Ptr<ns3::Packet const> packet) [member function]
gjc@3731
   407
    cls.add_method('PacketUpdate', 
gjc@3731
   408
                   'void', 
gjc@3731
   409
                   [param('std::string', 'path'), param('ns3::Ptr< ns3::Packet const >', 'packet')])
mathieu@4407
   410
    ## packet-data-calculators.h: void ns3::PacketCounterCalculator::FrameUpdate(std::string path, ns3::Ptr<ns3::Packet const> packet, ns3::Mac48Address realto) [member function]
gjc@3731
   411
    cls.add_method('FrameUpdate', 
gjc@3731
   412
                   'void', 
gjc@3731
   413
                   [param('std::string', 'path'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'realto')])
gjc@3731
   414
    ## packet-data-calculators.h: void ns3::PacketCounterCalculator::DoDispose() [member function]
gjc@3731
   415
    cls.add_method('DoDispose', 
gjc@3731
   416
                   'void', 
gjc@3731
   417
                   [], 
gjc@3731
   418
                   visibility='protected', is_virtual=True)
gjc@3731
   419
    return
gjc@3731
   420
gjc@3574
   421
def register_functions(root_module):
gjc@3574
   422
    module = root_module
gjc@3855
   423
    register_functions_ns3_Config(module.get_submodule('Config'), root_module)
gjc@3855
   424
    register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
tomh@4474
   425
    register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
gjc@3574
   426
    register_functions_ns3_internal(module.get_submodule('internal'), root_module)
gjc@3574
   427
    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
gjc@3574
   428
    return
gjc@3574
   429
gjc@3855
   430
def register_functions_ns3_Config(module, root_module):
gjc@3855
   431
    return
gjc@3855
   432
gjc@3855
   433
def register_functions_ns3_TimeStepPrecision(module, root_module):
gjc@3855
   434
    return
gjc@3855
   435
tomh@4474
   436
def register_functions_ns3_addressUtils(module, root_module):
tomh@4474
   437
    return
tomh@4474
   438
gjc@3574
   439
def register_functions_ns3_internal(module, root_module):
gjc@3574
   440
    return
gjc@3574
   441
gjc@3574
   442
def register_functions_ns3_olsr(module, root_module):
gjc@3574
   443
    return
gjc@3574
   444