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

 
 

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

Submitted by:  Zheng Yanjun <zyjtsc>
Submitted on:  Sat 28 Jun 2008 03:52:33 AM UTC
 
Category:  Severity:  *
Item Group:  Status: 
Privacy:  Assigned to: erk
Open/Closed: Closed Release:  *
Reproducibility:  Fixed Release:  *
Summary:  *
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
        No canned response available   (Or define a new Canned Response)

 

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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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

 

Search an item (to fill a dependency against):
   
Of     of  

Depends on the following items: None found

Items that depend on this one: None found

 

(Note: for Savannah users, you can use their login name rather than their email addresses.)


      

   

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.5