org.npsnet.xrti.proxies
Interface HLAobjectClass

All Superinterfaces:
HLAobjectRoot, HLAreflection
All Known Implementing Classes:
HLAobjectClassProxy

public interface HLAobjectClass
extends HLAreflection

Autogenerated object instance interface.

Author:
org.npsnet.xrti.utilities.ProxyCompiler

Method Summary
 void addHLAobjectClassListener(HLAobjectClassListener l)
          Adds a listener for the attributes associated with the HLAobjectClass class.
 long[] getAttributes()
          Returns the value of the attributes attribute.
 java.lang.String getParents()
          Returns the value of the parents attribute.
 java.lang.String getSemantics()
          Returns the value of the semantics attribute.
 HLAsharingType getSharing()
          Returns the value of the sharing attribute.
 void removeHLAobjectClassListener(HLAobjectClassListener l)
          Removes a listener for the attributes associated with the HLAobjectClass class.
 void setAttributes(long[] pAttributes, byte[] userSuppliedTag)
          Sets the value of the attributes attribute.
 void setParents(java.lang.String pParents, byte[] userSuppliedTag)
          Sets the value of the parents attribute.
 void setSemantics(java.lang.String pSemantics, byte[] userSuppliedTag)
          Sets the value of the semantics attribute.
 void setSharing(HLAsharingType pSharing, byte[] userSuppliedTag)
          Sets the value of the sharing attribute.
 
Methods inherited from interface org.npsnet.xrti.proxies.HLAreflection
addHLAreflectionListener, getName, removeHLAreflectionListener, setName
 
Methods inherited from interface org.npsnet.xrti.proxies.HLAobjectRoot
addHLAobjectRootListener, removeHLAobjectRootListener
 

Method Detail

addHLAobjectClassListener

public void addHLAobjectClassListener(HLAobjectClassListener l)
Adds a listener for the attributes associated with the HLAobjectClass class.

Parameters:
l - the listener to add

removeHLAobjectClassListener

public void removeHLAobjectClassListener(HLAobjectClassListener l)
Removes a listener for the attributes associated with the HLAobjectClass class.

Parameters:
l - the listener to remove

setParents

public void setParents(java.lang.String pParents,
                       byte[] userSuppliedTag)
                throws ObjectInstanceNotKnown,
                       AttributeNotDefined,
                       AttributeNotOwned,
                       FederateNotExecutionMember,
                       SaveInProgress,
                       RestoreInProgress,
                       RTIinternalError
Sets the value of the parents attribute.

Parameters:
pParents - the new attribute value
userSuppliedTag - a user-supplied tag to associate with the action
Throws:
ObjectInstanceNotKnown - if the object instance is unknown
AttributeNotDefined - if one of the attributes is undefined
AttributeNotOwned - if one of the attributes is not owned
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

getParents

public java.lang.String getParents()
Returns the value of the parents attribute.

Returns:
the current attribute value

setSharing

public void setSharing(HLAsharingType pSharing,
                       byte[] userSuppliedTag)
                throws ObjectInstanceNotKnown,
                       AttributeNotDefined,
                       AttributeNotOwned,
                       FederateNotExecutionMember,
                       SaveInProgress,
                       RestoreInProgress,
                       RTIinternalError
Sets the value of the sharing attribute.

Parameters:
pSharing - the new attribute value
userSuppliedTag - a user-supplied tag to associate with the action
Throws:
ObjectInstanceNotKnown - if the object instance is unknown
AttributeNotDefined - if one of the attributes is undefined
AttributeNotOwned - if one of the attributes is not owned
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

getSharing

public HLAsharingType getSharing()
Returns the value of the sharing attribute.

Returns:
the current attribute value

setAttributes

public void setAttributes(long[] pAttributes,
                          byte[] userSuppliedTag)
                   throws ObjectInstanceNotKnown,
                          AttributeNotDefined,
                          AttributeNotOwned,
                          FederateNotExecutionMember,
                          SaveInProgress,
                          RestoreInProgress,
                          RTIinternalError
Sets the value of the attributes attribute.

Parameters:
pAttributes - the new attribute value
userSuppliedTag - a user-supplied tag to associate with the action
Throws:
ObjectInstanceNotKnown - if the object instance is unknown
AttributeNotDefined - if one of the attributes is undefined
AttributeNotOwned - if one of the attributes is not owned
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

getAttributes

public long[] getAttributes()
Returns the value of the attributes attribute.

Returns:
the current attribute value

setSemantics

public void setSemantics(java.lang.String pSemantics,
                         byte[] userSuppliedTag)
                  throws ObjectInstanceNotKnown,
                         AttributeNotDefined,
                         AttributeNotOwned,
                         FederateNotExecutionMember,
                         SaveInProgress,
                         RestoreInProgress,
                         RTIinternalError
Sets the value of the semantics attribute.

Parameters:
pSemantics - the new attribute value
userSuppliedTag - a user-supplied tag to associate with the action
Throws:
ObjectInstanceNotKnown - if the object instance is unknown
AttributeNotDefined - if one of the attributes is undefined
AttributeNotOwned - if one of the attributes is not owned
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

getSemantics

public java.lang.String getSemantics()
Returns the value of the semantics attribute.

Returns:
the current attribute value