public class ObjectClassModelManager
extends java.lang.Object
Constructor and Description |
---|
ObjectClassModelManager() |
Modifier and Type | Method and Description |
---|---|
void |
addDiscoverObjectInstance(hla.rti1516e.ObjectInstanceHandle instanceHandle,
hla.rti1516e.ObjectClassHandle objectClassHandle,
java.lang.String instanceName) |
ObjectClassEntity |
getObjectClassEntityByIstanceName(java.lang.String instance_name) |
hla.rti1516e.ObjectInstanceHandle |
getObjectInstanceHandle(hla.rti1516e.ObjectClassHandle objectClassHandle) |
java.util.Map<java.lang.String,ObjectClassModel> |
getPublishedMap() |
java.util.Map<java.lang.String,ObjectClassModel> |
getSubscribedMap() |
boolean |
objectClassIsSubscribed(hla.rti1516e.ObjectClassHandle arg1) |
boolean |
objectInstanceHandleIsSubscribed(hla.rti1516e.ObjectInstanceHandle arg0) |
boolean |
objectInstanceHasBeenDiscovered(hla.rti1516e.ObjectClassHandle objectClassHandle) |
void |
publish(java.lang.Object element,
java.lang.String name) |
java.lang.Object |
reflectAttributeValues(hla.rti1516e.ObjectInstanceHandle instanceHandle,
hla.rti1516e.AttributeHandleValueMap attributes) |
void |
subscribe(java.lang.Class<? extends ObjectClass> objectClass) |
void |
unsubscribe(java.lang.Class<? extends ObjectClass> objectClass) |
public java.util.Map<java.lang.String,ObjectClassModel> getPublishedMap()
public java.util.Map<java.lang.String,ObjectClassModel> getSubscribedMap()
public void subscribe(java.lang.Class<? extends ObjectClass> objectClass) throws hla.rti1516e.exceptions.RTIinternalError, java.lang.InstantiationException, java.lang.IllegalAccessException, hla.rti1516e.exceptions.NameNotFound, hla.rti1516e.exceptions.FederateNotExecutionMember, hla.rti1516e.exceptions.NotConnected, hla.rti1516e.exceptions.InvalidObjectClassHandle, hla.rti1516e.exceptions.AttributeNotDefined, hla.rti1516e.exceptions.ObjectClassNotDefined, hla.rti1516e.exceptions.SaveInProgress, hla.rti1516e.exceptions.RestoreInProgress
hla.rti1516e.exceptions.RTIinternalError
java.lang.InstantiationException
java.lang.IllegalAccessException
hla.rti1516e.exceptions.NameNotFound
hla.rti1516e.exceptions.FederateNotExecutionMember
hla.rti1516e.exceptions.NotConnected
hla.rti1516e.exceptions.InvalidObjectClassHandle
hla.rti1516e.exceptions.AttributeNotDefined
hla.rti1516e.exceptions.ObjectClassNotDefined
hla.rti1516e.exceptions.SaveInProgress
hla.rti1516e.exceptions.RestoreInProgress
public void unsubscribe(java.lang.Class<? extends ObjectClass> objectClass) 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(java.lang.Object element, java.lang.String name) 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.AttributeNotDefined, hla.rti1516e.exceptions.ObjectClassNotDefined, hla.rti1516e.exceptions.SaveInProgress, hla.rti1516e.exceptions.RestoreInProgress, hla.rti1516e.exceptions.IllegalName, hla.rti1516e.exceptions.ObjectInstanceNameInUse, hla.rti1516e.exceptions.ObjectInstanceNameNotReserved, hla.rti1516e.exceptions.ObjectClassNotPublished, hla.rti1516e.exceptions.AttributeNotOwned, hla.rti1516e.exceptions.ObjectInstanceNotKnown, UpdateException
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.AttributeNotDefined
hla.rti1516e.exceptions.ObjectClassNotDefined
hla.rti1516e.exceptions.SaveInProgress
hla.rti1516e.exceptions.RestoreInProgress
hla.rti1516e.exceptions.IllegalName
hla.rti1516e.exceptions.ObjectInstanceNameInUse
hla.rti1516e.exceptions.ObjectInstanceNameNotReserved
hla.rti1516e.exceptions.ObjectClassNotPublished
hla.rti1516e.exceptions.AttributeNotOwned
hla.rti1516e.exceptions.ObjectInstanceNotKnown
UpdateException
public ObjectClassEntity getObjectClassEntityByIstanceName(java.lang.String instance_name)
public void addDiscoverObjectInstance(hla.rti1516e.ObjectInstanceHandle instanceHandle, hla.rti1516e.ObjectClassHandle objectClassHandle, java.lang.String instanceName)
public boolean objectInstanceHasBeenDiscovered(hla.rti1516e.ObjectClassHandle objectClassHandle)
public java.lang.Object reflectAttributeValues(hla.rti1516e.ObjectInstanceHandle instanceHandle, hla.rti1516e.AttributeHandleValueMap attributes) throws java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.IllegalAccessException
public boolean objectClassIsSubscribed(hla.rti1516e.ObjectClassHandle arg1)
public boolean objectInstanceHandleIsSubscribed(hla.rti1516e.ObjectInstanceHandle arg0)
public hla.rti1516e.ObjectInstanceHandle getObjectInstanceHandle(hla.rti1516e.ObjectClassHandle objectClassHandle)
Author: SMASH LAB - University of Calabria (UNICAL)