⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rtiambservices.hh

📁 基于BHRTI开发环境的简单五子棋游戏
💻 HH
📖 第 1 页 / 共 3 页
字号:
  InvalidRegionContext,
  RegionNotKnown,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  SaveInProgress,
  RestoreInProgress,
  RTIinternalError);

// 9.7
void unassociateRegionForUpdates (
	Region       &theRegion,     // supplied C4
	ObjectHandle  theObject)     // supplied C1
throw (
  ObjectNotKnown,
  InvalidRegionContext,
  RegionNotKnown,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  SaveInProgress,
  RestoreInProgress,
  RTIinternalError);

// 9.8
void subscribeObjectClassAttributesWithRegion (
	ObjectClassHandle   theClass,      // supplied C1
	Region             &theRegion,     // supplied C4
	const AttributeHandleSet &attributeList, // supplied C4
	Boolean        active = RTI_TRUE)
throw (
  ObjectClassNotDefined,
  AttributeNotDefined,
  RegionNotKnown,
  InvalidRegionContext,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  SaveInProgress,
  RestoreInProgress,
  RTIinternalError);

// 9.9
void unsubscribeObjectClassWithRegion (
	ObjectClassHandle theClass,          // supplied C1
	Region           &theRegion)         // supplied C4
throw (
  ObjectClassNotDefined,
  RegionNotKnown,
  ObjectClassNotSubscribed,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  SaveInProgress,
  RestoreInProgress,
  RTIinternalError);

// 9.10
void subscribeInteractionClassWithRegion (
	InteractionClassHandle theClass,        // supplied C1
	Region                &theRegion,       // supplied C4
	Boolean           active = RTI_TRUE)
throw (
  InteractionClassNotDefined,
  RegionNotKnown,
  InvalidRegionContext,
  FederateLoggingServiceCalls,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  SaveInProgress,
  RestoreInProgress,
  RTIinternalError);

// 9.11
void unsubscribeInteractionClassWithRegion (
	InteractionClassHandle theClass,  // supplied C1
	Region                &theRegion) // supplied C4
throw (
  InteractionClassNotDefined,
  InteractionClassNotSubscribed,
  RegionNotKnown,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  SaveInProgress,
  RestoreInProgress,
  RTIinternalError);

// 9.12
EventRetractionHandle                                // returned C3
sendInteractionWithRegion (
	InteractionClassHandle       theInteraction, // supplied C1
	const ParameterHandleValuePairSet &theParameters,  // supplied C4
	const FedTime&                     theTime,        // supplied C4
	const char                        *theTag,         // supplied C4
	const Region                      &theRegion)      // supplied C4
throw (
  InteractionClassNotDefined,
  InteractionClassNotPublished,
  InteractionParameterNotDefined,
  InvalidFederationTime,
  RegionNotKnown,
  InvalidRegionContext,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  SaveInProgress,
  RestoreInProgress,
  RTIinternalError);

void sendInteractionWithRegion (
	InteractionClassHandle       theInteraction, // supplied C1
	const ParameterHandleValuePairSet &theParameters,  // supplied C4
	const char                        *theTag,         // supplied C4
	const Region                      &theRegion)      // supplied C4
throw (
  InteractionClassNotDefined,
  InteractionClassNotPublished,
  InteractionParameterNotDefined,
  RegionNotKnown,
  InvalidRegionContext,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  SaveInProgress,
  RestoreInProgress,
  RTIinternalError);

// 9.13
void requestClassAttributeValueUpdateWithRegion (
	ObjectClassHandle   theClass,      // supplied C1
	const AttributeHandleSet &theAttributes, // supplied C4
	const Region             &theRegion)     // supplied C4
throw (
  ObjectClassNotDefined, 
  AttributeNotDefined,
  RegionNotKnown,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  SaveInProgress,
  RestoreInProgress,
  RTIinternalError);

///////////////////////////////////
// RTI Support Services          //
///////////////////////////////////

// 10.2
ObjectClassHandle          // returned c3
getObjectClassHandle(
  const char *theName)     // supplied c4
throw (
  NameNotFound,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  RTIinternalError);

// 10.3
char *                         // returned C6    
getObjectClassName (
					ObjectClassHandle theHandle) // supplied C1
					throw (
					ObjectClassNotDefined,
					FederateNotExecutionMember,
					ConcurrentAccessAttempted,
					RTIinternalError);

// 10.4
AttributeHandle                        // returned c3
getAttributeHandle(
  const char              *thename,    //supplied c4
        ObjectClassHandle whichClass)  //supplied c1
throw (
  ObjectClassNotDefined,
  NameNotFound,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  RTIinternalError);

// 10.5
char *                          // returned C6 
getAttributeName (
				  AttributeHandle   theHandle,  // supplied C1
				  ObjectClassHandle whichClass) // supplied C1
				  throw (
				  ObjectClassNotDefined,
				  AttributeNotDefined,
				  FederateNotExecutionMember,
				  ConcurrentAccessAttempted,
				  RTIinternalError);

// 10.6
InteractionClassHandle     // returned c3
getInteractionClassHandle(
  const char *theName)     // supplied c4
throw (
  NameNotFound,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  RTIinternalError);

// 10.7
char *                              // returned C6 
getInteractionClassName (
						 InteractionClassHandle theHandle) // supplied C1
						 throw (
						 InteractionClassNotDefined,
						 FederateNotExecutionMember,
						 ConcurrentAccessAttempted,
						 RTIinternalError);

