public class ObjectClassModel
extends java.lang.Object
Constructor and Description |
---|
ObjectClassModel(java.lang.Class<? extends ObjectClass> objectClass) |
Modifier and Type | Method and Description |
---|---|
void |
addEntity(ObjectClassEntity element) |
hla.rti1516e.AttributeHandleSet |
getAttributeHandleSet(hla.rti1516e.ObjectClassHandle objectClassHandle) |
java.util.Map<java.lang.Object,ObjectClassEntity> |
getEntities() |
ObjectClassEntity |
getObjectClassEntity(hla.rti1516e.ObjectInstanceHandle instanceHandle) |
hla.rti1516e.ObjectClassHandle |
getObjectClassHandle() |
hla.rti1516e.ObjectInstanceHandle |
getObjectInstanceHandle(ObjectClassEntity entity) |
java.util.Map<hla.rti1516e.ObjectClassHandle,hla.rti1516e.AttributeHandleSet> |
getPublishedMapObjectClassHandleAttributeSet() |
java.util.Map<hla.rti1516e.ObjectClassHandle,hla.rti1516e.AttributeHandleSet> |
getSubscribedMapObjectClassHandleAttributeSet() |
void |
publish() |
void |
subscribe() |
void |
unpublish() |
void |
unsubscribe() |
void |
updatePublishedObject(ObjectClassEntity element) |
void |
updateSubscribedObject(ObjectClassEntity element,
hla.rti1516e.AttributeHandleValueMap arg1) |
public ObjectClassModel(java.lang.Class<? extends ObjectClass> objectClass) throws hla.rti1516e.exceptions.RTIinternalError, hla.rti1516e.exceptions.NameNotFound, hla.rti1516e.exceptions.FederateNotExecutionMember, hla.rti1516e.exceptions.NotConnected, hla.rti1516e.exceptions.InvalidObjectClassHandle, java.lang.InstantiationException, java.lang.IllegalAccessException
hla.rti1516e.exceptions.RTIinternalError
hla.rti1516e.exceptions.NameNotFound
hla.rti1516e.exceptions.FederateNotExecutionMember
hla.rti1516e.exceptions.NotConnected
hla.rti1516e.exceptions.InvalidObjectClassHandle
java.lang.InstantiationException
java.lang.IllegalAccessException
public void subscribe() throws hla.rti1516e.exceptions.AttributeNotDefined, hla.rti1516e.exceptions.ObjectClassNotDefined, hla.rti1516e.exceptions.SaveInProgress, hla.rti1516e.exceptions.RestoreInProgress, hla.rti1516e.exceptions.FederateNotExecutionMember, hla.rti1516e.exceptions.NotConnected, hla.rti1516e.exceptions.RTIinternalError
hla.rti1516e.exceptions.AttributeNotDefined
hla.rti1516e.exceptions.ObjectClassNotDefined
hla.rti1516e.exceptions.SaveInProgress
hla.rti1516e.exceptions.RestoreInProgress
hla.rti1516e.exceptions.FederateNotExecutionMember
hla.rti1516e.exceptions.NotConnected
hla.rti1516e.exceptions.RTIinternalError
public void unsubscribe() throws hla.rti1516e.exceptions.ObjectClassNotDefined, hla.rti1516e.exceptions.SaveInProgress, hla.rti1516e.exceptions.RestoreInProgress, hla.rti1516e.exceptions.FederateNotExecutionMember, hla.rti1516e.exceptions.NotConnected, hla.rti1516e.exceptions.RTIinternalError
hla.rti1516e.exceptions.ObjectClassNotDefined
hla.rti1516e.exceptions.SaveInProgress
hla.rti1516e.exceptions.RestoreInProgress
hla.rti1516e.exceptions.FederateNotExecutionMember
hla.rti1516e.exceptions.NotConnected
hla.rti1516e.exceptions.RTIinternalError
public void publish() throws hla.rti1516e.exceptions.FederateNotExecutionMember, hla.rti1516e.exceptions.NotConnected, hla.rti1516e.exceptions.AttributeNotDefined, hla.rti1516e.exceptions.ObjectClassNotDefined, hla.rti1516e.exceptions.SaveInProgress, hla.rti1516e.exceptions.RestoreInProgress, hla.rti1516e.exceptions.RTIinternalError
hla.rti1516e.exceptions.FederateNotExecutionMember
hla.rti1516e.exceptions.NotConnected
hla.rti1516e.exceptions.AttributeNotDefined
hla.rti1516e.exceptions.ObjectClassNotDefined
hla.rti1516e.exceptions.SaveInProgress
hla.rti1516e.exceptions.RestoreInProgress
hla.rti1516e.exceptions.RTIinternalError
public void unpublish() throws hla.rti1516e.exceptions.FederateNotExecutionMember, hla.rti1516e.exceptions.NotConnected, hla.rti1516e.exceptions.OwnershipAcquisitionPending, hla.rti1516e.exceptions.AttributeNotDefined, hla.rti1516e.exceptions.ObjectClassNotDefined, hla.rti1516e.exceptions.SaveInProgress, hla.rti1516e.exceptions.RestoreInProgress, hla.rti1516e.exceptions.RTIinternalError
hla.rti1516e.exceptions.FederateNotExecutionMember
hla.rti1516e.exceptions.NotConnected
hla.rti1516e.exceptions.OwnershipAcquisitionPending
hla.rti1516e.exceptions.AttributeNotDefined
hla.rti1516e.exceptions.ObjectClassNotDefined
hla.rti1516e.exceptions.SaveInProgress
hla.rti1516e.exceptions.RestoreInProgress
hla.rti1516e.exceptions.RTIinternalError
public void addEntity(ObjectClassEntity element)
public void updatePublishedObject(ObjectClassEntity element) throws UpdateException, hla.rti1516e.exceptions.IllegalName, hla.rti1516e.exceptions.SaveInProgress, hla.rti1516e.exceptions.RestoreInProgress, hla.rti1516e.exceptions.FederateNotExecutionMember, hla.rti1516e.exceptions.NotConnected, hla.rti1516e.exceptions.RTIinternalError, hla.rti1516e.exceptions.ObjectInstanceNameInUse, hla.rti1516e.exceptions.ObjectInstanceNameNotReserved, hla.rti1516e.exceptions.ObjectClassNotPublished, hla.rti1516e.exceptions.ObjectClassNotDefined, hla.rti1516e.exceptions.AttributeNotOwned, hla.rti1516e.exceptions.AttributeNotDefined, hla.rti1516e.exceptions.ObjectInstanceNotKnown
UpdateException
hla.rti1516e.exceptions.IllegalName
hla.rti1516e.exceptions.SaveInProgress
hla.rti1516e.exceptions.RestoreInProgress
hla.rti1516e.exceptions.FederateNotExecutionMember
hla.rti1516e.exceptions.NotConnected
hla.rti1516e.exceptions.RTIinternalError
hla.rti1516e.exceptions.ObjectInstanceNameInUse
hla.rti1516e.exceptions.ObjectInstanceNameNotReserved
hla.rti1516e.exceptions.ObjectClassNotPublished
hla.rti1516e.exceptions.ObjectClassNotDefined
hla.rti1516e.exceptions.AttributeNotOwned
hla.rti1516e.exceptions.AttributeNotDefined
hla.rti1516e.exceptions.ObjectInstanceNotKnown
public void updateSubscribedObject(ObjectClassEntity element, hla.rti1516e.AttributeHandleValueMap arg1)
public java.util.Map<java.lang.Object,ObjectClassEntity> getEntities()
public hla.rti1516e.ObjectClassHandle getObjectClassHandle()
public ObjectClassEntity getObjectClassEntity(hla.rti1516e.ObjectInstanceHandle instanceHandle)
public hla.rti1516e.AttributeHandleSet getAttributeHandleSet(hla.rti1516e.ObjectClassHandle objectClassHandle)
public hla.rti1516e.ObjectInstanceHandle getObjectInstanceHandle(ObjectClassEntity entity)
public java.util.Map<hla.rti1516e.ObjectClassHandle,hla.rti1516e.AttributeHandleSet> getSubscribedMapObjectClassHandleAttributeSet()
public java.util.Map<hla.rti1516e.ObjectClassHandle,hla.rti1516e.AttributeHandleSet> getPublishedMapObjectClassHandleAttributeSet()
Author: SMASH LAB - University of Calabria (UNICAL)