Project

General

Profile

Actions

Feature #4698

closed

Improve ScopedEventId

Added by Junxiao Shi over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Utils
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
3.00 h

Description

Currently, ScopedEventId is not constructible from the return value of Scheduler::scheduleEvent, but separately requires a reference to a Scheduler instance to be passed to its constructor.
This issue is to refactor both types, so that:

  • scheduler::EventId contains a reference to the Scheduler instance. It serves as an "unscoped EventId".
  • scheduler::EventId is convertible to ScopedEventId.

This improves the overall usability of these APIs.


Related issues 1 (0 open1 closed)

Related to ndn-cxx - Feature #4316: Scoped expressed InterestClosedJunxiao Shi

Actions
Actions

Also available in: Atom PDF