A Discrete-Event Network Simulator
API
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 506 of file config.cc.

Member Typedef Documentation

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

Definition at line 524 of file config.cc.

Member Function Documentation

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

Definition at line 569 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 551 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 579 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 560 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 650 of file config.cc.

References m_roots, and NS_LOG_FUNCTION.

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

Definition at line 644 of file config.cc.

References m_roots, and NS_LOG_FUNCTION.

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

Definition at line 590 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 529 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 622 of file config.cc.

References m_roots, and NS_LOG_FUNCTION.

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

Definition at line 541 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 629 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: