[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [certi-dev] ResignFederationExecution
From: |
Eric Noulard |
Subject: |
Re: [certi-dev] ResignFederationExecution |
Date: |
Mon, 15 Nov 2010 08:36:32 +0100 |
2010/11/15 Michael Raab <address@hidden>:
> Sorry my fault, looks like ObjectManagement provides all necessary
> information. :-)
>
> I'm trying to iteratate through ObjectSet
> ObjectManagement::rootObject->objects.
> The problem is that I cannot access std::map iterator as ObjectSet is
> deriving private from std::map.
> Is that necessary? If yes, what would you propose?
May be adding a
const std::vector<objectHandle>&
RootObject::getAllObjectInstanceFromFederate(FederateHandle the_federate)
throw (DeletePrivilegeNotHeld, RTIinternalError)
to the RootObject class should do the job?
This methods gets you the list of object handle you need.
Then you iterate through them and call
ObjectManagement::deleteObject
What do you think?
It will be "easier" this way to let the usual way of getting "Remove
Object Instance"
callback than adding a new message (delete them-all) that will require
new handling.
--
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org