|
From: | Eric Noulard |
Subject: | Re: [certi-dev] Ownership query not working |
Date: | Thu, 27 Aug 2015 15:07:55 +0200 |
I have found the bugs.Le 26/08/2015 11:15, David Come a écrit :
Hello,
I'm trying to use the query ownership mechanism but I'll always end up with an ObjectNotKnown exception
Please find attached the code I'm using and the RTIG's log.
The logs lead me to believe there is a bug : RTIG.log shows on line 7 "Object <2>not found in map set."
while it should be object <1> (because it is what i'm asking for, see line 50 of rtigLOG).
Many thanks;
David.
prototype :
ObjectSet::queryAttributeOwnership(FederateHandle the_federate,
ObjectHandle the_object,
AttributeHandle the_attribute)
The use In Federation::queryAttributeOwnership line 2193
root->objects->queryAttributeOwnership(id, attribute, federate);
It should be :
root->objects->queryAttributeOwnership(federate, id, attribute);
Same issue with isAttributeOwnedByFederate
David.
--
CERTI-Devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/certi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |