A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ObjectMap Attribute

AttributeValue implementation for ObjectMap More...

+ Collaboration diagram for ObjectMap Attribute:

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 AttributeAccessorns3::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 AttributeAccessorns3::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 AttributeAccessorns3::MakeObjectMapAccessor (U T::*memberVariable)
 MakeAccessorHelper implementation for ObjectVector.
 
template<typename T >
Ptr< const AttributeCheckerns3::MakeObjectMapChecker ()
 

Detailed Description

AttributeValue implementation for ObjectMap

Typedef Documentation

◆ ObjectMapValue

ObjectMapValue is an alias for ObjectPtrContainerValue.

Definition at line 29 of file object-map.h.

Function Documentation

◆ MakeObjectMapAccessor() [1/3]

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.

The two versions of this function differ only in argument order.

Template Parameters
T[deduced] The container class type.
U[deduced] The type of object the get method returns.
INDEX[deduced] The type of the index variable.
Parameters
[in]getThe class method to get a specific instance from the container.
[in]getNThe class method to return the number of objects in the container.
Returns
The AttributeAccessor.

Definition at line 124 of file object-map.h.

References ns3::MakeObjectPtrContainerAccessor().

+ Here is the call graph for this function:

◆ MakeObjectMapAccessor() [2/3]

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.

The two versions of this function differ only in argument order.

Template Parameters
T[deduced] The container class type.
U[deduced] The type of object the get method returns.
INDEX[deduced] The type of the index variable.
Parameters
[in]getThe class method to get a specific instance from the container.
[in]getNThe class method to return the number of objects in the container.
Returns
The AttributeAccessor.

Definition at line 117 of file object-map.h.

References ns3::MakeObjectPtrContainerAccessor().

+ Here is the call graph for this function:

◆ MakeObjectMapAccessor() [3/3]

template<typename T , typename U >
Ptr< const AttributeAccessor > ns3::MakeObjectMapAccessor ( U T::* memberVariable)

MakeAccessorHelper implementation for ObjectVector.

Template Parameters
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.
Parameters
[in]memberVariableThe address of the data member.
Returns
The AttributeAccessor.

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

+ Here is the caller graph for this function:

◆ MakeObjectMapChecker()

template<typename T >
Ptr< const AttributeChecker > ns3::MakeObjectMapChecker ( )
Returns
The AttributeChecker.
See also
AttributeChecker

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function: