bug 608: painful to enable logging of all wifi components

This commit is contained in:
Tom Henderson
2009-06-26 10:35:46 +02:00
parent db9d8c377e
commit fdaf01581e
3 changed files with 5 additions and 5 deletions

View File

@@ -1097,11 +1097,11 @@ def register_Ns3WifiHelper_methods(root_module, cls):
'ns3::NetDeviceContainer',
[param('ns3::WifiPhyHelper const &', 'phy'), param('ns3::WifiMacHelper const &', 'mac'), param('std::string', 'nodeName')],
is_const=True)
## wifi-helper.h: void ns3::WifiHelper::WifiLogComponentEnable() const [member function]
cls.add_method('WifiLogComponentEnable',
## wifi-helper.h: static void ns3::WifiHelper::EnableLogComponents() [member function]
cls.add_method('EnableLogComponents',
'void',
[],
is_const=True)
is_static=True)
return
def register_Ns3WifiMacHelper_methods(root_module, cls):

View File

@@ -118,7 +118,7 @@ WifiHelper::Install (const WifiPhyHelper &phy,
}
void
WifiHelper::WifiLogComponentEnable (void) const
WifiHelper::EnableLogComponents (void)
{
LogComponentEnable ("Aarfcd", LOG_LEVEL_ALL);
LogComponentEnable ("AdhocWifiMac", LOG_LEVEL_ALL);

View File

@@ -158,7 +158,7 @@ public:
/**
* Helper to enable all WifiNetDevice log components with one statement
*/
void WifiLogComponentEnable (void) const;
static void EnableLogComponents (void);
private:
ObjectFactory m_stationManager;