The ns-3
attribute system is the mechanism used in ns-3
to organize, document, and modify the values used by the various component models.
More...
Modules | |
Attribute Helper | |
All these macros can be used to generate automatically the code for subclasses of AttributeValue, AttributeAccessor, and, AttributeChecker, which can be used to give attribute powers to a normal class. | |
Files | |
file | attribute.cc |
ns3::AttributeValue, ns3::AttributeAccessor and ns3::AttributeChecker implementations. | |
file | attribute.h |
ns3::AttributeValue, ns3::AttributeAccessor and ns3::AttributeChecker declarations. | |
Classes | |
class | ns3::AttributeAccessor |
allow setting and getting the value of an attribute. More... | |
class | ns3::AttributeChecker |
Represent the type of an attribute. More... | |
class | ns3::AttributeValue |
Hold a value for an Attribute. More... | |
class | ns3::EmptyAttributeValue |
A class for an empty attribute value. More... | |
Functions | |
static Ptr< const AttributeAccessor > | ns3::MakeEmptyAttributeAccessor () |
Create an empty AttributeAccessor. More... | |
static Ptr< AttributeChecker > | ns3::MakeEmptyAttributeChecker () |
Create an empty AttributeChecker. More... | |
The ns-3
attribute system is the mechanism used in ns-3
to organize, document, and modify the values used by the various component models.
Attributes also enable the tracing and statistics gathering in the simulator.
See Attribute Helper for macros to ease the declaration and definition of Attributes.
|
inlinestatic |
Create an empty AttributeAccessor.
Definition at line 286 of file attribute.h.
Referenced by DeprecatedAttribute::GetTypeId().
|
inlinestatic |
Create an empty AttributeChecker.
Definition at line 318 of file attribute.h.
Referenced by DeprecatedAttribute::GetTypeId().