AttributeValue implementation for Tuple. More...
Collaboration diagram for Tuple Attribute:Classes | |
| class | ns3::TupleChecker |
| Checker for attribute values storing tuples. More... | |
| class | ns3::internal::TupleChecker< Args > |
| Internal checker class templated to each AttributeChecker for each entry in the tuple. More... | |
| struct | ns3::internal::TupleHelper< Args > |
| Helper class defining static methods for MakeTupleChecker and MakeTupleAccessor that are called when user specifies the list of AttributeValue types included in a TupleValue type. More... | |
| struct | ns3::internal::TupleHelper< std::tuple< Args... > > |
| Helper class defining static methods for MakeTupleValue, MakeTupleChecker and MakeTupleAccessor that are called when user provides a std::tuple of the AttributeValue types included in a TupleValue type. More... | |
| class | ns3::TupleValue< Args > |
| AttributeValue implementation for Tuple. More... | |
Functions | |
| template<class... Args, class T1> | |
| Ptr< const AttributeAccessor > | ns3::MakeTupleAccessor (T1 a1) |
| Create an AttributeAccessor for a class data member of type tuple, or a lone class get functor or set method. | |
| template<class... Args, class T1, class T2> | |
| Ptr< const AttributeAccessor > | ns3::MakeTupleAccessor (T1 a1, T2 a2) |
| Create an AttributeAccessor using a pair of get functor and set methods from a class. | |
| template<class... Args, class... Ts> | |
| Ptr< const AttributeChecker > | ns3::MakeTupleChecker (Ts... checkers) |
| Create a TupleChecker from AttributeCheckers associated with TupleValue elements. | |
| template<class T1, class T2> | |
| auto | ns3::MakeTupleValue (T2 t) |
| Create a TupleValue object. | |
AttributeValue implementation for Tuple.
| Ptr< const AttributeAccessor > ns3::MakeTupleAccessor | ( | T1 | a1 | ) |
Create an AttributeAccessor for a class data member of type tuple, or a lone class get functor or set method.
| Args | [explicit] Attribute value types |
| T1 | [deduced] The type of the class data member, or the type of the class get functor or set method. |
| a1 | The address of the data member, or the get or set method. |
Definition at line 539 of file tuple.h.
References MakeTupleAccessor().
Referenced by DataRateTupleObject::GetTypeId(), ns3::VhtConfiguration::GetTypeId(), TupleObject::GetTypeId(), MakeTupleAccessor(), and MakeTupleAccessor().
Here is the call graph for this function:
Here is the caller graph for this function:| Ptr< const AttributeAccessor > ns3::MakeTupleAccessor | ( | T1 | a1, |
| T2 | a2 ) |
Create an AttributeAccessor using a pair of get functor and set methods from a class.
| Args | [explicit] Attribute value types |
| T1 | [deduced] The type of the class data member, or the type of the class get functor or set method. |
| T2 | [deduced] The type of the getter class functor method. |
| a2 | The address of the class method to set the attribute. |
| a1 | The address of the data member, or the get or set method. |
Definition at line 546 of file tuple.h.
References MakeTupleAccessor().
Here is the call graph for this function:| Ptr< const AttributeChecker > ns3::MakeTupleChecker | ( | Ts... | checkers | ) |
Create a TupleChecker from AttributeCheckers associated with TupleValue elements.
| Args | [explicit] Attribute value types |
| Ts | [deduced] Attribute checker types |
| checkers | attribute checkers |
Definition at line 532 of file tuple.h.
References MakeTupleChecker().
Referenced by AttributeContainerSerializationTestCase::DoRun(), ns3::WifiPhy::GetChannelSegmentsChecker(), DataRateTupleObject::GetTypeId(), ns3::VhtConfiguration::GetTypeId(), TupleObject::GetTypeId(), and MakeTupleChecker().
Here is the call graph for this function:
Here is the caller graph for this function:| auto ns3::MakeTupleValue | ( | T2 | t | ) |
Create a TupleValue object.
Enable to write code like this snippet:
| T1 | [explicit] A std::tuple of the AttributeValue types included in TupleValue |
| T2 | [deduced] A std::tuple of the type of elements stored by TupleValue |
| t | the tuple of elements stored by TupleValue |
Definition at line 525 of file tuple.h.
References MakeTupleValue().
Referenced by TupleValueTestCase::DoRun(), TupleObject::GetTypeId(), and MakeTupleValue().
Here is the call graph for this function:
Here is the caller graph for this function: