GDD: Store reference to gddEnumStringTable in aitEnum16 ?
Bug #541254 reported by
Dirk Zimoch
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EPICS Base |
Fix Released
|
Wishlist
|
Jeff Hill |
Bug Description
The generic conversion functions smartCopy can not provide an external string table when converting enums. Thus converting enums to strings don't work (see also mantis-211). Therefore, an internal reference to the string table should be stored in the aitEnum16.
Additional information:
aitEnum16 is just an aitUint16 without reference to the strings. It needs to be a structure containing the aitUint16 and a const reference to the gddEnumStringTable to fit into the generic conversion scheme.
Original Mantis Bug: mantis-212
http://
To post a comment you must log in.
The current design is to cache the enum string table in the server and provide it as an extra argument to the conversion routines.
edited on: 2005-10-27 10:47