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 Types

using Error = NetworkMonitor::Error
 

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 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 47 of file network-monitor-impl-osx.hpp.

Member Typedef Documentation

◆ Error

Constructor & Destructor Documentation

◆ NetworkMonitorImplOsx()

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

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

◆ ~NetworkMonitorImplOsx()

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

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

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

Member Function Documentation

◆ getCapabilities()

uint32_t ndn::net::NetworkMonitorImplOsx::getCapabilities ( ) const
inlinefinalvirtual

◆ 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.

◆ listNetworkInterfaces()

std::vector< shared_ptr< const NetworkInterface > > ndn::net::NetworkMonitorImplOsx::listNetworkInterfaces ( ) const
finalvirtual

Implements ndn::net::NetworkMonitorImpl.

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


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