A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
attribute-accessor-helper.h File Reference

ns3::MakeAccessorHelper declarations and template implementations. More...

#include "attribute.h"
#include "type-traits.h"
+ Include dependency graph for attribute-accessor-helper.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ns3::AccessorHelper< T, U >
 Basic functionality for accessing class attributes via class data members, or get functor/set methods. More...
 
struct  ns3::AccessorTrait< T >
 The non-const and non-reference type equivalent to T. More...
 

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Functions

template<typename V , typename T , typename U >
Ptr< const AttributeAccessor > ns3::DoMakeAccessorHelperOne (U T::*memberVariable)
 MakeAccessorHelper implementation for a class data member.
 
template<typename V , typename T , typename U >
Ptr< const AttributeAccessor > ns3::DoMakeAccessorHelperOne (U(T::*getter)() const)
 MakeAccessorHelper implementation for a class get functor method.
 
template<typename V , typename T , typename U >
Ptr< const AttributeAccessor > ns3::DoMakeAccessorHelperOne (void(T::*setter)(U))
 MakeAccessorHelper implementation for a class set method returning void.
 
template<typename W , typename T , typename U , typename V >
Ptr< const AttributeAccessor > ns3::DoMakeAccessorHelperTwo (bool(T::*setter)(U), V(T::*getter)() const)
 MakeAccessorHelper implementation with a class get functor method and a class set method returning bool.
 
template<typename W , typename T , typename U , typename V >
Ptr< const AttributeAccessor > ns3::DoMakeAccessorHelperTwo (V(T::*getter)() const, bool(T::*setter)(U))
 
template<typename W , typename T , typename U , typename V >
Ptr< const AttributeAccessor > ns3::DoMakeAccessorHelperTwo (V(T::*getter)() const, void(T::*setter)(U))
 
template<typename W , typename T , typename U , typename V >
Ptr< const AttributeAccessor > ns3::DoMakeAccessorHelperTwo (void(T::*setter)(U), V(T::*getter)() const)
 MakeAccessorHelper implementation with a class get functor method and a class set method returning void.
 
template<typename V , typename T1 >
Ptr< const AttributeAccessor > ns3::MakeAccessorHelper (T1 a1)
 Create an AttributeAccessor for a class data member, or a lone class get functor or set method.
 
template<typename V , typename T1 , typename T2 >
Ptr< const AttributeAccessor > ns3::MakeAccessorHelper (T1 a1, T2 a2)
 Create an AttributeAccessor using a pair of get functor and set methods from a class.
 

Detailed Description

ns3::MakeAccessorHelper declarations and template implementations.

Definition in file attribute-accessor-helper.h.