ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ns3::OspfConfig Class Reference
+ Collaboration diagram for ns3::OspfConfig:

Public Member Functions

 OspfConfig ()
 ~OspfConfig ()
void addNetwork (std::string prefix, uint32_t area)
std::string GetFilename () const
TypeId GetInstanceTypeId (void) const
virtual void Print (std::ostream &os) const
void SetFilename (const std::string &filename)

Static Public Member Functions

static TypeId GetTypeId (void)

Public Attributes

std::vector< uint32_t > * iflist
std::string m_filename
bool m_ospfdebug
uint32_t m_routerId

Private Attributes

std::map< std::string, uint32_t > * networks

Detailed Description

Definition at line 102 of file quagga-helper.cc.

Constructor & Destructor Documentation

ns3::OspfConfig::OspfConfig ( )
inline

Definition at line 107 of file quagga-helper.cc.

References iflist, and networks.

ns3::OspfConfig::~OspfConfig ( )
inline

Definition at line 113 of file quagga-helper.cc.

References iflist, and networks.

Member Function Documentation

void ns3::OspfConfig::addNetwork ( std::string  prefix,
uint32_t  area 
)
inline

Definition at line 137 of file quagga-helper.cc.

References networks.

std::string ns3::OspfConfig::GetFilename ( ) const
inline

Definition at line 149 of file quagga-helper.cc.

References m_filename.

TypeId ns3::OspfConfig::GetInstanceTypeId ( void  ) const
inline

Definition at line 131 of file quagga-helper.cc.

References GetTypeId().

+ Here is the call graph for this function:

static TypeId ns3::OspfConfig::GetTypeId ( void  )
inlinestatic

Definition at line 122 of file quagga-helper.cc.

Referenced by GetInstanceTypeId().

+ Here is the caller graph for this function:

virtual void ns3::OspfConfig::Print ( std::ostream &  os) const
inlinevirtual

Definition at line 155 of file quagga-helper.cc.

References iflist, m_ospfdebug, and networks.

void ns3::OspfConfig::SetFilename ( const std::string &  filename)
inline

Definition at line 143 of file quagga-helper.cc.

References m_filename.

Member Data Documentation

std::vector<uint32_t>* ns3::OspfConfig::iflist

Definition at line 185 of file quagga-helper.cc.

Referenced by OspfConfig(), Print(), and ~OspfConfig().

std::string ns3::OspfConfig::m_filename

Definition at line 186 of file quagga-helper.cc.

Referenced by GetFilename(), and SetFilename().

bool ns3::OspfConfig::m_ospfdebug

Definition at line 119 of file quagga-helper.cc.

Referenced by Print().

uint32_t ns3::OspfConfig::m_routerId

Definition at line 187 of file quagga-helper.cc.

Referenced by ns3::QuaggaHelper::GenerateConfigOspf().

std::map<std::string, uint32_t>* ns3::OspfConfig::networks
private

Definition at line 105 of file quagga-helper.cc.

Referenced by addNetwork(), OspfConfig(), Print(), and ~OspfConfig().


The documentation for this class was generated from the following file: