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(* | fnPtr )(Args...), |
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 745 of file callback.h.
Referenced by ns3::LteHelper::ActivateDataRadioBearer(), ns3::CommandLine::AddValue(), Ns3TcpCubicTestCase::ConnectCwndTrace(), 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(), CarrierAggregationTestCase::DoRun(), LrWpanCcaTestCase::DoRun(), LrWpanDataIfsTestCase::DoRun(), LrWpanSlottedCsmacaTestCase::DoRun(), LteCqiGenerationDlPowerControlTestCase::DoRun(), LteCqiGenerationTestCase::DoRun(), LteDistributedFfrAreaTestCase::DoRun(), LteDownlinkPowerControlRrcConnectionReconfigurationTestCase::DoRun(), LteEnhancedFfrAreaTestCase::DoRun(), LteHardFrTestCase::DoRun(), LteInterferenceTestCase::DoRun(), LteLinkAdaptationTestCase::DoRun(), LteSoftFfrAreaTestCase::DoRun(), LteSoftFrAreaTestCase::DoRun(), LteStrictFrAreaTestCase::DoRun(), LteStrictFrTestCase::DoRun(), LteUeMeasurementsTestCase::DoRun(), LteUplinkClosedLoopPowerControlAbsoluteModeTestCase::DoRun(), LteUplinkClosedLoopPowerControlAccumulatedModeTestCase::DoRun(), LteUplinkOpenLoopPowerControlTestCase::DoRun(), MakeBoundCallbackTestCase::DoRun(), MakeCallbackTemplatesTestCase::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::WifiPhyHelper::EnableAsciiInternal(), ns3::WimaxHelper::EnableAsciiInternal(), ns3::ClickInternetStackHelper::EnableAsciiIpv4Internal(), ns3::InternetStackHelper::EnableAsciiIpv4Internal(), ns3::InternetStackHelper::EnableAsciiIpv6Internal(), ns3::LteHelper::EnableDlMacTraces(), ns3::LteHelper::EnableDlPhyTraces(), ns3::LteHelper::EnableDlRxPhyTraces(), ns3::LteHelper::EnableDlTxPhyTraces(), ns3::LrWpanHelper::EnablePcapInternal(), ns3::WifiPhyHelper::EnablePcapInternal(), ns3::WimaxHelper::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(), ns3::RadioBearerStatsConnector::StoreUeManagerPath(), TraceCwnd(), TraceCwnd(), TraceCwnd(), TraceCwnd(), TraceDroppingState(), TraceEveryDrop(), TraceQueueLength(), and TraceSojourn().
auto ns3::MakeCallback | ( | R(T::* | memPtr )(Args...), |
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 766 of file callback.h.