#include <object-ptr-container.h>
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 () | |
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. 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, uint32_t i, uint32_t *index) const =0 |
virtual bool | DoGetN (const ObjectBase *object, uint32_t *n) const =0 |
Additional Inherited Members | |
Static Public Member Functions inherited from ns3::SimpleRefCount< AttributeAccessor > | |
static void | Cleanup (void) |
Noop. More... | |
Definition at line 135 of file object-ptr-container.h.
|
privatepure virtual |
|
privatepure virtual |
|
virtual |
object | the object instance to get the value from |
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 101 of file object-ptr-container.cc.
References DoGet(), DoGetN(), ns3::ObjectPtrContainerValue::m_objects, and NS_LOG_FUNCTION.
|
virtual |
Implements ns3::AttributeAccessor.
Definition at line 125 of file object-ptr-container.cc.
References NS_LOG_FUNCTION.
|
virtual |
Implements ns3::AttributeAccessor.
Definition at line 131 of file object-ptr-container.cc.
References NS_LOG_FUNCTION.
|
virtual |
object | the object instance to set the value 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 94 of file object-ptr-container.cc.
References NS_LOG_FUNCTION.