bindings/python/apidefs/gcc-ILP32/ns3_module_csma.py
changeset 6534 f99ae4e06d61
parent 6491 d9d460a6367f
child 6718 87c3097fecef
equal deleted inserted replaced
6533:b7a5e953c3f1 6534:f99ae4e06d61
       
     1 from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
       
     2 
       
     3 def register_types(module):
       
     4     root_module = module.get_root()
       
     5     
       
     6     ## csma-channel.h: ns3::WireState [enumeration]
       
     7     module.add_enum('WireState', ['IDLE', 'TRANSMITTING', 'PROPAGATING'])
       
     8     ## backoff.h: ns3::Backoff [class]
       
     9     module.add_class('Backoff')
       
    10     ## csma-channel.h: ns3::CsmaDeviceRec [class]
       
    11     module.add_class('CsmaDeviceRec')
       
    12     ## csma-channel.h: ns3::CsmaChannel [class]
       
    13     module.add_class('CsmaChannel', parent=root_module['ns3::Channel'])
       
    14     ## csma-net-device.h: ns3::CsmaNetDevice [class]
       
    15     module.add_class('CsmaNetDevice', parent=root_module['ns3::NetDevice'])
       
    16     ## csma-net-device.h: ns3::CsmaNetDevice::EncapsulationMode [enumeration]
       
    17     module.add_enum('EncapsulationMode', ['ILLEGAL', 'DIX', 'LLC'], outer_class=root_module['ns3::CsmaNetDevice'])
       
    18     
       
    19     ## Register a nested module for the namespace Config
       
    20     
       
    21     nested_module = module.add_cpp_namespace('Config')
       
    22     register_types_ns3_Config(nested_module)
       
    23     
       
    24     
       
    25     ## Register a nested module for the namespace FatalImpl
       
    26     
       
    27     nested_module = module.add_cpp_namespace('FatalImpl')
       
    28     register_types_ns3_FatalImpl(nested_module)
       
    29     
       
    30     
       
    31     ## Register a nested module for the namespace addressUtils
       
    32     
       
    33     nested_module = module.add_cpp_namespace('addressUtils')
       
    34     register_types_ns3_addressUtils(nested_module)
       
    35     
       
    36     
       
    37     ## Register a nested module for the namespace aodv
       
    38     
       
    39     nested_module = module.add_cpp_namespace('aodv')
       
    40     register_types_ns3_aodv(nested_module)
       
    41     
       
    42     
       
    43     ## Register a nested module for the namespace dot11s
       
    44     
       
    45     nested_module = module.add_cpp_namespace('dot11s')
       
    46     register_types_ns3_dot11s(nested_module)
       
    47     
       
    48     
       
    49     ## Register a nested module for the namespace flame
       
    50     
       
    51     nested_module = module.add_cpp_namespace('flame')
       
    52     register_types_ns3_flame(nested_module)
       
    53     
       
    54     
       
    55     ## Register a nested module for the namespace internal
       
    56     
       
    57     nested_module = module.add_cpp_namespace('internal')
       
    58     register_types_ns3_internal(nested_module)
       
    59     
       
    60     
       
    61     ## Register a nested module for the namespace olsr
       
    62     
       
    63     nested_module = module.add_cpp_namespace('olsr')
       
    64     register_types_ns3_olsr(nested_module)
       
    65     
       
    66 
       
    67 def register_types_ns3_Config(module):
       
    68     root_module = module.get_root()
       
    69     
       
    70 
       
    71 def register_types_ns3_FatalImpl(module):
       
    72     root_module = module.get_root()
       
    73     
       
    74 
       
    75 def register_types_ns3_addressUtils(module):
       
    76     root_module = module.get_root()
       
    77     
       
    78 
       
    79 def register_types_ns3_aodv(module):
       
    80     root_module = module.get_root()
       
    81     
       
    82 
       
    83 def register_types_ns3_dot11s(module):
       
    84     root_module = module.get_root()
       
    85     
       
    86 
       
    87 def register_types_ns3_flame(module):
       
    88     root_module = module.get_root()
       
    89     
       
    90 
       
    91 def register_types_ns3_internal(module):
       
    92     root_module = module.get_root()
       
    93     
       
    94 
       
    95 def register_types_ns3_olsr(module):
       
    96     root_module = module.get_root()
       
    97     
       
    98 
       
    99 def register_methods(root_module):
       
   100     register_Ns3Backoff_methods(root_module, root_module['ns3::Backoff'])
       
   101     register_Ns3CsmaDeviceRec_methods(root_module, root_module['ns3::CsmaDeviceRec'])
       
   102     register_Ns3CsmaChannel_methods(root_module, root_module['ns3::CsmaChannel'])
       
   103     register_Ns3CsmaNetDevice_methods(root_module, root_module['ns3::CsmaNetDevice'])
       
   104     return
       
   105 
       
   106 def register_Ns3Backoff_methods(root_module, cls):
       
   107     ## backoff.h: ns3::Backoff::Backoff(ns3::Backoff const & arg0) [copy constructor]
       
   108     cls.add_constructor([param('ns3::Backoff const &', 'arg0')])
       
   109     ## backoff.h: ns3::Backoff::Backoff() [constructor]
       
   110     cls.add_constructor([])
       
   111     ## backoff.h: ns3::Backoff::Backoff(ns3::Time slotTime, uint32_t minSlots, uint32_t maxSlots, uint32_t ceiling, uint32_t maxRetries) [constructor]
       
   112     cls.add_constructor([param('ns3::Time', 'slotTime'), param('uint32_t', 'minSlots'), param('uint32_t', 'maxSlots'), param('uint32_t', 'ceiling'), param('uint32_t', 'maxRetries')])
       
   113     ## backoff.h: ns3::Time ns3::Backoff::GetBackoffTime() [member function]
       
   114     cls.add_method('GetBackoffTime', 
       
   115                    'ns3::Time', 
       
   116                    [])
       
   117     ## backoff.h: void ns3::Backoff::IncrNumRetries() [member function]
       
   118     cls.add_method('IncrNumRetries', 
       
   119                    'void', 
       
   120                    [])
       
   121     ## backoff.h: bool ns3::Backoff::MaxRetriesReached() [member function]
       
   122     cls.add_method('MaxRetriesReached', 
       
   123                    'bool', 
       
   124                    [])
       
   125     ## backoff.h: void ns3::Backoff::ResetBackoffTime() [member function]
       
   126     cls.add_method('ResetBackoffTime', 
       
   127                    'void', 
       
   128                    [])
       
   129     ## backoff.h: ns3::Backoff::m_ceiling [variable]
       
   130     cls.add_instance_attribute('m_ceiling', 'uint32_t', is_const=False)
       
   131     ## backoff.h: ns3::Backoff::m_maxRetries [variable]
       
   132     cls.add_instance_attribute('m_maxRetries', 'uint32_t', is_const=False)
       
   133     ## backoff.h: ns3::Backoff::m_maxSlots [variable]
       
   134     cls.add_instance_attribute('m_maxSlots', 'uint32_t', is_const=False)
       
   135     ## backoff.h: ns3::Backoff::m_minSlots [variable]
       
   136     cls.add_instance_attribute('m_minSlots', 'uint32_t', is_const=False)
       
   137     ## backoff.h: ns3::Backoff::m_slotTime [variable]
       
   138     cls.add_instance_attribute('m_slotTime', 'ns3::Time', is_const=False)
       
   139     return
       
   140 
       
   141 def register_Ns3CsmaDeviceRec_methods(root_module, cls):
       
   142     ## csma-channel.h: ns3::CsmaDeviceRec::CsmaDeviceRec(ns3::CsmaDeviceRec const & arg0) [copy constructor]
       
   143     cls.add_constructor([param('ns3::CsmaDeviceRec const &', 'arg0')])
       
   144     ## csma-channel.h: ns3::CsmaDeviceRec::CsmaDeviceRec() [constructor]
       
   145     cls.add_constructor([])
       
   146     ## csma-channel.h: ns3::CsmaDeviceRec::CsmaDeviceRec(ns3::Ptr<ns3::CsmaNetDevice> device) [constructor]
       
   147     cls.add_constructor([param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')])
       
   148     ## csma-channel.h: bool ns3::CsmaDeviceRec::IsActive() [member function]
       
   149     cls.add_method('IsActive', 
       
   150                    'bool', 
       
   151                    [])
       
   152     ## csma-channel.h: ns3::CsmaDeviceRec::active [variable]
       
   153     cls.add_instance_attribute('active', 'bool', is_const=False)
       
   154     ## csma-channel.h: ns3::CsmaDeviceRec::devicePtr [variable]
       
   155     cls.add_instance_attribute('devicePtr', 'ns3::Ptr< ns3::CsmaNetDevice >', is_const=False)
       
   156     return
       
   157 
       
   158 def register_Ns3CsmaChannel_methods(root_module, cls):
       
   159     ## csma-channel.h: ns3::CsmaChannel::CsmaChannel(ns3::CsmaChannel const & arg0) [copy constructor]
       
   160     cls.add_constructor([param('ns3::CsmaChannel const &', 'arg0')])
       
   161     ## csma-channel.h: ns3::CsmaChannel::CsmaChannel() [constructor]
       
   162     cls.add_constructor([])
       
   163     ## csma-channel.h: int32_t ns3::CsmaChannel::Attach(ns3::Ptr<ns3::CsmaNetDevice> device) [member function]
       
   164     cls.add_method('Attach', 
       
   165                    'int32_t', 
       
   166                    [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')])
       
   167     ## csma-channel.h: bool ns3::CsmaChannel::Detach(ns3::Ptr<ns3::CsmaNetDevice> device) [member function]
       
   168     cls.add_method('Detach', 
       
   169                    'bool', 
       
   170                    [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')])
       
   171     ## csma-channel.h: bool ns3::CsmaChannel::Detach(uint32_t deviceId) [member function]
       
   172     cls.add_method('Detach', 
       
   173                    'bool', 
       
   174                    [param('uint32_t', 'deviceId')])
       
   175     ## csma-channel.h: ns3::Ptr<ns3::CsmaNetDevice> ns3::CsmaChannel::GetCsmaDevice(uint32_t i) const [member function]
       
   176     cls.add_method('GetCsmaDevice', 
       
   177                    'ns3::Ptr< ns3::CsmaNetDevice >', 
       
   178                    [param('uint32_t', 'i')], 
       
   179                    is_const=True)
       
   180     ## csma-channel.h: ns3::DataRate ns3::CsmaChannel::GetDataRate() [member function]
       
   181     cls.add_method('GetDataRate', 
       
   182                    'ns3::DataRate', 
       
   183                    [])
       
   184     ## csma-channel.h: ns3::Time ns3::CsmaChannel::GetDelay() [member function]
       
   185     cls.add_method('GetDelay', 
       
   186                    'ns3::Time', 
       
   187                    [])
       
   188     ## csma-channel.h: ns3::Ptr<ns3::NetDevice> ns3::CsmaChannel::GetDevice(uint32_t i) const [member function]
       
   189     cls.add_method('GetDevice', 
       
   190                    'ns3::Ptr< ns3::NetDevice >', 
       
   191                    [param('uint32_t', 'i')], 
       
   192                    is_const=True, is_virtual=True)
       
   193     ## csma-channel.h: int32_t ns3::CsmaChannel::GetDeviceNum(ns3::Ptr<ns3::CsmaNetDevice> device) [member function]
       
   194     cls.add_method('GetDeviceNum', 
       
   195                    'int32_t', 
       
   196                    [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')])
       
   197     ## csma-channel.h: uint32_t ns3::CsmaChannel::GetNDevices() const [member function]
       
   198     cls.add_method('GetNDevices', 
       
   199                    'uint32_t', 
       
   200                    [], 
       
   201                    is_const=True, is_virtual=True)
       
   202     ## csma-channel.h: uint32_t ns3::CsmaChannel::GetNumActDevices() [member function]
       
   203     cls.add_method('GetNumActDevices', 
       
   204                    'uint32_t', 
       
   205                    [])
       
   206     ## csma-channel.h: ns3::WireState ns3::CsmaChannel::GetState() [member function]
       
   207     cls.add_method('GetState', 
       
   208                    'ns3::WireState', 
       
   209                    [])
       
   210     ## csma-channel.h: static ns3::TypeId ns3::CsmaChannel::GetTypeId() [member function]
       
   211     cls.add_method('GetTypeId', 
       
   212                    'ns3::TypeId', 
       
   213                    [], 
       
   214                    is_static=True)
       
   215     ## csma-channel.h: bool ns3::CsmaChannel::IsActive(uint32_t deviceId) [member function]
       
   216     cls.add_method('IsActive', 
       
   217                    'bool', 
       
   218                    [param('uint32_t', 'deviceId')])
       
   219     ## csma-channel.h: bool ns3::CsmaChannel::IsBusy() [member function]
       
   220     cls.add_method('IsBusy', 
       
   221                    'bool', 
       
   222                    [])
       
   223     ## csma-channel.h: void ns3::CsmaChannel::PropagationCompleteEvent() [member function]
       
   224     cls.add_method('PropagationCompleteEvent', 
       
   225                    'void', 
       
   226                    [])
       
   227     ## csma-channel.h: bool ns3::CsmaChannel::Reattach(uint32_t deviceId) [member function]
       
   228     cls.add_method('Reattach', 
       
   229                    'bool', 
       
   230                    [param('uint32_t', 'deviceId')])
       
   231     ## csma-channel.h: bool ns3::CsmaChannel::Reattach(ns3::Ptr<ns3::CsmaNetDevice> device) [member function]
       
   232     cls.add_method('Reattach', 
       
   233                    'bool', 
       
   234                    [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')])
       
   235     ## csma-channel.h: bool ns3::CsmaChannel::TransmitEnd() [member function]
       
   236     cls.add_method('TransmitEnd', 
       
   237                    'bool', 
       
   238                    [])
       
   239     ## csma-channel.h: bool ns3::CsmaChannel::TransmitStart(ns3::Ptr<ns3::Packet> p, uint32_t srcId) [member function]
       
   240     cls.add_method('TransmitStart', 
       
   241                    'bool', 
       
   242                    [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'srcId')])
       
   243     return
       
   244 
       
   245 def register_Ns3CsmaNetDevice_methods(root_module, cls):
       
   246     ## csma-net-device.h: static ns3::TypeId ns3::CsmaNetDevice::GetTypeId() [member function]
       
   247     cls.add_method('GetTypeId', 
       
   248                    'ns3::TypeId', 
       
   249                    [], 
       
   250                    is_static=True)
       
   251     ## csma-net-device.h: ns3::CsmaNetDevice::CsmaNetDevice() [constructor]
       
   252     cls.add_constructor([])
       
   253     ## csma-net-device.h: void ns3::CsmaNetDevice::SetInterframeGap(ns3::Time t) [member function]
       
   254     cls.add_method('SetInterframeGap', 
       
   255                    'void', 
       
   256                    [param('ns3::Time', 't')])
       
   257     ## csma-net-device.h: void ns3::CsmaNetDevice::SetBackoffParams(ns3::Time slotTime, uint32_t minSlots, uint32_t maxSlots, uint32_t maxRetries, uint32_t ceiling) [member function]
       
   258     cls.add_method('SetBackoffParams', 
       
   259                    'void', 
       
   260                    [param('ns3::Time', 'slotTime'), param('uint32_t', 'minSlots'), param('uint32_t', 'maxSlots'), param('uint32_t', 'maxRetries'), param('uint32_t', 'ceiling')])
       
   261     ## csma-net-device.h: bool ns3::CsmaNetDevice::Attach(ns3::Ptr<ns3::CsmaChannel> ch) [member function]
       
   262     cls.add_method('Attach', 
       
   263                    'bool', 
       
   264                    [param('ns3::Ptr< ns3::CsmaChannel >', 'ch')])
       
   265     ## csma-net-device.h: void ns3::CsmaNetDevice::SetQueue(ns3::Ptr<ns3::Queue> queue) [member function]
       
   266     cls.add_method('SetQueue', 
       
   267                    'void', 
       
   268                    [param('ns3::Ptr< ns3::Queue >', 'queue')])
       
   269     ## csma-net-device.h: ns3::Ptr<ns3::Queue> ns3::CsmaNetDevice::GetQueue() const [member function]
       
   270     cls.add_method('GetQueue', 
       
   271                    'ns3::Ptr< ns3::Queue >', 
       
   272                    [], 
       
   273                    is_const=True)
       
   274     ## csma-net-device.h: void ns3::CsmaNetDevice::SetReceiveErrorModel(ns3::Ptr<ns3::ErrorModel> em) [member function]
       
   275     cls.add_method('SetReceiveErrorModel', 
       
   276                    'void', 
       
   277                    [param('ns3::Ptr< ns3::ErrorModel >', 'em')])
       
   278     ## csma-net-device.h: void ns3::CsmaNetDevice::Receive(ns3::Ptr<ns3::Packet> p, ns3::Ptr<ns3::CsmaNetDevice> sender) [member function]
       
   279     cls.add_method('Receive', 
       
   280                    'void', 
       
   281                    [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ptr< ns3::CsmaNetDevice >', 'sender')])
       
   282     ## csma-net-device.h: bool ns3::CsmaNetDevice::IsSendEnabled() [member function]
       
   283     cls.add_method('IsSendEnabled', 
       
   284                    'bool', 
       
   285                    [])
       
   286     ## csma-net-device.h: void ns3::CsmaNetDevice::SetSendEnable(bool enable) [member function]
       
   287     cls.add_method('SetSendEnable', 
       
   288                    'void', 
       
   289                    [param('bool', 'enable')])
       
   290     ## csma-net-device.h: bool ns3::CsmaNetDevice::IsReceiveEnabled() [member function]
       
   291     cls.add_method('IsReceiveEnabled', 
       
   292                    'bool', 
       
   293                    [])
       
   294     ## csma-net-device.h: void ns3::CsmaNetDevice::SetReceiveEnable(bool enable) [member function]
       
   295     cls.add_method('SetReceiveEnable', 
       
   296                    'void', 
       
   297                    [param('bool', 'enable')])
       
   298     ## csma-net-device.h: void ns3::CsmaNetDevice::SetEncapsulationMode(ns3::CsmaNetDevice::EncapsulationMode mode) [member function]
       
   299     cls.add_method('SetEncapsulationMode', 
       
   300                    'void', 
       
   301                    [param('ns3::CsmaNetDevice::EncapsulationMode', 'mode')])
       
   302     ## csma-net-device.h: ns3::CsmaNetDevice::EncapsulationMode ns3::CsmaNetDevice::GetEncapsulationMode() [member function]
       
   303     cls.add_method('GetEncapsulationMode', 
       
   304                    'ns3::CsmaNetDevice::EncapsulationMode', 
       
   305                    [])
       
   306     ## csma-net-device.h: void ns3::CsmaNetDevice::SetIfIndex(uint32_t const index) [member function]
       
   307     cls.add_method('SetIfIndex', 
       
   308                    'void', 
       
   309                    [param('uint32_t const', 'index')], 
       
   310                    is_virtual=True)
       
   311     ## csma-net-device.h: uint32_t ns3::CsmaNetDevice::GetIfIndex() const [member function]
       
   312     cls.add_method('GetIfIndex', 
       
   313                    'uint32_t', 
       
   314                    [], 
       
   315                    is_const=True, is_virtual=True)
       
   316     ## csma-net-device.h: ns3::Ptr<ns3::Channel> ns3::CsmaNetDevice::GetChannel() const [member function]
       
   317     cls.add_method('GetChannel', 
       
   318                    'ns3::Ptr< ns3::Channel >', 
       
   319                    [], 
       
   320                    is_const=True, is_virtual=True)
       
   321     ## csma-net-device.h: bool ns3::CsmaNetDevice::SetMtu(uint16_t const mtu) [member function]
       
   322     cls.add_method('SetMtu', 
       
   323                    'bool', 
       
   324                    [param('uint16_t const', 'mtu')], 
       
   325                    is_virtual=True)
       
   326     ## csma-net-device.h: uint16_t ns3::CsmaNetDevice::GetMtu() const [member function]
       
   327     cls.add_method('GetMtu', 
       
   328                    'uint16_t', 
       
   329                    [], 
       
   330                    is_const=True, is_virtual=True)
       
   331     ## csma-net-device.h: void ns3::CsmaNetDevice::SetAddress(ns3::Address address) [member function]
       
   332     cls.add_method('SetAddress', 
       
   333                    'void', 
       
   334                    [param('ns3::Address', 'address')], 
       
   335                    is_virtual=True)
       
   336     ## csma-net-device.h: ns3::Address ns3::CsmaNetDevice::GetAddress() const [member function]
       
   337     cls.add_method('GetAddress', 
       
   338                    'ns3::Address', 
       
   339                    [], 
       
   340                    is_const=True, is_virtual=True)
       
   341     ## csma-net-device.h: bool ns3::CsmaNetDevice::IsLinkUp() const [member function]
       
   342     cls.add_method('IsLinkUp', 
       
   343                    'bool', 
       
   344                    [], 
       
   345                    is_const=True, is_virtual=True)
       
   346     ## csma-net-device.h: void ns3::CsmaNetDevice::AddLinkChangeCallback(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function]
       
   347     cls.add_method('AddLinkChangeCallback', 
       
   348                    'void', 
       
   349                    [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
       
   350                    is_virtual=True)
       
   351     ## csma-net-device.h: bool ns3::CsmaNetDevice::IsBroadcast() const [member function]
       
   352     cls.add_method('IsBroadcast', 
       
   353                    'bool', 
       
   354                    [], 
       
   355                    is_const=True, is_virtual=True)
       
   356     ## csma-net-device.h: ns3::Address ns3::CsmaNetDevice::GetBroadcast() const [member function]
       
   357     cls.add_method('GetBroadcast', 
       
   358                    'ns3::Address', 
       
   359                    [], 
       
   360                    is_const=True, is_virtual=True)
       
   361     ## csma-net-device.h: bool ns3::CsmaNetDevice::IsMulticast() const [member function]
       
   362     cls.add_method('IsMulticast', 
       
   363                    'bool', 
       
   364                    [], 
       
   365                    is_const=True, is_virtual=True)
       
   366     ## csma-net-device.h: ns3::Address ns3::CsmaNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
       
   367     cls.add_method('GetMulticast', 
       
   368                    'ns3::Address', 
       
   369                    [param('ns3::Ipv4Address', 'multicastGroup')], 
       
   370                    is_const=True, is_virtual=True)
       
   371     ## csma-net-device.h: bool ns3::CsmaNetDevice::IsPointToPoint() const [member function]
       
   372     cls.add_method('IsPointToPoint', 
       
   373                    'bool', 
       
   374                    [], 
       
   375                    is_const=True, is_virtual=True)
       
   376     ## csma-net-device.h: bool ns3::CsmaNetDevice::IsBridge() const [member function]
       
   377     cls.add_method('IsBridge', 
       
   378                    'bool', 
       
   379                    [], 
       
   380                    is_const=True, is_virtual=True)
       
   381     ## csma-net-device.h: bool ns3::CsmaNetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
       
   382     cls.add_method('Send', 
       
   383                    'bool', 
       
   384                    [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], 
       
   385                    is_virtual=True)
       
   386     ## csma-net-device.h: bool ns3::CsmaNetDevice::SendFrom(ns3::Ptr<ns3::Packet> packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function]
       
   387     cls.add_method('SendFrom', 
       
   388                    'bool', 
       
   389                    [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], 
       
   390                    is_virtual=True)
       
   391     ## csma-net-device.h: ns3::Ptr<ns3::Node> ns3::CsmaNetDevice::GetNode() const [member function]
       
   392     cls.add_method('GetNode', 
       
   393                    'ns3::Ptr< ns3::Node >', 
       
   394                    [], 
       
   395                    is_const=True, is_virtual=True)
       
   396     ## csma-net-device.h: void ns3::CsmaNetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
       
   397     cls.add_method('SetNode', 
       
   398                    'void', 
       
   399                    [param('ns3::Ptr< ns3::Node >', 'node')], 
       
   400                    is_virtual=True)
       
   401     ## csma-net-device.h: bool ns3::CsmaNetDevice::NeedsArp() const [member function]
       
   402     cls.add_method('NeedsArp', 
       
   403                    'bool', 
       
   404                    [], 
       
   405                    is_const=True, is_virtual=True)
       
   406     ## csma-net-device.h: void ns3::CsmaNetDevice::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]
       
   407     cls.add_method('SetReceiveCallback', 
       
   408                    'void', 
       
   409                    [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')], 
       
   410                    is_virtual=True)
       
   411     ## csma-net-device.h: ns3::Address ns3::CsmaNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
       
   412     cls.add_method('GetMulticast', 
       
   413                    'ns3::Address', 
       
   414                    [param('ns3::Ipv6Address', 'addr')], 
       
   415                    is_const=True, is_virtual=True)
       
   416     ## csma-net-device.h: void ns3::CsmaNetDevice::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]
       
   417     cls.add_method('SetPromiscReceiveCallback', 
       
   418                    'void', 
       
   419                    [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')], 
       
   420                    is_virtual=True)
       
   421     ## csma-net-device.h: bool ns3::CsmaNetDevice::SupportsSendFrom() const [member function]
       
   422     cls.add_method('SupportsSendFrom', 
       
   423                    'bool', 
       
   424                    [], 
       
   425                    is_const=True, is_virtual=True)
       
   426     ## csma-net-device.h: void ns3::CsmaNetDevice::DoDispose() [member function]
       
   427     cls.add_method('DoDispose', 
       
   428                    'void', 
       
   429                    [], 
       
   430                    visibility='protected', is_virtual=True)
       
   431     ## csma-net-device.h: void ns3::CsmaNetDevice::AddHeader(ns3::Ptr<ns3::Packet> p, ns3::Mac48Address source, ns3::Mac48Address dest, uint16_t protocolNumber) [member function]
       
   432     cls.add_method('AddHeader', 
       
   433                    'void', 
       
   434                    [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Mac48Address', 'source'), param('ns3::Mac48Address', 'dest'), param('uint16_t', 'protocolNumber')], 
       
   435                    visibility='protected')
       
   436     return
       
   437 
       
   438 def register_functions(root_module):
       
   439     module = root_module
       
   440     register_functions_ns3_Config(module.get_submodule('Config'), root_module)
       
   441     register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
       
   442     register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
       
   443     register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
       
   444     register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
       
   445     register_functions_ns3_flame(module.get_submodule('flame'), root_module)
       
   446     register_functions_ns3_internal(module.get_submodule('internal'), root_module)
       
   447     register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
       
   448     return
       
   449 
       
   450 def register_functions_ns3_Config(module, root_module):
       
   451     return
       
   452 
       
   453 def register_functions_ns3_FatalImpl(module, root_module):
       
   454     return
       
   455 
       
   456 def register_functions_ns3_addressUtils(module, root_module):
       
   457     return
       
   458 
       
   459 def register_functions_ns3_aodv(module, root_module):
       
   460     return
       
   461 
       
   462 def register_functions_ns3_dot11s(module, root_module):
       
   463     return
       
   464 
       
   465 def register_functions_ns3_flame(module, root_module):
       
   466     return
       
   467 
       
   468 def register_functions_ns3_internal(module, root_module):
       
   469     return
       
   470 
       
   471 def register_functions_ns3_olsr(module, root_module):
       
   472     return
       
   473