A Discrete-Event Network Simulator
API
ns3::CallbackBase Class Reference

Base class for Callback class. More...

#include "callback.h"

Inherited by ns3::Callback< bool, ns3::Ptr< const ns3::Packet >, const ns3::Address &, uint32_t, uint32_t >, ns3::Callback< bool, ns3::Ptr< ns3::Socket >, const ns3::Address &>, ns3::Callback< bool, Ptr< NetDevice >, Ptr< const Packet >, uint16_t, const Address &, const Address &, enum PacketType >, ns3::Callback< bool, Ptr< NetDevice >, Ptr< const Packet >, uint16_t, const Address &>, ns3::Callback< bool, Ptr< Packet > >, ns3::Callback< bool, Ptr< Packet >, const Address &, const Address &, uint16_t >, ns3::Callback< bool, std::string >, ns3::Callback< bool, uint16_t, uint8_t >, ns3::Callback< ns3::ObjectBase *>, ns3::Callback< std::vector< ns3::Mac48Address >, uint32_t >, ns3::Callback< uint16_t >, ns3::Callback< uint32_t >, ns3::Callback< uint32_t, ns3::Mac48Address, ns3::Ptr< ns3::MeshWifiInterfaceMac > >, ns3::Callback< uint64_t >, ns3::Callback< uint64_t, const WifiTxVector &, uint16_t >, ns3::Callback< uint64_t, uint16_t, uint16_t, uint8_t >, ns3::Callback< void >, ns3::Callback< void, bool, uint64_t >, ns3::Callback< void, const ns3::Ipv4Header &, const ns3::TcpHeader &, ns3::Ptr< const ns3::Packet > >, ns3::Callback< void, const WifiMacHeader & >, ns3::Callback< void, DlInfoListElement_s >, ns3::Callback< void, double >, ns3::Callback< void, HeSigAParameters >, ns3::Callback< void, int >, ns3::Callback< void, int8_t >, ns3::Callback< void, LrWpanMacState >, ns3::Callback< void, LrWpanPhyEnumeration >, ns3::Callback< void, LrWpanPhyEnumeration, LrWpanPibAttributeIdentifier >, ns3::Callback< void, LrWpanPhyEnumeration, LrWpanPibAttributeIdentifier, LrWpanPhyPibAttributes *>, ns3::Callback< void, LrWpanPhyEnumeration, uint8_t >, ns3::Callback< void, McpsDataConfirmParams >, ns3::Callback< void, McpsDataIndicationParams, Ptr< Packet > >, ns3::Callback< void, MlmeBeaconNotifyIndicationParams, Ptr< Packet > >, ns3::Callback< void, MlmePollConfirmParams >, ns3::Callback< void, MlmeStartConfirmParams >, ns3::Callback< void, MlmeSyncLossIndicationParams >, ns3::Callback< void, ns3::Ipv4Address >, ns3::Callback< void, ns3::Ipv4Address, uint8_t >, ns3::Callback< void, ns3::Ipv4Address, uint8_t, uint8_t, uint8_t, uint32_t >, ns3::Callback< void, ns3::Ipv6Address, uint8_t, uint8_t, uint8_t, uint32_t >, ns3::Callback< void, ns3::Mac48Address, ns3::Mac48Address, uint32_t, bool >, ns3::Callback< void, ns3::Mac48Address, uint8_t >, ns3::Callback< void, ns3::Mac48Address, uint8_t, bool >, ns3::Callback< void, ns3::Ptr< const ns3::ArpCache >, ns3::Ipv4Address >, ns3::Callback< void, ns3::Ptr< const ns3::PacketBurst > >, ns3::Callback< void, ns3::Ptr< ns3::Packet > >, ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Header, uint16_t, ns3::Ptr< ns3::Ipv4Interface > >, ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv6Header, uint16_t, ns3::Ptr< ns3::Ipv6Interface > >, ns3::Callback< void, ns3::Ptr< ns3::Packet >, uint16_t, const ns3::Mac8Address & >, ns3::Callback< void, ns3::Ptr< ns3::Packet >, uint16_t, const ns3::Mac8Address &>, ns3::Callback< void, ns3::Ptr< ns3::Socket > >, ns3::Callback< void, ns3::Ptr< ns3::Socket >, const ns3::Address &>, ns3::Callback< void, ns3::Ptr< ns3::Socket >, uint32_t >, ns3::Callback< void, ns3::Ptr< ns3::TcpSocketMsgBase > >, ns3::Callback< void, ns3::TcpTxItem *>, ns3::Callback< void, ns3::WifiMacHeader const &>, ns3::Callback< void, Ptr< const Packet > >, ns3::Callback< void, Ptr< const Packet >, const TcpHeader &, Ptr< const TcpSocketBase > >, ns3::Callback< void, Ptr< const Packet >, Mac48Address, Mac48Address >, ns3::Callback< void, Ptr< const TcpSocketBase >, const SequenceNumber32 &, uint32_t, bool >, ns3::Callback< void, Ptr< const TcpSocketState >, Ptr< const TcpSocketBase > >, ns3::Callback< void, Ptr< NetDevice >, Ptr< const Packet >, uint16_t, const Address &, const Address &, NetDevice::PacketType >, ns3::Callback< void, Ptr< Packet > >, ns3::Callback< void, Ptr< Packet >, Ipv4Address, Ipv4Address, uint8_t, Ptr< Ipv4Route > >, ns3::Callback< void, Ptr< Packet >, Ipv6Address, Ipv6Address, uint8_t, Ptr< Ipv6Route > >, ns3::Callback< void, Ptr< WifiMacQueueItem > >, ns3::Callback< void, Ptr< WifiPsdu > >, ns3::Callback< void, Ptr< WifiPsdu >, RxSignalInfo, WifiTxVector, std::vector< bool > >, ns3::Callback< void, std::list< Ptr< LteControlMessage > > >, ns3::Callback< void, std::string, Ptr< const Packet > >, ns3::Callback< void, Ts... >, ns3::Callback< void, uint16_t, Ptr< SpectrumValue > >, ns3::Callback< void, uint16_t, uint16_t >, ns3::Callback< void, uint32_t >, ns3::Callback< void, uint32_t, Mac48Address, Mac48Address, PeerLink::PeerState, PeerLink::PeerState >, ns3::Callback< void, uint32_t, Ptr< Packet >, uint8_t >, ns3::Callback< void, uint8_t *, ssize_t >, ns3::Callback< void, uint8_t >, ns3::Callback< void, UlInfoListElement_s >, ns3::Callback< WifiCodeRate >, and ns3::Callback< R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >.

+ Collaboration diagram for ns3::CallbackBase:

Public Member Functions

 CallbackBase ()
 
Ptr< CallbackImplBaseGetImpl (void) const
 

Protected Member Functions

 CallbackBase (Ptr< CallbackImplBase > impl)
 Construct from a pimpl. More...
 

Protected Attributes

Ptr< CallbackImplBasem_impl
 the pimpl More...
 

Detailed Description

Base class for Callback class.

Provides pimpl abstraction.

Definition at line 1195 of file callback.h.

Constructor & Destructor Documentation

◆ CallbackBase() [1/2]

ns3::CallbackBase::CallbackBase ( )
inline

Definition at line 1198 of file callback.h.

◆ CallbackBase() [2/2]

ns3::CallbackBase::CallbackBase ( Ptr< CallbackImplBase impl)
inlineprotected

Construct from a pimpl.

Parameters
[in]implThe CallbackImplBase Ptr

Definition at line 1211 of file callback.h.

Member Function Documentation

◆ GetImpl()

Ptr<CallbackImplBase> ns3::CallbackBase::GetImpl ( void  ) const
inline
Returns
The impl pointer

Definition at line 1201 of file callback.h.

References m_impl.

Referenced by ns3::Callback< void, int8_t >::Assign(), ns3::Callback< void, int8_t >::CheckType(), ns3::Callback< void, int8_t >::IsEqual(), and ns3::CallbackValue::SerializeToString().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_impl


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