Opened 20 years ago
Last modified 16 years ago
#692 closed defect
We should add unique IDs to appropriate types — at Initial Version
| Reported by: | Owned by: | eugene | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | IPP SDRS | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
It is very helpful to have a unique ID for data objects such as peaks and sources. We should
add fields "const int id;" to such types, which are set by the allocator:
static int id = 0;
...
*(int *)&tmp->id = ++id;
Types that need IDs include, but are not restricted to, pmPeak and pmSource
Note:
See TracTickets
for help on using tickets.
