#692 closed defect (fixed)
We should add unique IDs to appropriate types
| Reported by: | Owned by: | eugene | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | IPP SDRS | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by )
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
Change History (2)
comment:1 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 16 years ago
| Component: | Modules SDRS → IPP SDRS |
|---|---|
| Description: | modified (diff) |
Note:
See TracTickets
for help on using tickets.

pmPeak and pmSource allocators supply these IDs. no other examples have been proposed. I'm closing this bug.