A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Attributes

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...

+ Collaboration diagram for Attributes:

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.
 

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::BooleanValue
 Hold a bool native type. More...
 
class  ns3::DoubleValue
 Hold a floating point type. More...
 
class  ns3::EmptyAttributeValue
 A class for an empty attribute value. More...
 
class  ns3::EnumValue
 hold variables of type 'enum' More...
 
class  ns3::IntegerValue
 Hold a signed integer type. More...
 
class  ns3::PointerValue
 hold objects of type Ptr<T> More...
 
class  ns3::StringValue
 hold variables of type string More...
 
class  ns3::UintegerValue
 Hold an unsigned integer type. More...
 

Detailed Description

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.