bindings/python/ns3_module_tap_bridge.py
changeset 4323 689bece0b361
parent 4298 cc2db3e6bcae
child 4407 ef566eeff84f
equal deleted inserted replaced
4322:bad9eed19283 4323:689bece0b361
    84                    [param('ns3::TapBridge::Mode', 'mode')])
    84                    [param('ns3::TapBridge::Mode', 'mode')])
    85     ## tap-bridge.h: ns3::TapBridge::Mode ns3::TapBridge::GetMode() [member function]
    85     ## tap-bridge.h: ns3::TapBridge::Mode ns3::TapBridge::GetMode() [member function]
    86     cls.add_method('GetMode', 
    86     cls.add_method('GetMode', 
    87                    'ns3::TapBridge::Mode', 
    87                    'ns3::TapBridge::Mode', 
    88                    [])
    88                    [])
    89     ## tap-bridge.h: void ns3::TapBridge::SetName(std::string const name) [member function]
       
    90     cls.add_method('SetName', 
       
    91                    'void', 
       
    92                    [param('std::string const', 'name')], 
       
    93                    is_virtual=True)
       
    94     ## tap-bridge.h: std::string ns3::TapBridge::GetName() const [member function]
       
    95     cls.add_method('GetName', 
       
    96                    'std::string', 
       
    97                    [], 
       
    98                    is_const=True, is_virtual=True)
       
    99     ## tap-bridge.h: void ns3::TapBridge::SetIfIndex(uint32_t const index) [member function]
    89     ## tap-bridge.h: void ns3::TapBridge::SetIfIndex(uint32_t const index) [member function]
   100     cls.add_method('SetIfIndex', 
    90     cls.add_method('SetIfIndex', 
   101                    'void', 
    91                    'void', 
   102                    [param('uint32_t const', 'index')], 
    92                    [param('uint32_t const', 'index')], 
   103                    is_virtual=True)
    93                    is_virtual=True)