#include <nsc-sysctl.h>
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 | |
INetStack * | m_stack |
Friends | |
class | NscStackStringAccessor |
Definition at line 31 of file nsc-sysctl.h.
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] |
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.
friend class NscStackStringAccessor [friend] |
Definition at line 39 of file nsc-sysctl.h.
INetStack* ns3::Ns3NscStack::m_stack [private] |
Definition at line 42 of file nsc-sysctl.h.
Referenced by Get(), GetInstanceTypeId(), Set(), and SetStack().