executionName, FED) |
For example
try: rtia.createFederationExecution("MyFederation", "model.fed") print "Federation created." except hla.FederationExecutionAlreadyExists: print "Federation already exists."
May raise FederationExecutionAlreadyExists, CouldNotOpenFED, ErrorReadingFED, ConcurrentAccessAttempted.
executionName) |
May raise FederatesCurrentlyJoined, FederationExecutionDoesNotExist, ConcurrentAccessAttempted.
yourName, executionName, ambassador) |
Returns a federate handle.
May raise FederateAlreadyExecutionMember, FederationExecutionDoesNotExist, CouldNotOpenFED, ErrorReadingFED, ConcurrentAccessAttempted, SaveInProgress, RestoreInProgress.
resignAction) |
resignAction | Description |
---|---|
ReleaseAttributes | The resigning federate releases control of all owned attributes. |
DeleteObjects | The resigning federate deletes all objects for which it holds the privilege to delete. |
DeleteObjectsAndReleaseAttributes | The resigning federate deletes all objects for which it holds the privilege to delete and then releases ownership of any remaining owned attributes. |
NoAction | The attributes and objects owned by the federate become "orphaned". |
For example
rtia.resignFederationExecution(hla.ResignAction.DeleteObjects)
May raise FederateOwnsAttributes, FederateNotExecutionMember, InvalidResignAction, ConcurrentAccessAttempted.
) |
May raise AsynchronousDeliveryAlreadyEnabled, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, RestoreInProgress.
) |
May raise AsynchronousDeliveryAlreadyDisabled, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, RestoreInProgress.
[minimum, maximum]) |
May raise SpecifiedSaveLabelDoesNotExist, ConcurrentAccessAttempted.
label[, time]) |
May raise FederationTimeAlreadyPassed, InvalidFederationTime, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, RestoreInProgress.
label) |
May raise UnableToPerformSave.
) |
May raise SaveNotInitiated, FederateNotExecutionMember, ConcurrentAccessAttempted, RestoreInProgress.
) |
May raise SaveNotInitiated, FederateNotExecutionMember, ConcurrentAccessAttempted, RestoreInProgress.
) |
May raise SaveNotInitiated, FederateNotExecutionMember, ConcurrentAccessAttempted, RestoreInProgress.
) |
) |
label) |
May raise FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, RestoreInProgress.
label) |
label, reason) |
) |
label, federate) |
May raise SpecifiedSaveLabelDoesNotExist, CouldNotRestore.
) |
May raise RestoreNotRequested, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress.
) |
May raise RestoreNotRequested, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress.
) |
) |