bugCERTI - Bugs: bug #53641, Register Object Instance needs a...


bug #53641: Register Object Instance needs a more specific name

Submitter:  JbCh <jb_ch>
Submitted:  Fri 13 Apr 2018 02:40:08 PM UTC
Category:  Test : Billard Severity:  * 3 - Normal
Item Group:  Software error Status:  Fixed
Privacy:  Public Assigned to:  jb_ch
Open/Closed:  Open Release:  * GIT-master
Reproducibility:  None Fixed Release:  * Unknown
* Mandatory Fields

Add a New Comment Rich Markup

Wed 23 May 2018 06:17:45 AM UTC, comment #1: 

Bugfix included in br_jbch_4.0.0 (commit 781b3cd014)

Tested, works thus considered as fixed.

JbCh <jb_ch>
Group administrator
Fri 13 Apr 2018 02:40:08 PM UTC, original submission:  

I am currently re-implementing the hla bridge.

The test of the bridge (using billard) was not possible due to how the object are registered in the billard.

In "Billard::declare()" the obkect is registered with the federate name, which will be then the same in the TWO federations resulting on an error.

Thus for mutli-federation compliance, I use the following trick:
std::string ObjectInstanceName = federationName + federateName;
    local.ID = registerBallInstance(ObjectInstanceName.c_str());

JbCh <jb_ch>
Group administrator


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

Attach Files:

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 jb_ch (Submitted the item)

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-05-23 jb_ch StatusIn Progress Fixed

    Back to the top

    Powered by Savane 3.13-3cd0.
    Corresponding source code