A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::ConfigImpl Class Reference
+ Collaboration diagram for ns3::ConfigImpl:

Public Member Functions

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

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 490 of file config.cc.

Member Typedef Documentation

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

Definition at line 508 of file config.cc.

Member Function Documentation

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

Definition at line 553 of file config.cc.

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

+ Here is the call graph for this function:

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

Definition at line 535 of file config.cc.

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

+ Here is the call graph for this function:

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

Definition at line 563 of file config.cc.

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

+ Here is the call graph for this function:

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

Definition at line 544 of file config.cc.

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

+ Here is the call graph for this function:

Ptr< Object > ns3::ConfigImpl::GetRootNamespaceObject ( uint32_t  i) const

Definition at line 634 of file config.cc.

References m_roots, and NS_LOG_FUNCTION.

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

Definition at line 628 of file config.cc.

References m_roots, and NS_LOG_FUNCTION.

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

Definition at line 574 of file config.cc.

References m_roots, and NS_LOG_FUNCTION.

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

+ Here is the caller graph for this function:

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

Definition at line 513 of file config.cc.

References NS_ASSERT, and NS_LOG_FUNCTION.

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

+ Here is the caller graph for this function:

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

Definition at line 606 of file config.cc.

References m_roots, and NS_LOG_FUNCTION.

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

Definition at line 525 of file config.cc.

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

+ Here is the call graph for this function:

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

Definition at line 613 of file config.cc.

References m_roots, and NS_LOG_FUNCTION.

Member Data Documentation


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