IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 20 years ago

Closed 17 years ago

Last modified 16 years ago

#692 closed defect (fixed)

We should add unique IDs to appropriate types

Reported by: rhl@… Owned by: eugene
Priority: high Milestone:
Component: IPP SDRS Version: unspecified
Severity: normal Keywords:
Cc:

Description (last modified by eugene)

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 eugene, 17 years ago

Resolution: fixed
Status: newclosed

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

comment:2 by eugene, 16 years ago

Component: Modules SDRSIPP SDRS
Description: modified (diff)
Note: See TracTickets for help on using tickets.