ns3::LogComponent Class Reference

#include <log.h>

List of all members.

Public Member Functions

 LogComponent (char const *name)
void EnvVarCheck (char const *name)
bool IsEnabled (enum LogLevel level) const
bool IsNoneEnabled (void) const
void Enable (enum LogLevel level)
void Disable (enum LogLevel level)
char const * Name (void) const

Private Attributes

int32_t m_levels
char const * m_name

Detailed Description

Definition at line 328 of file log.h.


Constructor & Destructor Documentation

ns3::LogComponent::LogComponent ( char const *  name  ) 

Definition at line 84 of file log.cc.

References EnvVarCheck(), ns3::GetComponentList(), and NS_FATAL_ERROR.


Member Function Documentation

void ns3::LogComponent::Disable ( enum LogLevel  level  ) 

Definition at line 240 of file log.cc.

References m_levels.

void ns3::LogComponent::Enable ( enum LogLevel  level  ) 

Definition at line 234 of file log.cc.

References m_levels.

Referenced by EnvVarCheck().

void ns3::LogComponent::EnvVarCheck ( char const *  name  ) 
bool ns3::LogComponent::IsEnabled ( enum LogLevel  level  )  const

Definition at line 221 of file log.cc.

References m_levels.

bool ns3::LogComponent::IsNoneEnabled ( void   )  const

Definition at line 228 of file log.cc.

References m_levels.

char const * ns3::LogComponent::Name ( void   )  const

Definition at line 246 of file log.cc.

References m_name.


Member Data Documentation

int32_t ns3::LogComponent::m_levels [private]

Definition at line 338 of file log.h.

Referenced by Disable(), Enable(), IsEnabled(), and IsNoneEnabled().

char const* ns3::LogComponent::m_name [private]

Definition at line 339 of file log.h.

Referenced by Name().


The documentation for this class was generated from the following files:
Generated on Thu Dec 3 14:10:20 2009 for NS-3 by  doxygen 1.6.3