| /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
| * Copyright (C) 2014 Named Data Networking Project |
| * See COPYING for copyright and distribution information. |
| #ifndef NFD_CORE_SCHEDULER_HPP |
| #define NFD_CORE_SCHEDULER_HPP |
| #include <ndn-cpp-dev/util/scheduler.hpp> |
| * \brief Opaque type (shared_ptr) representing ID of a scheduled event |
| /** \brief schedule an event |
| schedule(const time::nanoseconds& after, const Scheduler::Event& event); |
| /** \brief cancel a scheduled event |
| cancel(const EventId& eventId); |
| using scheduler::EventId; |
| #endif // NFD_CORE_SCHEDULER_HPP |