|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Autogenerated object instance interface.
| Method Summary | |
void |
addCountryListener(CountryListener l)
Adds a listener for the attributes associated with the Country class. |
java.lang.String |
getName()
Returns the value of the name attribute. |
double |
getPopulation()
Returns the value of the population attribute. |
void |
removeCountryListener(CountryListener l)
Removes a listener for the attributes associated with the Country class. |
void |
setName(java.lang.String pName,
byte[] userSuppliedTag)
Sets the value of the name attribute. |
void |
setPopulation(double pPopulation,
byte[] userSuppliedTag)
Sets the value of the population attribute. |
| Methods inherited from interface org.npsnet.xrti.proxies.HLAobjectRoot |
addHLAobjectRootListener, removeHLAobjectRootListener |
| Method Detail |
public void addCountryListener(CountryListener l)
l - the listener to addpublic void removeCountryListener(CountryListener l)
l - the listener to remove
public void setName(java.lang.String pName,
byte[] userSuppliedTag)
throws ObjectInstanceNotKnown,
AttributeNotDefined,
AttributeNotOwned,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
pName - the new attribute valueuserSuppliedTag - a user-supplied tag to associate with the action
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 infrastructurepublic java.lang.String getName()
public void setPopulation(double pPopulation,
byte[] userSuppliedTag)
throws ObjectInstanceNotKnown,
AttributeNotDefined,
AttributeNotOwned,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
pPopulation - the new attribute valueuserSuppliedTag - a user-supplied tag to associate with the action
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 infrastructurepublic double getPopulation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||