📄 restaurant.xml
字号:
<objectClass name="Serving" sharing="Neither">
<attribute name="type" dimensions="NA" transportation="HLAreliable" order="TimeStamp"/>
</objectClass>
<objectClass name="Boat" sharing="Neither">
<attribute name="spaceAvailable" dimensions="NA" transportation="HLAreliable" order="TimeStamp"/>
<attribute name="cargo" dimensions="NA" transportation="HLAreliable" order="TimeStamp"/>
</objectClass>
<objectClass name="Actor" sharing="Neither">
<attribute name="servingName" dimensions="NA" transportation="HLAreliable" order="TimeStamp"/>
<objectClass name="Chef" sharing="Neither">
<attribute name="chefState" dimensions="NA" transportation="HLAreliable" order="TimeStamp"/>
</objectClass>
<objectClass name="Diner" sharing="Neither">
<attribute name="dinerState" dimensions="NA" transportation="HLAreliable" order="Receive"/>
</objectClass>
</objectClass>
</objectClass>
</objectClass>
</objects>
<interactions>
<interactionClass name="HLAinteractionRoot" sharing="Neither" dimensions="NA" transportation="HLAreliable" order="TimeStamp">
<interactionClass name="HLAmanager" sharing="Neither" dimensions="NA" transportation="HLAreliable" order="Receive" semantics="Root class of MOM interactions">
<interactionClass name="HLAfederate" sharing="Neither" dimensions="NA" transportation="HLAreliable" order="Receive" semantics="Root class of MOM interactions that deal with a specific joined federate">
<parameter name="HLAfederate" dataType="HLAhandle" semantics="Handle of the joined federate that was provided when joining."/>
<interactionClass name="HLAadjust" sharing="Neither" dimensions="NA" transportation="HLAreliable" order="Receive" semantics="Permit a joined federate to adjust the RTI state variables associated with another joined federate">
<interactionClass name="HLAsetTiming" sharing="Subscribe" dimensions="NA" transportation="HLAreliable" order="Receive" semantics="Adjust the time period between updates of the HLAmanager.HLAfederate object instance for the specified RTI shall not perform periodic updates">
<parameter name="HLAreportPeriod" dataType="HLAseconds" semantics="Number of seconds between updates of instance (A zero value causes periodic updates to cease)"/>
</interactionClass>
<interactionClass name="HLAmodifyAttributeState" sharing="Subscribe" dimensions="NA" transportation="HLAreliable" order="Receive" semantics="Modify the ownership state of an attribute of an object instance for the specified joined federate. If the interaction is used to give ownership of the instance attribute to the specified joined federate and another joined federate currently owns the instance attribute, the owning joined federate shall be divested of ownership of the instance attribute before ownership is granted to the specified joined federate. No notification of change of ownership of the instance attribute shall be provided to either joined federate. In order for ownership of the instance attribute to be granted to the specified joined federate, the following conditions shall be true: - the specified joined federate knows about the object instance - the specified joined federate is publishing the corresponding class attribute at the known class of the specified object instance at that joined federate - the specified instance attribute is not owned by the RTI (i.e., it's not a predefined attribute of a MOM object class) If one or more of the above conditions are not met, then the interaction shall have no effect and an error shall be reported via an interaction of class HLAmanager. HLAfederate.HLAreport.HLAreportMOMexception.">
<parameter name="HLAobjectInstance" dataType="HLAhandle" semantics="Handle of the object instance whose attribute state is being changed"/>
<parameter name="HLAattribute" dataType="HLAhandle" semantics="Handle of the instance attribute whose state is being changed"/>
<parameter name="HLAattributeState" dataType="HLAownership" semantics="New state for the attribute of the object instance"/>
</interactionClass>
<interactionClass name="HLAsetServiceReporting" sharing="Subscribe" dimensions="NA" transportation="HLAreliable" order="Receive" semantics="Specify whether to report service invocations to or from the specified joined federate via HLAmanager.HLAfederate. HLAreport.HLAreportServiceInvocation interactions (enable or disable service reporting). If the specified joined federate is subscribed to the HLAmanager.HLAfederate.HLAreport. HLAreportServiceInvocation interaction, all attempts to enable service reporting for that joined federate by sending an HLAmanager.HLAfederate.HLAadjust. HLAsetServiceReporting interaction with an HLAreportingState parameter value of HLAtrue shall fail and be reported via the normal MOM interaction failure means">
<parameter name="HLAreportingState" dataType="HLAboolean" semantics="Whether the RTI should report service invocations (default = HLAfalse)"/>
</interactionClass>
<interactionClass name="HLAsetExceptionReporting" sharing="Subscribe" dimensions="NA" transportation="HLAreliable" order="Receive" semantics="Specify whether the RTI shall report service invocation exceptions via HLAmanager.HLAfederate.HLAreport. HLAreportException interactions">
<parameter name="HLAreportingState" dataType="HLAboolean" semantics="Whether the RTI should report exceptions (default = HLAfalse)"/>
</interactionClass>
<interactionClass name="HLAsetSwitches" sharing="Subscribe" dimensions="NA" transportation="HLAreliable" order="Receive" semantics="Set the values of HLA switches.">
<parameter name="HLAconveyRegionDesignatorSets" dataType="HLAswitch" semantics="Set the federate-specific Convey Region Designator Sets Switch to the provided value (this parameter is required only when a change of this switch value is needed)."/>
</interactionClass>
</interactionClass>
<interactionClass name="HLArequest" sharing="Neither" dimensions="NA" transportation="HLAreliable" order="Receive" semantics="Permit a federate to request RTI data about another federate">
<interactionClass name="HLArequestPublications" sharing="Subscribe" dimensions="NA" transportation="HLAreliable" order="Receive" semantics="Request that the RTI send report interactions that contain the publication data of a joined federate. It shall result in one interaction of class HLAmanager. HLAfederate.HLAreport.HLAreportInteractionPublication and one interaction of class HLAmanager.HLAfederate. HLAreport.HLAreportObjectClassPublication for each object class published"/>
<interactionClass name="HLArequestSubscriptions" sharing="Subscribe" dimensions="NA" transportation="HLAreliable" order="Receive" semantics="Request that the RTI send report interactions that contain the subscription data of a joined federate. It shall result in one interaction of class HLAmanager. HLAfederate.HLAreport. HLAreportInteractionSubscription and one interaction of class HLAmanager.HLAfederate. HLAreport.HLAreportObjectClassSubscription for each object class published"/>
<interactionClass name="HLArequestObjectInstancesThatCanBeDeleted" sharing="Subscribe" dimensions="NA" transportation="HLAreliable" order="Receive" semantics="Request that the RTI send a report interaction that contains the object instances that can be deleted at the joined federate. It shall result in one interaction of class HLAmanager.HLAfederate.HLAreport. HLAreportObjectInstancesThatCanBeDeleted"/>
<interactionClass name="HLArequestObjectInstancesUpdated" sharing="Subscribe" dimensions="NA" transportation="HLAreliable" order="Receive" semantics="Request that the RTI send a report interaction that contains the object instance updating responsibility of a joined federate. It shall result in one interaction of class HLAmanager.HLAfederate.HLAreport. HLAreportObjectInstancesUpdated"/>
<interactionClass name="HLArequestObjectInstancesReflected" sharing="Subscribe" dimensions="NA" transportation="HLAreliable" order="Receive" semantics="Request that the RTI send a report interaction that contains the objects instances for which a joined federate has had a Reflect Attribute Values service invocation. It shall result in one interaction of class HLAmanager.HLAfederate.HLAreport. HLAreportObjectInstancesReflected"/>
<interactionClass name="HLArequestUpdatesSent" sharing="Subscribe" dimensions="NA" transportation="HLAreliable" order="Receive" semantics="Request that the RTI send a report interaction that contains the number of updates that a joined federate has generated. It shall result in one interaction of class HLAmanager.HLAfederate.HLAreport.HLAreportUpdatesSent for each transportation type that is used to send updates"/>
<interactionClass name="HLArequestInteractionsSent" sharing="Subscribe" dimensions="NA" transportation="HLAreliable" order="Receive" semantics="Request that the RTI send a report interaction that contains the number of interactions that a joined federate has generated. This count shall include interactions sent with region. It shall result in one interaction of class HLAmanager.HLAfederate.HLAreport. HLAreportInteractionsSent for each transportation type that is used to send interactions"/>
<interactionClass name="HLArequestReflectionsReceived" sharing="Subscribe" dimensions="NA" transportation="HLAreliable" order="Receive" semantics="Request that the RTI send a report interaction that contains the number of reflections that a joined federate has received. It shall result in one interaction of class HLAmanager.HLAfederate.HLAreport. HLAreportReflectionsReceived for each transportation type used in receiving reflections"/>
<interactionClass name="HLArequestInteractionsReceived" sharing="Subscribe" dimensions="NA" transportation="HLAreliable" order="Receive" semantics="Request that the RTI send a report interaction that contains the number of interactions that a joined federate has received. It shall result in one interaction of class HLAmanager.HLAfederate.HLAreport. HLAreportInteractionsReceived for each transportation typeused in receiving interactions"/>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -