bugCERTI - Bugs: bug #23730, support get Handle using...

 
 

bug #23730: support get Handle using 'getClassHandle("parentclass.subclass") format

Submitter:  Zheng Yanjun <zyjtsc>
Submitted:  Sat 28 Jun 2008 03:52:33 AM UTC
   
 
Category:  CERTI Severity:  * 3 - Normal
Item Group:  Feature request Status:  Ready For Test
Privacy:  Public Assigned to:  erk
Open/Closed:  Closed Release:  * CVS
Reproducibility:  None Fixed Release:  * 3.3.2
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 01 Nov 2008 07:26:52 PM UTC, comment #2: 

The current CVS version
should support retrieving both interaction and object
class handle using fully qualified name:

getXXXClassHandle("parent1.parent2.leafchild") syntax

The "leaf" shortcut retrieval is supported for backward
compatibility:

getXXXClassHandle("leafchild")
should gives the same handle or an error if
"leafchild" is found in several subtrees.

The HLA_TestsSuite now contains the
test_FOMParse executable which may be used to test your FOM files. This is an HLA Federate which will create the specified
federation and optionnally, join the federation then
try to retrieve the specified object/interaction class handles
Try test_FOMParse --help for usage.

Eric NOULARD <erk>
Group administrator
Sat 28 Jun 2008 09:38:25 AM UTC, comment #1: 

You are right it important.
However I think

getObjectClassHandle("parentclass.subclass")

should work for Object Class,

moreover
getObjectClassHandle("subclass")

should give you the same handle unless there is name collision.

Interaction Class may not be working the same way
and its a bug.

In order to help us to test this
Could you provide a simple FED file +
a simple test program which exhibit the problem
and/or cover all usage you think of concerning
getObjectClassHandle
getInteractionClassHandle

We will add it to HLA_TestsSuite for the next CERTI
release. (won't be in 3.3.0 though)




Eric NOULARD <erk>
Group administrator
Sat 28 Jun 2008 03:52:33 AM UTC, original submission:  

CERTI cannot support get Object Class Handle or interaction class Handle using 'getClassHandle("parentclass.subclass") format, but I think this method
is very useful for complex FED file.

Zheng Yanjun <zyjtsc>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by erk (Posted a comment)
  • -email is unavailable- added by zyjtsc (Submitted the item)
  •  

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-04-29 erk Open/ClosedOpen Closed
        Fixed ReleaseCVS 3.3.2
    2008-11-01 erk StatusNone Ready For Test
        Assigned toNone erk

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code