NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::net::NetworkMonitorImplOsx Class Reference

#include <network-monitor-impl-osx.hpp>

Inheritance diagram for ndn::net::NetworkMonitorImplOsx:
Collaboration diagram for ndn::net::NetworkMonitorImplOsx:

Public Member Functions

 NetworkMonitorImplOsx (boost::asio::io_service &io)
 
 ~NetworkMonitorImplOsx ()
 
uint32_t getCapabilities () const final
 
shared_ptr< const NetworkInterfacegetNetworkInterface (const std::string &ifname) const final
 
std::vector< shared_ptr< const NetworkInterface > > listNetworkInterfaces () const final
 
- Public Member Functions inherited from ndn::net::NetworkMonitorImpl
virtual ~NetworkMonitorImpl ()=default
 

Additional Inherited Members

- Public Types inherited from ndn::net::NetworkMonitorImpl
using Error = NetworkMonitor::Error
 
- Public Attributes inherited from ndn::net::NetworkMonitorImpl
util::Signal< NetworkMonitorImplonEnumerationCompleted
 
util::Signal< NetworkMonitorImpl, shared_ptr< const NetworkInterface > > onInterfaceAdded
 
util::Signal< NetworkMonitorImpl, shared_ptr< const NetworkInterface > > onInterfaceRemoved
 
util::Signal< NetworkMonitorImplonNetworkStateChanged
 
- Static Protected Member Functions inherited from ndn::net::NetworkMonitorImpl
static shared_ptr< NetworkInterfacemakeNetworkInterface ()
 

Detailed Description

Definition at line 46 of file network-monitor-impl-osx.hpp.

Constructor & Destructor Documentation

◆ NetworkMonitorImplOsx()

ndn::net::NetworkMonitorImplOsx::NetworkMonitorImplOsx ( boost::asio::io_service &  io)

Definition at line 105 of file network-monitor-impl-osx.cpp.

References ndn::detail::CFReleaser< T >::get(), and NDN_THROW.

◆ ~NetworkMonitorImplOsx()

ndn::net::NetworkMonitorImplOsx::~NetworkMonitorImplOsx ( )

Definition at line 149 of file network-monitor-impl-osx.cpp.

References ndn::detail::CFReleaser< T >::get().

Member Function Documentation

◆ getCapabilities()

◆ getNetworkInterface()

shared_ptr< const NetworkInterface > ndn::net::NetworkMonitorImplOsx::getNetworkInterface ( const std::string &  ifname) const
finalvirtual

Implements ndn::net::NetworkMonitorImpl.

Definition at line 158 of file network-monitor-impl-osx.cpp.

Referenced by getCapabilities().

◆ listNetworkInterfaces()


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