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