Record in this TypeId the fact that a new attribute exists.
Record a new TraceSource.
- Parameters
-
[in] | name | The name of the new attribute |
[in] | help | Some help text which describes the purpose of this attribute. |
[in] | initialValue | The initial value for this attribute. |
[in] | accessor | An instance of the associated AttributeAccessor subclass. |
[in] | checker | An instance of the associated AttributeChecker subclass. |
[in] | supportLevel | Support/deprecation status of the attribute. |
[in] | supportMsg | Upgrade hint if this attribute is no longer supported. If the attribute is DEPRECATED the attribute behavior still exists, but user code should be updated following guidance in the hint.. If the attribute is OBSOLETE , the hint should indicate which class the attribute functional has been moved to, or that the functionality is no longer supported. See test file for examples. |
- Returns
- This TypeId instance
- Parameters
-
[in] | name | The name of the new trace source |
[in] | help | Some help text which describes the purpose of this trace source. |
[in] | accessor | A pointer to a TraceSourceAccessor which can be used to connect/disconnect sinks to this trace source. |
[in] | callback | Fully qualified typedef name for the callback signature. Generally this should begin with the "ns3::" namespace qualifier. |
[in] | supportLevel | Support/deprecation status of the attribute. |
[in] | supportMsg | Upgrade hint if this attribute is no longer supported. If the attribute is DEPRECATED the attribute behavior still exists, but user code should be updated following guidance in the hint.. If the attribute is OBSOLETE , the hint should indicate which class the attribute functional has been moved to, or that the functionality is no longer supported. See test file for examples. |
- Returns
- This TypeId instance.
Definition in file type-id-test-suite.cc.