AttributeAccessor implementation for ObjectPtrContainerValue. More...
#include "object-ptr-container.h"
 Inheritance diagram for ns3::ObjectPtrContainerAccessor:
 Inheritance diagram for ns3::ObjectPtrContainerAccessor: Collaboration diagram for ns3::ObjectPtrContainerAccessor:
 Collaboration diagram for ns3::ObjectPtrContainerAccessor:| Public Member Functions | |
| virtual bool | Get (const ObjectBase *object, AttributeValue &value) const | 
| virtual bool | HasGetter (void) const | 
| virtual bool | HasSetter (void) const | 
| virtual bool | Set (ObjectBase *object, const AttributeValue &value) const | 
|  Public Member Functions inherited from ns3::AttributeAccessor | |
| AttributeAccessor () | |
| virtual | ~AttributeAccessor () | 
|  Public Member Functions inherited from ns3::SimpleRefCount< AttributeAccessor > | |
| SimpleRefCount () | |
| Default constructor.  More... | |
| SimpleRefCount (const SimpleRefCount &o) | |
| Copy constructor.  More... | |
| uint32_t | GetReferenceCount (void) const | 
| Get the reference count of the object.  More... | |
| SimpleRefCount & | operator= (const SimpleRefCount &o) | 
| Assignment operator.  More... | |
| void | Ref (void) const | 
| Increment the reference count.  More... | |
| void | Unref (void) const | 
| Decrement the reference count.  More... | |
| Private Member Functions | |
| virtual Ptr< Object > | DoGet (const ObjectBase *object, std::size_t i, std::size_t *index) const =0 | 
| Get an instance from the container, identified by index.  More... | |
| virtual bool | DoGetN (const ObjectBase *object, std::size_t *n) const =0 | 
| Get the number of instances in the container.  More... | |
AttributeAccessor implementation for ObjectPtrContainerValue.
Definition at line 216 of file object-ptr-container.h.
| 
 | privatepure virtual | 
Get an instance from the container, identified by index.
| [in] | object | The container object. | 
| [in] | i | The desired instance index. | 
| [out] | index | The index retrieved. | 
Referenced by Get().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | privatepure virtual | 
Get the number of instances in the container.
| [in] | object | The container object. | 
| [out] | n | The number of instances in the container. | 
Referenced by Get().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | virtual | 
| [in,out] | object | The object instance to get the value from | 
| [out] | attribute | A pointer to where the value should be set. | 
This method expects that the caller has checked that the input value is valid with AttributeChecker::Check.
Implements ns3::AttributeAccessor.
Definition at line 107 of file object-ptr-container.cc.
References DoGet(), DoGetN(), ns3::ObjectPtrContainerValue::m_objects, sample-rng-plot::n, and NS_LOG_FUNCTION.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | virtual | 
Implements ns3::AttributeAccessor.
Definition at line 131 of file object-ptr-container.cc.
References NS_LOG_FUNCTION.
| 
 | virtual | 
Implements ns3::AttributeAccessor.
Definition at line 137 of file object-ptr-container.cc.
References NS_LOG_FUNCTION.
| 
 | virtual | 
| [in,out] | object | The object instance to set the value in | 
| [in] | value | The value to set | 
This method expects that the caller has checked that the input value is valid with AttributeChecker::Check.
Implements ns3::AttributeAccessor.
Definition at line 100 of file object-ptr-container.cc.
References NS_LOG_FUNCTION.