A Discrete-Event Network Simulator
API
ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 > Class Template Reference

CallbackImpl for functors with first three arguments bound at construction. More...

#include "callback.h"

+ Inheritance diagram for ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >:
+ Collaboration diagram for ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >:

Public Member Functions

template<typename FUNCTOR , typename ARG1 , typename ARG2 , typename ARG3 >
 ThreeBoundFunctorCallbackImpl (FUNCTOR functor, ARG1 arg1, ARG2 arg2, ARG3 arg3)
 Construct from functor and three arguments. More...
 
virtual ~ThreeBoundFunctorCallbackImpl ()
 
virtual bool IsEqual (Ptr< const CallbackImplBase > other) const
 Equality test. More...
 
operator() (void)
 Functor with varying numbers of arguments. More...
 
operator() (T1 a1)
 
operator() (T1 a1, T2 a2)
 
operator() (T1 a1, T2 a2, T3 a3)
 
operator() (T1 a1, T2 a2, T3 a3, T4 a4)
 
operator() (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5)
 
operator() (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6)
 
- Public Member Functions inherited from ns3::CallbackImpl< R, T1, T2, T3, T4, T5, T6, empty, empty, empty >
virtual ~CallbackImpl ()
 
virtual std::string GetTypeid (void) const
 Get the name of this object type. More...
 
- Public Member Functions inherited from ns3::CallbackImplBase
virtual ~CallbackImplBase ()
 Virtual destructor. More...
 
- Public Member Functions inherited from ns3::SimpleRefCount< CallbackImplBase >
 SimpleRefCount ()
 Default constructor. More...
 
 SimpleRefCount (const SimpleRefCount &o)
 Copy constructor. More...
 
uint32_t GetReferenceCount (void) const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 Assignment operator. More...
 
void Ref (void) const
 Increment the reference count. More...
 
void Unref (void) const
 Decrement the reference count. More...
 

Private Attributes

TypeTraits< TX1 >::ReferencedType m_a1
 first bound argument More...
 
TypeTraits< TX2 >::ReferencedType m_a2
 second bound argument More...
 
TypeTraits< TX3 >::ReferencedType m_a3
 third bound argument More...
 
m_functor
 The functor. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ns3::CallbackImpl< R, T1, T2, T3, T4, T5, T6, empty, empty, empty >
static std::string DoGetTypeid (void)
 Get the name of this object type. More...
 
- Static Protected Member Functions inherited from ns3::CallbackImplBase
static std::string Demangle (const std::string &mangled)
 
template<typename T >
static std::string GetCppTypeid (void)
 Helper to get the C++ typeid as a string. More...
 

Detailed Description

template<typename T, typename R, typename TX1, typename TX2, typename TX3, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
class ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >

CallbackImpl for functors with first three arguments bound at construction.

Definition at line 993 of file callback.h.

Constructor & Destructor Documentation

template<typename T, typename R, typename TX1, typename TX2, typename TX3, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
template<typename FUNCTOR , typename ARG1 , typename ARG2 , typename ARG3 >
ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::ThreeBoundFunctorCallbackImpl ( FUNCTOR  functor,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3 
)
inline

Construct from functor and three arguments.

Parameters
[in]functorThe functor
[in]arg1The first argument to bind
[in]arg2The second argument to bind
[in]arg3The third argument to bind

Definition at line 1003 of file callback.h.

template<typename T, typename R, typename TX1, typename TX2, typename TX3, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
virtual ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::~ThreeBoundFunctorCallbackImpl ( )
inlinevirtual

Definition at line 1005 of file callback.h.

Member Function Documentation

template<typename T, typename R, typename TX1, typename TX2, typename TX3, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
virtual bool ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::IsEqual ( Ptr< const CallbackImplBase other) const
inlinevirtual
template<typename T, typename R, typename TX1, typename TX2, typename TX3, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
R ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::operator() ( void  )
inline

Functor with varying numbers of arguments.

Returns
Callback value

Definition at line 1011 of file callback.h.

template<typename T, typename R, typename TX1, typename TX2, typename TX3, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
R ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::operator() ( T1  a1)
inline
Parameters
[in]a1First argument
Returns
Callback value

Definition at line 1018 of file callback.h.

template<typename T, typename R, typename TX1, typename TX2, typename TX3, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
R ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::operator() ( T1  a1,
T2  a2 
)
inline
Parameters
[in]a1First argument
[in]a2Second argument
Returns
Callback value

Definition at line 1026 of file callback.h.

template<typename T, typename R, typename TX1, typename TX2, typename TX3, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
R ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::operator() ( T1  a1,
T2  a2,
T3  a3 
)
inline
Parameters
[in]a1First argument
[in]a2Second argument
[in]a3Third argument
Returns
Callback value

Definition at line 1035 of file callback.h.

template<typename T, typename R, typename TX1, typename TX2, typename TX3, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
R ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::operator() ( T1  a1,
T2  a2,
T3  a3,
T4  a4 
)
inline
Parameters
[in]a1First argument
[in]a2Second argument
[in]a3Third argument
[in]a4Fourth argument
Returns
Callback value

Definition at line 1045 of file callback.h.

template<typename T, typename R, typename TX1, typename TX2, typename TX3, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
R ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::operator() ( T1  a1,
T2  a2,
T3  a3,
T4  a4,
T5  a5 
)
inline
Parameters
[in]a1First argument
[in]a2Second argument
[in]a3Third argument
[in]a4Fourth argument
[in]a5Fifth argument
Returns
Callback value

Definition at line 1056 of file callback.h.

template<typename T, typename R, typename TX1, typename TX2, typename TX3, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
R ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::operator() ( T1  a1,
T2  a2,
T3  a3,
T4  a4,
T5  a5,
T6  a6 
)
inlinevirtual
Parameters
[in]a1First argument
[in]a2Second argument
[in]a3Third argument
[in]a4Fourth argument
[in]a5Fifth argument
[in]a6Sixth argument
Returns
Callback value

Implements ns3::CallbackImpl< R, T1, T2, T3, T4, T5, T6, empty, empty, empty >.

Definition at line 1068 of file callback.h.

Member Data Documentation

template<typename T, typename R, typename TX1, typename TX2, typename TX3, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
TypeTraits<TX1>::ReferencedType ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a1
private
template<typename T, typename R, typename TX1, typename TX2, typename TX3, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
TypeTraits<TX2>::ReferencedType ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a2
private
template<typename T, typename R, typename TX1, typename TX2, typename TX3, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
TypeTraits<TX3>::ReferencedType ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a3
private
template<typename T, typename R, typename TX1, typename TX2, typename TX3, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
T ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_functor
private

The documentation for this class was generated from the following file: