当前位置: 首页>>代码示例>>Java>>正文


Java TimeRegulationIsNotEnabled类代码示例

本文整理汇总了Java中hla.rti1516e.exceptions.TimeRegulationIsNotEnabled的典型用法代码示例。如果您正苦于以下问题:Java TimeRegulationIsNotEnabled类的具体用法?Java TimeRegulationIsNotEnabled怎么用?Java TimeRegulationIsNotEnabled使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


TimeRegulationIsNotEnabled类属于hla.rti1516e.exceptions包,在下文中一共展示了TimeRegulationIsNotEnabled类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: disableTimeRegulation

import hla.rti1516e.exceptions.TimeRegulationIsNotEnabled; //导入依赖的package包/类
public void disableTimeRegulation() throws TimeRegulationIsNotEnabled, SaveInProgress, RestoreInProgress, FederateNotExecutionMember, NotConnected, RTIinternalError {
    this.logger.trace("disableTimeRegulation");
    try {
    	this._rtiAmbassador.disableTimeRegulation();
    } catch (TimeRegulationIsNotEnabled | SaveInProgress | RestoreInProgress | FederateNotExecutionMember | NotConnected | RTIinternalError e) {
    	this.logger.error("disableTimeRegulation exception=" + e.getMessage());
    	throw e;
    }
}
 
开发者ID:MSG134,项目名称:IVCT_Framework,代码行数:10,代码来源:IVCT_RTIambassador.java

示例2: modifyLookahead

import hla.rti1516e.exceptions.TimeRegulationIsNotEnabled; //导入依赖的package包/类
public void modifyLookahead(final LogicalTimeInterval theLookahead) throws InvalidLookahead, InTimeAdvancingState, TimeRegulationIsNotEnabled, SaveInProgress, RestoreInProgress, FederateNotExecutionMember, NotConnected, RTIinternalError {
    this.logger.trace("modifyLookahead theLookahead=" + theLookahead.toString());
    try {
    	this._rtiAmbassador.modifyLookahead(theLookahead);
    } catch (InvalidLookahead | InTimeAdvancingState | TimeRegulationIsNotEnabled | SaveInProgress | RestoreInProgress | FederateNotExecutionMember | NotConnected | RTIinternalError e) {
    	this.logger.error("modifyLookahead exception=" + e.getMessage());
    	throw e;
    }
}
 
开发者ID:MSG134,项目名称:IVCT_Framework,代码行数:10,代码来源:IVCT_RTIambassador.java

示例3: queryLookahead

import hla.rti1516e.exceptions.TimeRegulationIsNotEnabled; //导入依赖的package包/类
public LogicalTimeInterval queryLookahead() throws TimeRegulationIsNotEnabled, SaveInProgress, RestoreInProgress, FederateNotExecutionMember, NotConnected, RTIinternalError {
    this.logger.trace("queryLookahead");
    try {
    	final LogicalTimeInterval logicalTimeInterval = this._rtiAmbassador.queryLookahead();
    	this.logger.trace("queryLookahead return " + logicalTimeInterval.toString());
    	return logicalTimeInterval;
    } catch (TimeRegulationIsNotEnabled | SaveInProgress | RestoreInProgress | FederateNotExecutionMember | NotConnected | RTIinternalError e) {
    	this.logger.error("queryLookahead exception=" + e.getMessage());
    	throw e;
    }
}
 
开发者ID:MSG134,项目名称:IVCT_Framework,代码行数:12,代码来源:IVCT_RTIambassador.java

示例4: retract

import hla.rti1516e.exceptions.TimeRegulationIsNotEnabled; //导入依赖的package包/类
public void retract(final MessageRetractionHandle theHandle) throws MessageCanNoLongerBeRetracted, InvalidMessageRetractionHandle, TimeRegulationIsNotEnabled, SaveInProgress, RestoreInProgress, FederateNotExecutionMember, NotConnected, RTIinternalError {
    this.logger.trace("retract theHandle=" + theHandle.toString());
    try {
    	this._rtiAmbassador.retract(theHandle);
    } catch (MessageCanNoLongerBeRetracted | InvalidMessageRetractionHandle | TimeRegulationIsNotEnabled | SaveInProgress | RestoreInProgress | FederateNotExecutionMember | NotConnected | RTIinternalError e) {
    	this.logger.error("retract exception=" + e.getMessage());
    	throw e;
    }
}
 
开发者ID:MSG134,项目名称:IVCT_Framework,代码行数:10,代码来源:IVCT_RTIambassador.java


注:本文中的hla.rti1516e.exceptions.TimeRegulationIsNotEnabled类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。