68 void Set (std::string path,
const AttributeValue &value);
79 bool SetFailSafe (std::string path,
const AttributeValue &value);
89 void SetDefault (std::string name,
const AttributeValue &value);
107 void SetGlobal (std::string name,
const AttributeValue &value);
162 void Connect (std::string path,
const CallbackBase &cb);
182 void Disconnect (std::string path,
const CallbackBase &cb);
196 typedef std::vector<Ptr<Object> >::const_iterator
Iterator;
206 const std::vector<std::string> &contexts,
227 std::size_t
GetN (
void)
const;
246 std::string
GetPath (
void)
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.
MatchContainer::Iterator end(void) const
MatchContainer::Iterator begin(void) const
bool SetFailSafe(std::string name, const AttributeValue &value)
std::size_t size(void) const
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 GetPath(void) const
MatchContainer::Iterator End(void) const
std::string GetMatchedPath(uint32_t i) const
bool ConnectFailSafe(std::string name, const CallbackBase &cb)
std::size_t GetN(void) 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)
std::vector< Ptr< Object > > m_objects
The list of objects in this container.
MatchContainer::Iterator Begin(void) const
std::vector< std::string > m_contexts
The context for each object.
void SetGlobal(std::string name, const AttributeValue &value)
bool SetFailSafe(std::string path, const AttributeValue &value)
void Reset(void)
Reset the initial value of every attribute as well as the value of every global to what they were bef...
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(void)
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.