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

Public Member Functions

 NetworkMonitorImplStub (uint32_t capabilities)
 
uint32_t getCapabilities () const final
 
shared_ptr< const NetworkInterfacegetNetworkInterface (const std::string &ifname) const final
 
std::vector< shared_ptr< const NetworkInterface > > listNetworkInterfaces () const final
 
void addInterface (shared_ptr< NetworkInterface > netif)
 
void removeInterface (const std::string &ifname)
 
void emitEnumerationCompleted ()
 
- Public Member Functions inherited from ndn::net::NetworkMonitorImpl
virtual ~NetworkMonitorImpl ()=default
 

Static Public Member Functions

static shared_ptr< NetworkInterfacemakeNetworkInterface ()
 

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 35 of file network-monitor-stub.cpp.

Constructor & Destructor Documentation

◆ NetworkMonitorImplStub()

ndn::net::NetworkMonitorImplStub::NetworkMonitorImplStub ( uint32_t  capabilities)
inlineexplicit

Definition at line 39 of file network-monitor-stub.cpp.

Member Function Documentation

◆ getCapabilities()

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

Implements ndn::net::NetworkMonitorImpl.

Definition at line 45 of file network-monitor-stub.cpp.

◆ getNetworkInterface()

shared_ptr<const NetworkInterface> ndn::net::NetworkMonitorImplStub::getNetworkInterface ( const std::string &  ifname) const
inlinefinalvirtual

Implements ndn::net::NetworkMonitorImpl.

Definition at line 51 of file network-monitor-stub.cpp.

◆ listNetworkInterfaces()

std::vector<shared_ptr<const NetworkInterface> > ndn::net::NetworkMonitorImplStub::listNetworkInterfaces ( ) const
inlinefinalvirtual

Implements ndn::net::NetworkMonitorImpl.

Definition at line 58 of file network-monitor-stub.cpp.

◆ addInterface()

void ndn::net::NetworkMonitorImplStub::addInterface ( shared_ptr< NetworkInterface netif)
inline

◆ removeInterface()

void ndn::net::NetworkMonitorImplStub::removeInterface ( const std::string &  ifname)
inline

◆ emitEnumerationCompleted()

void ndn::net::NetworkMonitorImplStub::emitEnumerationCompleted ( )
inline

◆ makeNetworkInterface()

shared_ptr< NetworkInterface > ndn::net::NetworkMonitorImpl::makeNetworkInterface
static

Definition at line 91 of file network-monitor.cpp.


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