A Discrete-Event Network Simulator
API
config.cc File Reference

ns3::Config implementations. More...

#include "config.h"
#include "singleton.h"
#include "object.h"
#include "global-value.h"
#include "object-ptr-container.h"
#include "names.h"
#include "pointer.h"
#include "log.h"
#include <sstream>
+ Include dependency graph for config.cc:

Go to the source code of this file.

Classes

class  ns3::Config::ArrayMatcher
 Helper to test if an array entry matches a config path specification. More...
 
class  ns3::Config::ConfigImpl
 Config system implementation class. More...
 
class  ns3::Config::Resolver
 Abstract class to parse Config paths into object references. More...
 

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 
 ns3::Config
 Namespace for the various functions implementing the Config system.
 

Functions

void ns3::Config::Connect (std::string path, const CallbackBase &cb)
 
bool ns3::Config::ConnectFailSafe (std::string path, const CallbackBase &cb)
 This function will attempt to find all trace sources which match the input path and will then connect the input callback to them in such a way that the callback will receive an extra context string upon trace event notification. More...
 
void ns3::Config::ConnectWithoutContext (std::string path, const CallbackBase &cb)
 
bool ns3::Config::ConnectWithoutContextFailSafe (std::string path, const CallbackBase &cb)
 This function will attempt to find all trace sources which match the input path and will then connect the input callback to them. More...
 
void ns3::Config::Disconnect (std::string path, const CallbackBase &cb)
 
void ns3::Config::DisconnectWithoutContext (std::string path, const CallbackBase &cb)
 
Ptr< Object > ns3::Config::GetRootNamespaceObject (uint32_t i)
 
std::size_t ns3::Config::GetRootNamespaceObjectN (void)
 
MatchContainer ns3::Config::LookupMatches (std::string path)
 
void ns3::Config::RegisterRootNamespaceObject (Ptr< Object > obj)
 
void ns3::Config::Reset (void)
 Reset the initial value of every attribute as well as the value of every global to what they were before any call to SetDefault and SetGlobal. More...
 
void ns3::Config::Set (std::string path, const AttributeValue &value)
 
void ns3::Config::SetDefault (std::string name, const AttributeValue &value)
 
bool ns3::Config::SetDefaultFailSafe (std::string name, const AttributeValue &value)
 
bool ns3::Config::SetFailSafe (std::string path, const AttributeValue &value)
 This function will attempt to find attributes which match the input path and will then set their value to the input value, and will return true if at least one such attribute is found. More...
 
void ns3::Config::SetGlobal (std::string name, const AttributeValue &value)
 
bool ns3::Config::SetGlobalFailSafe (std::string name, const AttributeValue &value)
 
void ns3::Config::UnregisterRootNamespaceObject (Ptr< Object > obj)
 

Detailed Description

ns3::Config implementations.

Definition in file config.cc.