ndn::util::scheduler Namespace Reference

Classes

class  EventId
 Identifies a scheduled event. More...
 
class  EventQueueCompare
 
class  Scheduler
 Generic scheduler. More...
 
class  ScopedEventId
 Event that is automatically cancelled upon destruction. 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

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.

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

Definition at line 117 of file scheduler.hpp.

Function Documentation

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

Definition at line 67 of file scheduler.cpp.