void
MmWaveBearerStatsConnector::EnableMcStats(Ptr<McStatsCalculator> mcStats)
{
m_mcStats = mcStats;
EnsureConnected();
}
void
MmWaveBearerStatsConnector::EnsureConnected()
{
NS_LOG_FUNCTION(this);
if (!m_connected)
{
Config::ConnectFailSafe(
"/NodeList/*/DeviceList/*/LteEnbRrc/HandoverStart",
MakeBoundCallback(&MmWaveBearerStatsConnector::NotifyHandoverStartEnb, this));
Config::ConnectFailSafe(
"/NodeList/*/DeviceList/*/LteUeRrc/HandoverStart",
MakeBoundCallback(&MmWaveBearerStatsConnector::NotifyHandoverStartUe, this));
Config::ConnectFailSafe(
"/NodeList/*/DeviceList/*/MmWaveUeRrc/HandoverStart",
MakeBoundCallback(&MmWaveBearerStatsConnector::NotifyHandoverStartUe, this));