AttributeValue implementation for ObjectMap More...
Files | |
file | object-map.h |
ns3::ObjectMap attribute value declarations and template implementations. | |
Classes | |
class | ObjectMapChecker |
AttributeChecker implementation for ObjectMapValue. More... | |
Typedefs | |
typedef ObjectPtrContainerValue | ns3::ObjectMapValue |
ObjectMapValue is an alias for ObjectPtrContainerValue. | |
Functions | |
template<typename T , typename U , typename INDEX > | |
Ptr< const AttributeAccessor > | ns3::MakeObjectMapAccessor (INDEX(T::*getN)() const, Ptr< U >(T::*get)(INDEX) const) |
Create an AttributeAccessor using a container class indexed get method. | |
template<typename T , typename U , typename INDEX > | |
Ptr< const AttributeAccessor > | ns3::MakeObjectMapAccessor (Ptr< U >(T::*get)(INDEX) const, INDEX(T::*getN)() const) |
Create an AttributeAccessor using a container class indexed get method. | |
template<typename T , typename U > | |
Ptr< const AttributeAccessor > | ns3::MakeObjectMapAccessor (U T::*memberVariable) |
MakeAccessorHelper implementation for ObjectVector. | |
template<typename T > | |
Ptr< const AttributeChecker > | ns3::MakeObjectMapChecker () |
AttributeValue implementation for ObjectMap
ObjectMapValue is an alias for ObjectPtrContainerValue.
Definition at line 29 of file object-map.h.
Ptr< const AttributeAccessor > ns3::MakeObjectMapAccessor | ( | INDEX(T::* | getN )() const, |
Ptr< U >(T::* | get )(INDEX) const ) |
Create an AttributeAccessor using a container class indexed get method.
The two versions of this function differ only in argument order.
T | [deduced] The container class type. |
U | [deduced] The type of object the get method returns. |
INDEX | [deduced] The type of the index variable. |
[in] | get | The class method to get a specific instance from the container. |
[in] | getN | The class method to return the number of objects in the container. |
Definition at line 124 of file object-map.h.
References ns3::MakeObjectPtrContainerAccessor().
Ptr< const AttributeAccessor > ns3::MakeObjectMapAccessor | ( | Ptr< U >(T::* | get )(INDEX) const, |
INDEX(T::* | getN )() const ) |
Create an AttributeAccessor using a container class indexed get method.
The two versions of this function differ only in argument order.
T | [deduced] The container class type. |
U | [deduced] The type of object the get method returns. |
INDEX | [deduced] The type of the index variable. |
[in] | get | The class method to get a specific instance from the container. |
[in] | getN | The class method to return the number of objects in the container. |
Definition at line 117 of file object-map.h.
References ns3::MakeObjectPtrContainerAccessor().
Ptr< const AttributeAccessor > ns3::MakeObjectMapAccessor | ( | U T::* | memberVariable | ) |
MakeAccessorHelper implementation for ObjectVector.
V | [explicit] The specific AttributeValue type to use to represent the Attribute. |
T | [deduced] The class holding the data member. |
U | [deduced] The type of the data member. |
[in] | memberVariable | The address of the data member. |
Definition at line 65 of file object-map.h.
References NS_ASSERT.
Referenced by AttributeObjectTest::GetTypeId(), ns3::LteEnbNetDevice::GetTypeId(), ns3::LteEnbRrc::GetTypeId(), ns3::LteUeNetDevice::GetTypeId(), ns3::LteUeRrc::GetTypeId(), ns3::TcpL4Protocol::GetTypeId(), ns3::TrafficControlLayer::GetTypeId(), ns3::UdpL4Protocol::GetTypeId(), and ns3::UeManager::GetTypeId().
Ptr< const AttributeChecker > ns3::MakeObjectMapChecker | ( | ) |
Definition at line 110 of file object-map.h.
References ns3::MakeObjectPtrContainerChecker().
Referenced by AttributeObjectTest::GetTypeId(), ns3::LteEnbNetDevice::GetTypeId(), ns3::LteEnbRrc::GetTypeId(), ns3::LteUeNetDevice::GetTypeId(), ns3::LteUeRrc::GetTypeId(), ns3::TcpL4Protocol::GetTypeId(), ns3::TrafficControlLayer::GetTypeId(), ns3::UdpL4Protocol::GetTypeId(), and ns3::UeManager::GetTypeId().