ns3::Ns3NscStack Class Reference

#include <nsc-sysctl.h>

Inheritance diagram for ns3::Ns3NscStack:
Inheritance graph
[legend]
Collaboration diagram for ns3::Ns3NscStack:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual TypeId GetInstanceTypeId (void) const
void SetStack (INetStack *stack)

Static Public Member Functions

static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::Object.

Private Member Functions

void Set (std::string name, std::string value)
std::string Get (std::string name) const

Private Attributes

INetStackm_stack

Friends

class NscStackStringAccessor

Detailed Description

Definition at line 31 of file nsc-sysctl.h.


Member Function Documentation

std::string ns3::Ns3NscStack::Get ( std::string  name  )  const [private]

Definition at line 124 of file nsc-sysctl.cc.

References m_stack, and INetStack::sysctl_get().

Referenced by ns3::NscStackStringAccessor::Get().

TypeId ns3::Ns3NscStack::GetInstanceTypeId ( void   )  const [virtual]
Returns:
the TypeId associated to the most-derived type of this instance.

This method is typically implemented by ns3::Object::GetInstanceTypeId but some classes which derive from ns3::ObjectBase directly have to implement it themselves.

Reimplemented from ns3::Object.

Definition at line 83 of file nsc-sysctl.cc.

References ns3::TypeId::AddAttribute(), INetStack::get_name(), GetTypeId(), ns3::TypeId::LookupByNameFailSafe(), m_stack, ns3::TypeId::SetParent(), INetStack::sysctl_get(), and INetStack::sysctl_getnum().

static TypeId ns3::Ns3NscStack::GetTypeId ( void   )  [static]

This method returns the TypeId associated to ns3::Object.

No Attributes defined for this type.
No TraceSources defined for this type.

Reimplemented from ns3::Object.

Referenced by GetInstanceTypeId().

void ns3::Ns3NscStack::Set ( std::string  name,
std::string  value 
) [private]

Definition at line 135 of file nsc-sysctl.cc.

References m_stack, NS_FATAL_ERROR, and INetStack::sysctl_set().

Referenced by ns3::NscStackStringAccessor::Set().

void ns3::Ns3NscStack::SetStack ( INetStack stack  )  [inline]

Definition at line 36 of file nsc-sysctl.h.

References m_stack.


Friends And Related Function Documentation

friend class NscStackStringAccessor [friend]

Definition at line 39 of file nsc-sysctl.h.


Member Data Documentation

Definition at line 42 of file nsc-sysctl.h.

Referenced by Get(), GetInstanceTypeId(), Set(), and SetStack().


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