Public Member Functions | |
virtual bool | Get (const ObjectBase *object, AttributeValue &val) const |
virtual bool | Set (ObjectBase *object, const AttributeValue &val) const |
Public Member Functions inherited from ns3::AttributeAccessor | |
virtual bool | HasGetter (void) const =0 |
virtual bool | HasSetter (void) const =0 |
Public Member Functions inherited from ns3::SimpleRefCount< AttributeAccessor > | |
SimpleRefCount (const SimpleRefCount &o) | |
uint32_t | GetReferenceCount (void) const |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
Private Member Functions | |
virtual bool | DoGet (const T *object, U *v) const =0 |
virtual bool | DoSet (T *object, const U *v) const =0 |
Additional Inherited Members | |
Static Public Member Functions inherited from ns3::SimpleRefCount< AttributeAccessor > | |
static void | Cleanup (void) |
Definition at line 58 of file attribute-accessor-helper.h.
|
inlinevirtual |
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 77 of file attribute-accessor-helper.h.
|
inlinevirtual |
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 63 of file attribute-accessor-helper.h.