A Discrete-Event Network Simulator
API
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

 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. More...
 
template<typename V , typename T , typename U >
Ptr< const AttributeAccessor > ns3::DoMakeAccessorHelperOne (U(T::*getter)(void) const)
 MakeAccessorHelper implementation for a class get functor method. More...
 
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. More...
 
template<typename W , typename T , typename U , typename V >
Ptr< const AttributeAccessor > ns3::DoMakeAccessorHelperTwo (bool(T::*setter)(U), V(T::*getter)(void) const)
 MakeAccessorHelper implementation with a class get functor method and a class set method returning bool. More...
 
template<typename W , typename T , typename U , typename V >
Ptr< const AttributeAccessor > ns3::DoMakeAccessorHelperTwo (V(T::*getter)(void) const, bool(T::*setter)(U))
 MakeAccessorHelper implementation with a class get functor method and a class set method returning bool. More...
 
template<typename W , typename T , typename U , typename V >
Ptr< const AttributeAccessor > ns3::DoMakeAccessorHelperTwo (V(T::*getter)(void) const, void(T::*setter)(U))
 MakeAccessorHelper implementation with a class get functor method and a class set method returning void. More...
 
template<typename W , typename T , typename U , typename V >
Ptr< const AttributeAccessor > ns3::DoMakeAccessorHelperTwo (void(T::*setter)(U), V(T::*getter)(void) const)
 MakeAccessorHelper implementation with a class get functor method and a class set method returning void. More...
 
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. More...
 
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. More...
 

Detailed Description

ns3::MakeAccessorHelper declarations and template implementations.

Definition in file attribute-accessor-helper.h.