// 10.8
ParameterHandle                             // returned c3
getParameterHandle(                 
  const char *theName,                      // supplied c4
        InteractionClassHandle whichClass)  // supplied c1
throw (
  InteractionClassNotDefined,
  NameNotFound,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  RTIinternalError);

// 10.9
char *                               // returned C6
getParameterName (
				  ParameterHandle        theHandle,  // supplied C1
				  InteractionClassHandle whichClass) // supplied C1
throw (
  InteractionClassNotDefined,
  InteractionParameterNotDefined,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  RTIinternalError);

// 10.10
ObjectHandle                 // returned C3
getObjectInstanceHandle (
						 const char *theName)       // supplied C4
throw (
    ObjectNotKnown,
    FederateNotExecutionMember,
    ConcurrentAccessAttempted,
    RTIinternalError);

// 10.11
char *                     // returned c6
getObjectInstanceName(
					  ObjectHandle theHandle)  // supplied c1
					  throw (
					  ObjectNotKnown,
					  FederateNotExecutionMember,
					  ConcurrentAccessAttempted,
					  RTIinternalError);


// 10.12
SpaceHandle                // returned C3
getRoutingSpaceHandle (
					   const char *theName)     // supplied C4
throw (
  NameNotFound,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  RTIinternalError);

// 10.13
char *                         // returned C6
getRoutingSpaceName (
					 const SpaceHandle theHandle) // supplied C4
throw (
  SpaceNotDefined,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  RTIinternalError);

// 10.14
DimensionHandle                   // returned C3
getDimensionHandle (
					const char         *theName,    // supplied C4
					SpaceHandle   whichSpace) // supplied C1
throw (
  SpaceNotDefined,
  NameNotFound,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  RTIinternalError);  
    
// 10.15
char *                        // returned C6
getDimensionName (
				  DimensionHandle theHandle,  // supplied C1
				  SpaceHandle     whichSpace) // supplied C1
throw (
  SpaceNotDefined,
  DimensionNotDefined,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  RTIinternalError);

// 10.16
SpaceHandle                        // returned C3
getAttributeRoutingSpaceHandle (
	AttributeHandle   theHandle,   // supplied C1
	ObjectClassHandle whichClass)  // supplied C1
throw (
  ObjectClassNotDefined,
  AttributeNotDefined,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  RTIinternalError);

// 10.17
ObjectClassHandle              // returned C3
getObjectClass (
	ObjectHandle theObject)    // supplied C1
throw (
  ObjectNotKnown,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  RTIinternalError);

// 10.18
SpaceHandle                               // returned C3
getInteractionRoutingSpaceHandle (
	InteractionClassHandle   theHandle)   // supplied C1
throw (
  InteractionClassNotDefined,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  RTIinternalError);

// 10.19
TransportationHandle        // returned C3
getTransportationHandle (
	const char *theName)    // supplied C4
throw (
  NameNotFound,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  RTIinternalError);

// 10.20
char *                              // returned C6 
getTransportationName (
	TransportationHandle theHandle) // supplied C1
throw (
  InvalidTransportationHandle,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  RTIinternalError);

// 10.21
OrderingHandle           // returned C3
getOrderingHandle (
	const char *theName) // supplied C4
throw (
  NameNotFound,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  RTIinternalError);

// 10.22
char *                        // returned C6 
getOrderingName (
	OrderingHandle theHandle) // supplied C1
throw (
  InvalidOrderingHandle,
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  RTIinternalError);

// 10.23
void enableClassRelevanceAdvisorySwitch()
throw(
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  SaveInProgress,
  RestoreInProgress,
  RTIinternalError);

// 10.24
void disableClassRelevanceAdvisorySwitch()
throw(
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  SaveInProgress,
  RestoreInProgress,
  RTIinternalError);

// 10.25
void enableAttributeRelevanceAdvisorySwitch()
throw(
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  SaveInProgress,
  RestoreInProgress,
  RTIinternalError);

// 10.26
void disableAttributeRelevanceAdvisorySwitch()
throw(
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  SaveInProgress,
  RestoreInProgress,
  RTIinternalError);

// 10.27
void enableAttributeScopeAdvisorySwitch()
throw(
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  SaveInProgress,
  RestoreInProgress,
  RTIinternalError);

// 10.28
void disableAttributeScopeAdvisorySwitch()
throw(
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  SaveInProgress,
  RestoreInProgress,
  RTIinternalError);

// 10.29
void enableInteractionRelevanceAdvisorySwitch()
throw(
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  SaveInProgress,
  RestoreInProgress,
  RTIinternalError);

// 10.30
void disableInteractionRelevanceAdvisorySwitch()
throw(
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  SaveInProgress,
  RestoreInProgress,
  RTIinternalError);

Boolean //returned c3
tick()
throw (
  SpecifiedSaveLabelDoesNotExist,
  ConcurrentAccessAttempted,
  RTIinternalError);

Boolean //returned c3
tick(
  TickTime minimum, //supplied c1
  TickTime maximum) //supplied c1
throw (
  SpecifiedSaveLabelDoesNotExist,
  ConcurrentAccessAttempted,
  RTIinternalError);

RTIambassador()
throw (
  MemoryExhausted,
  RTIinternalError);

~RTIambassador()
throw (RTIinternalError);

RegionToken
getRegionToken(
  Region * theRegion)
throw(
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  RegionNotKnown,
  RTIinternalError);

Region *
getRegion(
  RegionToken theRegionToken)
throw(
  FederateNotExecutionMember,
  ConcurrentAccessAttempted,
  RegionNotKnown,
  RTIinternalError);

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -