certi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [certi-dev] Ownership query not working


From: David Come
Subject: Re: [certi-dev] Ownership query not working
Date: Wed, 26 Aug 2015 14:39:17 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

Le 26/08/2015 11:44, David Come a écrit :
I  have found the bugs.

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.



With my fixes isAttributeOwnedByFederate works, but only half queryAttributeOwnership.
The latest doesn't trigger a callback when I ask  the ownership for an attribute which is not owned by anyone.

My code is attached to the email.

Thanks,
David.

Attachment: A.cpp
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]