ns3::ConfigImpl Class Reference

List of all members.

Public Member Functions

void Set (std::string path, const AttributeValue &value)
void ConnectWithoutContext (std::string path, const CallbackBase &cb)
void Connect (std::string path, const CallbackBase &cb)
void DisconnectWithoutContext (std::string path, const CallbackBase &cb)
void Disconnect (std::string path, const CallbackBase &cb)
Config::MatchContainer LookupMatches (std::string path)
void RegisterRootNamespaceObject (Ptr< Object > obj)
void UnregisterRootNamespaceObject (Ptr< Object > obj)
uint32_t GetRootNamespaceObjectN (void) const
Ptr< ObjectGetRootNamespaceObject (uint32_t i) const

Private Types

typedef std::vector< Ptr
< Object > > 
Roots

Private Member Functions

void ParsePath (std::string path, std::string *root, std::string *leaf) const

Private Attributes

Roots m_roots

Detailed Description

Definition at line 389 of file config.cc.


Member Typedef Documentation

typedef std::vector<Ptr<Object> > ns3::ConfigImpl::Roots [private]

Definition at line 407 of file config.cc.


Member Function Documentation

void ns3::ConfigImpl::Connect ( std::string  path,
const CallbackBase cb 
)

Definition at line 446 of file config.cc.

References ns3::Config::MatchContainer::Connect(), LookupMatches(), and ParsePath().

void ns3::ConfigImpl::ConnectWithoutContext ( std::string  path,
const CallbackBase cb 
)
void ns3::ConfigImpl::Disconnect ( std::string  path,
const CallbackBase cb 
)
void ns3::ConfigImpl::DisconnectWithoutContext ( std::string  path,
const CallbackBase cb 
)
Ptr< Object > ns3::ConfigImpl::GetRootNamespaceObject ( uint32_t  i  )  const

Definition at line 511 of file config.cc.

References m_roots.

uint32_t ns3::ConfigImpl::GetRootNamespaceObjectN ( void   )  const

Definition at line 506 of file config.cc.

References m_roots.

Config::MatchContainer ns3::ConfigImpl::LookupMatches ( std::string  path  ) 

Definition at line 463 of file config.cc.

References m_roots, and NS_LOG_FUNCTION.

Referenced by Connect(), ConnectWithoutContext(), Disconnect(), DisconnectWithoutContext(), and Set().

void ns3::ConfigImpl::ParsePath ( std::string  path,
std::string *  root,
std::string *  leaf 
) const [private]

Definition at line 412 of file config.cc.

References NS_ASSERT, and NS_LOG_FUNCTION.

Referenced by Connect(), ConnectWithoutContext(), Disconnect(), DisconnectWithoutContext(), and Set().

void ns3::ConfigImpl::RegisterRootNamespaceObject ( Ptr< Object obj  ) 

Definition at line 487 of file config.cc.

References m_roots.

void ns3::ConfigImpl::Set ( std::string  path,
const AttributeValue value 
)

Definition at line 422 of file config.cc.

References LookupMatches(), ParsePath(), and ns3::Config::MatchContainer::Set().

void ns3::ConfigImpl::UnregisterRootNamespaceObject ( Ptr< Object obj  ) 

Definition at line 493 of file config.cc.

References m_roots.


Member Data Documentation


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