|
copyright The Portico Project 2008. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.portico.impl.hla13.ImplJava1Helper
public class ImplJava1Helper
This class helps provides helper methods to the DefaultJava1RTIAmbassador
class and helps
bridge the gap between the Portico compatibility layer and the HLA 1.3 Annex A interface. The
basic thrust of this class (like all ISpecHelper
implementations) is that it provides the
necessary facilities to turn HLA-interface-specific code into Portico-clean, interface
independant code.
org.portico.shared.compat
package
Field Summary | |
---|---|
private hla.rti13.java1.FederateAmbassador |
fedamb
|
private LRC |
lrc
|
private LRCState |
state
|
Constructor Summary | |
---|---|
ImplJava1Helper()
|
Method Summary | |
---|---|
void |
checkAccess()
Check to see if we are currently ticking (and thus not able to make an RTI callback). |
void |
checkAdvancing()
Check to see if we are advancing. |
void |
checkJoined()
This method checks to see if the federate associated with this LRC is joined to a federation. |
void |
checkRestore()
|
void |
checkSave()
|
void |
checkSyncAnnounced(String label)
Checks to see if the given synchronization point label has been announced |
void |
checkTimeConstrained()
Check to see if there is a time constrained enable pending. |
void |
checkTimeRegulation()
Check to see if there is a time regulation enable pending. |
void |
checkValidTime(double time)
Validate that the given time is valid for the current state (that it is equal to or greater than the current LBTS for this federate). |
hla.rti13.java1.FederateAmbassador |
getFederateAmbassador()
|
ObjectModel |
getFOM()
|
org.apache.log4j.Logger |
getLRCLogger()
|
LRCState |
getState()
|
void |
processMessage(com.lbf.commons.messaging.MessageContext context)
|
void |
setFederateAmbassador(hla.rti13.java1.FederateAmbassador fedamb)
|
void |
tick()
|
void |
tick(double min,
double max)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private LRC lrc
private LRCState state
private hla.rti13.java1.FederateAmbassador fedamb
Constructor Detail |
---|
public ImplJava1Helper() throws hla.rti13.java1.RTIinternalError
hla.rti13.java1.RTIinternalError
Method Detail |
---|
public void processMessage(com.lbf.commons.messaging.MessageContext context) throws Exception
Exception
public LRCState getState()
public ObjectModel getFOM()
public void tick() throws hla.rti13.java1.ConcurrentAccessAttempted, hla.rti13.java1.RTIinternalError
hla.rti13.java1.ConcurrentAccessAttempted
hla.rti13.java1.RTIinternalError
public void tick(double min, double max) throws hla.rti13.java1.ConcurrentAccessAttempted, hla.rti13.java1.RTIinternalError
hla.rti13.java1.ConcurrentAccessAttempted
hla.rti13.java1.RTIinternalError
public void checkAccess() throws hla.rti13.java1.ConcurrentAccessAttempted
ConcurrentAccessAttempted
will be thrown.
hla.rti13.java1.ConcurrentAccessAttempted
public void checkAdvancing() throws hla.rti13.java1.TimeAdvanceAlreadyInProgress
hla.rti13.java1.TimeAdvanceAlreadyInProgress
public void checkTimeRegulation() throws hla.rti13.java1.EnableTimeRegulationPending
hla.rti13.java1.EnableTimeRegulationPending
public void checkTimeConstrained() throws hla.rti13.java1.EnableTimeConstrainedPending
hla.rti13.java1.EnableTimeConstrainedPending
public void checkValidTime(double time) throws hla.rti13.java1.InvalidFederationTime
hla.rti13.java1.InvalidFederationTime
public void checkSave() throws hla.rti13.java1.SaveInProgress
hla.rti13.java1.SaveInProgress
public void checkRestore() throws hla.rti13.java1.RestoreInProgress
hla.rti13.java1.RestoreInProgress
public void checkJoined() throws hla.rti13.java1.FederateNotExecutionMember
hla.rti13.java1.FederateNotExecutionMember
public void checkSyncAnnounced(String label) throws hla.rti13.java1.SynchronizationPointLabelWasNotAnnounced
hla.rti13.java1.SynchronizationPointLabelWasNotAnnounced
public hla.rti13.java1.FederateAmbassador getFederateAmbassador()
public void setFederateAmbassador(hla.rti13.java1.FederateAmbassador fedamb)
public org.apache.log4j.Logger getLRCLogger()
|
copyright The Portico Project 2008. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |