Build bound Callbacks which take varying numbers of arguments, and potentially returning a value. More...
Collaboration diagram for MakeBoundCallback from functions bound with up to three arguments.:| template<typename R , typename... Args, typename... BArgs> | |
| auto | ns3::MakeBoundCallback (R(*fnPtr)(Args...), BArgs &&... bargs) |
| Make Callbacks with varying number of bound arguments. | |
| template<typename T , typename OBJ , typename R , typename... Args, typename... BArgs> | |
| auto | ns3::MakeCallback (R(T::*memPtr)(Args...), OBJ objPtr, BArgs... bargs) |
Build bound Callbacks which take varying numbers of arguments, and potentially returning a value.
The following is experimental code. It works but we have not yet determined whether or not it is really useful and whether or not we really want to use it.
| auto ns3::MakeBoundCallback | ( | R(*)(Args...) | fnPtr, |
| BArgs &&... | bargs | ||
| ) |
Make Callbacks with varying number of bound arguments.
| R | [deduced] Return type of the callback function.. |
| Args | [deduced] Type list of any arguments to the member function. |
| BArgs | [deduced] Type list of bound arguments. |
| [in] | fnPtr | Function pointer |
| [in] | bargs | Bound arguments |
Definition at line 768 of file callback.h.
Referenced by ns3::LteHelper::ActivateDataRadioBearer(), ns3::CommandLine::AddValue(), ns3::RadioBearerStatsConnector::ConnectTracesDrbEnb(), ns3::RadioBearerStatsConnector::ConnectTracesDrbUe(), ns3::RadioBearerStatsConnector::ConnectTracesSrb0(), ns3::RadioBearerStatsConnector::ConnectTracesSrb1(), ns3::DsssPhy::CreateDsssMode(), ns3::EhtPhy::CreateEhtMcs(), ns3::ErpOfdmPhy::CreateErpOfdmMode(), ns3::HePhy::CreateHeMcs(), ns3::HtPhy::CreateHtMcs(), ns3::OfdmPhy::CreateOfdmMode(), ns3::VhtPhy::CreateVhtMcs(), MakeBoundCallbackTestCase::DoRun(), MakeCallbackTemplatesTestCase::DoRun(), LrWpanCcaTestCase::DoRun(), LrWpanDataIfsTestCase::DoRun(), LrWpanSlottedCsmacaTestCase::DoRun(), CarrierAggregationTestCase::DoRun(), LteCqiGenerationTestCase::DoRun(), LteCqiGenerationDlPowerControlTestCase::DoRun(), LteDownlinkPowerControlRrcConnectionReconfigurationTestCase::DoRun(), LteHardFrTestCase::DoRun(), LteStrictFrTestCase::DoRun(), LteStrictFrAreaTestCase::DoRun(), LteSoftFrAreaTestCase::DoRun(), LteSoftFfrAreaTestCase::DoRun(), LteEnhancedFfrAreaTestCase::DoRun(), LteDistributedFfrAreaTestCase::DoRun(), LteInterferenceTestCase::DoRun(), LteLinkAdaptationTestCase::DoRun(), LteUeMeasurementsTestCase::DoRun(), LteUplinkOpenLoopPowerControlTestCase::DoRun(), LteUplinkClosedLoopPowerControlAbsoluteModeTestCase::DoRun(), LteUplinkClosedLoopPowerControlAccumulatedModeTestCase::DoRun(), WifiAcMappingTest::DoRun(), ns3::MobilityHelper::EnableAscii(), ns3::UanHelper::EnableAscii(), ns3::WimaxHelper::EnableAsciiForConnection(), ns3::CsmaHelper::EnableAsciiInternal(), ns3::FdNetDeviceHelper::EnableAsciiInternal(), ns3::LrWpanHelper::EnableAsciiInternal(), ns3::PointToPointHelper::EnableAsciiInternal(), ns3::YansWavePhyHelper::EnableAsciiInternal(), ns3::WifiPhyHelper::EnableAsciiInternal(), ns3::WimaxHelper::EnableAsciiInternal(), ns3::InternetStackHelper::EnableAsciiIpv4Internal(), ns3::InternetStackHelper::EnableAsciiIpv6Internal(), ns3::LteHelper::EnableDlMacTraces(), ns3::LteHelper::EnableDlPhyTraces(), ns3::LteHelper::EnableDlRxPhyTraces(), ns3::LteHelper::EnableDlTxPhyTraces(), ns3::WimaxHelper::EnablePcapInternal(), ns3::LrWpanHelper::EnablePcapInternal(), ns3::YansWavePhyHelper::EnablePcapInternal(), ns3::WifiPhyHelper::EnablePcapInternal(), ns3::LteHelper::EnableUlMacTraces(), ns3::LteHelper::EnableUlPhyTraces(), ns3::LteHelper::EnableUlRxPhyTraces(), ns3::LteHelper::EnableUlTxPhyTraces(), ns3::RadioBearerStatsConnector::EnsureConnected(), ns3::AsciiTraceHelper::HookDefaultDequeueSinkWithContext(), ns3::AsciiTraceHelper::HookDefaultDequeueSinkWithoutContext(), ns3::AsciiTraceHelper::HookDefaultDropSinkWithContext(), ns3::AsciiTraceHelper::HookDefaultDropSinkWithoutContext(), ns3::AsciiTraceHelper::HookDefaultEnqueueSinkWithContext(), ns3::AsciiTraceHelper::HookDefaultEnqueueSinkWithoutContext(), ns3::AsciiTraceHelper::HookDefaultReceiveSinkWithContext(), ns3::AsciiTraceHelper::HookDefaultReceiveSinkWithoutContext(), ns3::PcapHelper::HookDefaultSink(), ns3::SpectrumAnalyzerHelper::Install(), ScheduleFirstDctcpTraceConnection(), ScheduleFirstTcpCwndTraceConnection(), ScheduleFirstTcpRttTraceConnection(), ScheduleN0TcpCwndTraceConnection(), ScheduleN0TcpRttTraceConnection(), ScheduleN1TcpCwndTraceConnection(), ScheduleN1TcpRttTraceConnection(), ScheduleSecondDctcpTraceConnection(), ScheduleSecondTcpCwndTraceConnection(), ScheduleSecondTcpRttTraceConnection(), VanetRoutingExperiment::SetupAdhocMobilityNodes(), ns3::RadioBearerStatsConnector::StoreUeManagerPath(), TraceCwnd(), TraceDroppingState(), TraceEveryDrop(), TraceQueueLength(), and TraceSojourn().
| auto ns3::MakeCallback | ( | R(T::*)(Args...) | memPtr, |
| OBJ | objPtr, | ||
| BArgs... | bargs | ||
| ) |
| T | [deduced] Type of the class having the member function. |
| OBJ | [deduced] Type of the class instance. |
| R | [deduced] Return type of the callback. |
| Args | [deduced] Type list of any arguments to the member function. |
| BArgs | [deduced] Type list of bound arguments. |
| [in] | memPtr | Class method member pointer |
| [in] | objPtr | Class instance |
| [in] | bargs | Bound arguments |
Build Callbacks for class method members which take varying numbers of arguments and potentially returning a value.
Definition at line 789 of file callback.h.