67 void Set (std::string path,
const AttributeValue &value);
77 void SetDefault (std::string name,
const AttributeValue &value);
95 void SetGlobal (std::string name,
const AttributeValue &value);
133 void Connect (std::string path,
const CallbackBase &cb);
141 void Disconnect (std::string path,
const CallbackBase &cb);
155 typedef std::vector<Ptr<Object> >::const_iterator
Iterator;
165 const std::vector<std::string> &contexts,
179 std::size_t
GetN (
void)
const;
196 std::string
GetPath (
void)
const;
std::string GetMatchedPath(uint32_t i) const
bool SetDefaultFailSafe(std::string fullName, const AttributeValue &value)
void Set(std::string path, const AttributeValue &value)
bool SetGlobalFailSafe(std::string name, const AttributeValue &value)
void UnregisterRootNamespaceObject(Ptr< Object > obj)
ns3::Ptr smart pointer declaration and implementation.
Hold a value for an Attribute.
Base class for Callback class.
void Disconnect(std::string name, const CallbackBase &cb)
void DisconnectWithoutContext(std::string path, const CallbackBase &cb)
Ptr< Object > Get(std::size_t i) const
std::size_t GetN(void) const
void RegisterRootNamespaceObject(Ptr< Object > obj)
void ConnectWithoutContext(std::string name, const CallbackBase &cb)
Ptr< Object > GetRootNamespaceObject(uint32_t i)
void ConnectWithoutContext(std::string path, const CallbackBase &cb)
void Connect(std::string path, const CallbackBase &cb)
MatchContainer::Iterator Begin(void) const
std::string m_path
The path used to perform the object matching.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
std::size_t GetRootNamespaceObjectN(void)
hold a set of objects which match a specific search string.
std::vector< Ptr< Object > > m_objects
The list of objects in this container.
void Connect(std::string name, const CallbackBase &cb)
void Reset(void)
Reset the initial value of every attribute as well as the value of every global to what they were bef...
MatchContainer LookupMatches(std::string path)
void DisconnectWithoutContext(std::string name, const CallbackBase &cb)
void SetGlobal(std::string name, const AttributeValue &value)
std::vector< std::string > m_contexts
The context for each object.
MatchContainer::Iterator End(void) const
void SetDefault(std::string name, const AttributeValue &value)
std::vector< Ptr< Object > >::const_iterator Iterator
Const iterator over the objects in this container.
void Set(std::string name, const AttributeValue &value)
void Disconnect(std::string path, const CallbackBase &cb)
std::string GetPath(void) const