AttributeValue implementation for ObjectPtrContainer More...
Files | |
file | object-ptr-container.cc |
ns3::ObjectPtrContainerValue attribute value implementations. | |
file | object-ptr-container.h |
ns3::ObjectPtrContainerValue attribute value declarations and template implementations. | |
Classes | |
class | ns3::ObjectPtrContainerAccessor |
AttributeAccessor implementation for ObjectPtrContainerValue. More... | |
class | ns3::ObjectPtrContainerChecker |
AttributeChecker implementation for ObjectPtrContainerValue. More... | |
class | ns3::ObjectPtrContainerValue |
Container for a set of ns3::Object pointers. More... | |
Functions | |
template<typename T , typename U , typename INDEX > | |
Ptr< const AttributeAccessor > | ns3::MakeObjectPtrContainerAccessor (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::MakeObjectPtrContainerAccessor (Ptr< U >(T::*get)(INDEX) const, INDEX(T::*getN)() const) |
Create an AttributeAccessor using a container class indexed get method. | |
template<typename T > | |
Ptr< const AttributeChecker > | ns3::MakeObjectPtrContainerChecker () |
AttributeValue implementation for ObjectPtrContainer
Ptr< const AttributeAccessor > ns3::MakeObjectPtrContainerAccessor | ( | 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 307 of file object-ptr-container.h.
References ns3::MakeObjectPtrContainerAccessor().
Ptr< const AttributeAccessor > ns3::MakeObjectPtrContainerAccessor | ( | 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 272 of file object-ptr-container.h.
Referenced by ns3::MakeObjectMapAccessor(), ns3::MakeObjectMapAccessor(), ns3::MakeObjectPtrContainerAccessor(), ns3::MakeObjectVectorAccessor(), and ns3::MakeObjectVectorAccessor().
Ptr< const AttributeChecker > ns3::MakeObjectPtrContainerChecker | ( | ) |
Definition at line 314 of file object-ptr-container.h.
References ns3::Create().
Referenced by ns3::MakeObjectMapChecker(), and ns3::MakeObjectVectorChecker().