#include <nsc-sysctl.h>
Public Member Functions | |
virtual TypeId | GetInstanceTypeId (void) const |
void | SetStack (INetStack *stack) |
![]() | |
Object () | |
virtual | ~Object () |
void | AggregateObject (Ptr< Object > other) |
void | Dispose (void) |
AggregateIterator | GetAggregateIterator (void) const |
template<typename T > | |
Ptr< T > | GetObject (void) const |
template<typename T > | |
Ptr< T > | GetObject (TypeId tid) const |
void | Start (void) |
![]() | |
SimpleRefCount () | |
SimpleRefCount (const SimpleRefCount &o) | |
uint32_t | GetReferenceCount (void) const |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
![]() | |
virtual | ~ObjectBase () |
void | GetAttribute (std::string name, AttributeValue &value) const |
bool | GetAttributeFailSafe (std::string name, AttributeValue &attribute) const |
void | SetAttribute (std::string name, const AttributeValue &value) |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
Private Member Functions | |
std::string | Get (std::string name) const |
void | Set (std::string name, std::string value) |
Private Attributes | |
INetStack * | m_stack |
Friends | |
class | NscStackStringAccessor |
Additional Inherited Members | |
![]() | |
Object (const Object &o) | |
virtual void | DoDispose (void) |
virtual void | DoStart (void) |
virtual void | NotifyNewAggregate (void) |
Definition at line 31 of file nsc-sysctl.h.
|
private |
Definition at line 125 of file nsc-sysctl.cc.
References m_stack, and INetStack::sysctl_get().
Referenced by ns3::NscStackStringAccessor::Get().
|
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 84 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 |
Reimplemented from ns3::Object.
Referenced by GetInstanceTypeId().
|
private |
Definition at line 136 of file nsc-sysctl.cc.
References m_stack, NS_FATAL_ERROR, and INetStack::sysctl_set().
Referenced by ns3::NscStackStringAccessor::Set().
|
inline |
Definition at line 36 of file nsc-sysctl.h.
References m_stack.
|
friend |
Definition at line 39 of file nsc-sysctl.h.
|
private |
Definition at line 42 of file nsc-sysctl.h.
Referenced by Get(), GetInstanceTypeId(), Set(), and SetStack().