Project

General

Profile

Feature #4698

Improve ScopedEventId

Added by Junxiao Shi over 2 years ago. Updated about 2 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

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

Actions
#1

Updated by Davide Pesavento over 2 years ago

#2

Updated by Davide Pesavento over 2 years ago

  • Description updated (diff)
#3

Updated by Junxiao Shi about 2 years ago

  • Status changed from New to In Progress
  • Assignee set to Junxiao Shi
#4

Updated by Junxiao Shi about 2 years ago

  • % Done changed from 0 to 70
#5

Updated by Junxiao Shi about 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 70 to 100

Also available in: Atom PDF