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

Classes

class  EventId
 A handle of scheduled event. More...
 
class  EventInfo
 Stores internal information about a scheduled event. More...
 
class  EventQueueCompare
 
class  Scheduler
 Generic scheduler. More...
 
class  ScopedEventId
 A scoped handle of scheduled event. More...
 

Typedefs

using EventCallback = std::function< void()>
 Function to be invoked when a scheduled event expires. More...
 
using EventQueue = std::multiset< shared_ptr< EventInfo >, EventQueueCompare >
 

Functions

std::ostream & operator<< (std::ostream &os, const EventId &eventId)
 

Typedef Documentation

◆ EventCallback

using ndn::util::scheduler::EventCallback = typedef std::function<void()>

Function to be invoked when a scheduled event expires.

Definition at line 42 of file scheduler.hpp.

◆ EventQueue

using ndn::util::scheduler::EventQueue = typedef std::multiset<shared_ptr<EventInfo>, EventQueueCompare>

Definition at line 146 of file scheduler.hpp.

Function Documentation

◆ operator<<()

std::ostream & ndn::util::scheduler::operator<< ( std::ostream &  os,
const EventId eventId 
)

Definition at line 81 of file scheduler.cpp.