[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[certi-cvs] certi/include CMakeLists.txt RTI/Handle.h RTI/E...
From: |
certi-cvs |
Subject: |
[certi-cvs] certi/include CMakeLists.txt RTI/Handle.h RTI/E... |
Date: |
Tue, 07 Oct 2008 18:46:28 +0000 |
CVSROOT: /sources/certi
Module name: certi
Changes by: Eric NOULARD <erk> 08/10/07 18:46:27
Modified files:
include : CMakeLists.txt
Added files:
include/RTI : Handle.h Enums.h RTIambassadorFactory.h
VariableLengthData.h RTI1516.h SpecificConfig.h
LogicalTimeInterval.h RTIambassador.h
RangeBounds.h Exception.h LogicalTimeFactory.h
NullFederateAmbassador.h Typedefs.h
FederateAmbassador.h LogicalTime.h
Removed files:
include : RTI_set.h RTI_RTIambassador.h
RTI_ServiceGroupIndicator.h
RTI_LogicalTimeIntervalFactory.h
RTI_EncodedLogicalTimeInterval.h
RTI_TransportationType.h
RTI_SaveFailureReason.h RTI_OrderType.h
RTI_bool.h RTI_LogicalTimeInterval.h
RTI_EncodedLogicalTime.h RTI_exception.h
RTI_RangeBounds.h RTI_Value.h RTI_string.h
RTI_ResignAction.h RTI_1516.h
RTI_SynchronizationFailureReason.h
RTI_RTIambassadorFactory.h RTI_RestoreStatus.h
RTI_SaveStatus.h RTI_FederateAmbassador.h
RTI_map.h RTI_LogicalTime.h RTI_memory.h
RTI_LogicalTimeFactory.h RTI_Typedefs.h
RTI_Handle.h RTI_vector.h
RTI_SpecificTypedefs.h
RTI_RestoreFailureReason.h
RTI_SpecificPostamble.h RTI_SpecificConfig.h.in
Log message:
Install proper SISO-STD-004.1-2004 DLC files
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI/Handle.h?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI/Enums.h?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI/RTIambassadorFactory.h?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI/VariableLengthData.h?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI/RTI1516.h?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI/SpecificConfig.h?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI/LogicalTimeInterval.h?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI/RTIambassador.h?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI/RangeBounds.h?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI/Exception.h?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI/LogicalTimeFactory.h?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI/NullFederateAmbassador.h?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI/Typedefs.h?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI/FederateAmbassador.h?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI/LogicalTime.h?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/certi/include/CMakeLists.txt?cvsroot=certi&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_set.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_RTIambassador.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_ServiceGroupIndicator.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_LogicalTimeIntervalFactory.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_EncodedLogicalTimeInterval.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_TransportationType.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_SaveFailureReason.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_OrderType.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_bool.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_LogicalTimeInterval.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_EncodedLogicalTime.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_exception.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_RangeBounds.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_Value.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_string.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_ResignAction.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_1516.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_SynchronizationFailureReason.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_RTIambassadorFactory.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_RestoreStatus.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_SaveStatus.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_FederateAmbassador.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_map.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_LogicalTime.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_memory.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_LogicalTimeFactory.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_Typedefs.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_Handle.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_vector.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_SpecificTypedefs.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_RestoreFailureReason.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_SpecificPostamble.h?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/certi/include/RTI_SpecificConfig.h.in?cvsroot=certi&r1=1.1&r2=0
Patches:
Index: CMakeLists.txt
===================================================================
RCS file: /sources/certi/certi/include/CMakeLists.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- CMakeLists.txt 6 Jul 2007 14:20:42 -0000 1.2
+++ CMakeLists.txt 7 Oct 2008 18:46:26 -0000 1.3
@@ -1,7 +1,6 @@
-# install public header files
-
-INSTALL( FILES
+# Install public HLA 1.3 DLC headers files
+INSTALL(FILES
NullFederateAmbassador.hh
RTI.hh
RTIambServices.hh
@@ -10,3 +9,8 @@
federateAmbServices.hh
fedtime.hh
DESTINATION include)
+
+# Install public IEEE-1516 DLC headers files
+# taken from SISO-STD-004.1-2004
+# see
http://www.sisostds.org/index.php?tg=fileman&idx=get&id=5&gr=Y&path=SISO+Products%2FSISO+Standards&file=SIS-STD-004.1-2004.zip
+INSTALL(DIRECTORY RTI DESTINATION include)
Index: RTI/Handle.h
===================================================================
RCS file: RTI/Handle.h
diff -N RTI/Handle.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ RTI/Handle.h 7 Oct 2008 18:46:22 -0000 1.1
@@ -0,0 +1,111 @@
+/***********************************************************************
+ IEEE 1516.1 High Level Architecture Interface Specification C++ API
+ File: RTI/Handle.h
+***********************************************************************/
+
+#ifndef RTI_Handle_h
+#define RTI_Handle_h
+
+#include <RTI/SpecificConfig.h>
+#include <RTI/Exception.h>
+#include <RTI/VariableLengthData.h>
+#include <string>
+
+// The following macro is used to define each of the Handle classes
+// that are used by the RTI's API, e.g. AttributeHandle, ParameterHandle, etc.
+// Each kind of handle contains the same set of operators and functions, but
+// each is a separate class for type safety. The encode method can be used to
+// generate an encoded value for a handle, that can be sent to other federates
+// as an attribute or parameter. (Use RTIambassador functions to reconstruct
a
+// handle from an encoded value). RTI implementations contain definitions
+// for each kind of the HandleKindImplementation classes (e.g.
+// AttributeHandleImplementation), but these classes are not needed by
+// federate code.
+
+#define DEFINE_HANDLE_CLASS(HandleKind) \
+ \
+/* Forward declaration for the RTI-internal class */ \
+/* used to implement a specific kind of handle */ \
+class HandleKind##Implementation; \
+ \
+/* Each handle class generated by this macro provides the */ \
+/* following interface */ \
+class RTI_EXPORT HandleKind \
+{ \
+public: \
+ \
+ /* Constructs an invalid handle */ \
+ HandleKind(); \
+ \
+ ~HandleKind() \
+ throw(); \
+ \
+ HandleKind(HandleKind const & rhs); \
+ \
+ HandleKind & \
+ operator=(HandleKind const & rhs); \
+ \
+ /* Indicates whether this handle is valid */ \
+ bool isValid() const; \
+ \
+ /* All invalid handles are equivalent */ \
+ bool operator==(HandleKind const & rhs) const; \
+ bool operator!=(HandleKind const & rhs) const; \
+ bool operator< (HandleKind const & rhs) const; \
+ \
+ /* Generate an encoded value that can be used to send */ \
+ /* handles to other federates in updates or interactions. */ \
+ VariableLengthData encode() const; \
+ \
+ /* Alternate encode for directly filling a buffer */ \
+ unsigned long encodedLength() const; \
+ unsigned long encode( \
+ void* buffer, unsigned long bufferSize) const \
+ throw (CouldNotEncode); \
+ \
+ std::wstring toString() const; \
+ \
+protected: \
+ \
+ /* Friend declaration for an RTI-internal class that */ \
+ /* can access the implementation of a handle. */ \
+ friend class HandleKind##Friend; \
+ \
+ const HandleKind##Implementation* getImplementation() const; \
+ \
+ HandleKind##Implementation* getImplementation(); \
+ \
+ explicit \
+ HandleKind(HandleKind##Implementation* impl); \
+ \
+ explicit \
+ HandleKind(VariableLengthData const & encodedValue); \
+ \
+ HandleKind##Implementation* _impl; \
+ \
+}; \
+ \
+/* Output operator for Handles */ \
+std::wostream RTI_EXPORT & \
+ operator << (std::wostream &, HandleKind const &);
+
+
+namespace rti1516
+{
+
+// All of the RTI API's Handle classes are defined
+// by invoking the macro above.
+DEFINE_HANDLE_CLASS(FederateHandle)
+DEFINE_HANDLE_CLASS(ObjectClassHandle)
+DEFINE_HANDLE_CLASS(InteractionClassHandle)
+DEFINE_HANDLE_CLASS(ObjectInstanceHandle)
+DEFINE_HANDLE_CLASS(AttributeHandle)
+DEFINE_HANDLE_CLASS(ParameterHandle)
+DEFINE_HANDLE_CLASS(DimensionHandle)
+DEFINE_HANDLE_CLASS(MessageRetractionHandle)
+DEFINE_HANDLE_CLASS(RegionHandle)
+
+}
+
+#endif // RTI_Handle_h
+
Index: RTI/Enums.h
===================================================================
RCS file: RTI/Enums.h
diff -N RTI/Enums.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ RTI/Enums.h 7 Oct 2008 18:46:22 -0000 1.1
@@ -0,0 +1,91 @@
+/***********************************************************************
+ IEEE 1516.1 High Level Architecture Interface Specification C++ API
+ File: RTI/Enums.h
+***********************************************************************/
+
+#ifndef RTI_Enums_h
+#define RTI_Enums_h
+
+#include <RTI/SpecificConfig.h>
+
+namespace rti1516
+{
+ enum OrderType
+ {
+ RECEIVE,
+ TIMESTAMP
+ };
+
+ enum ResignAction
+ {
+ UNCONDITIONALLY_DIVEST_ATTRIBUTES,
+ DELETE_OBJECTS,
+ CANCEL_PENDING_OWNERSHIP_ACQUISITIONS,
+ DELETE_OBJECTS_THEN_DIVEST,
+ CANCEL_THEN_DELETE_THEN_DIVEST,
+ NO_ACTION
+ };
+
+ enum RestoreFailureReason
+ {
+ RTI_UNABLE_TO_RESTORE,
+ FEDERATE_REPORTED_FAILURE_DURING_RESTORE,
+ FEDERATE_RESIGNED_DURING_RESTORE,
+ RTI_DETECTED_FAILURE_DURING_RESTORE
+ };
+
+ enum RestoreStatus
+ {
+ NO_RESTORE_IN_PROGRESS,
+ FEDERATE_RESTORE_REQUEST_PENDING,
+ FEDERATE_WAITING_FOR_RESTORE_TO_BEGIN,
+ FEDERATE_PREPARED_TO_RESTORE,
+ FEDERATE_RESTORING,
+ FEDERATE_WAITING_FOR_FEDERATION_TO_RESTORE
+ };
+
+ enum SaveFailureReason
+ {
+ RTI_UNABLE_TO_SAVE,
+ FEDERATE_REPORTED_FAILURE_DURING_SAVE,
+ FEDERATE_RESIGNED_DURING_SAVE,
+ RTI_DETECTED_FAILURE_DURING_SAVE,
+ SAVE_TIME_CANNOT_BE_HONORED
+ };
+
+ enum SaveStatus
+ {
+ NO_SAVE_IN_PROGRESS,
+ FEDERATE_INSTRUCTED_TO_SAVE,
+ FEDERATE_SAVING,
+ FEDERATE_WAITING_FOR_FEDERATION_TO_SAVE
+ };
+
+ enum ServiceGroupIndicator
+ {
+ FEDERATION_MANAGEMENT,
+ DECLARATION_MANAGEMENT,
+ OBJECT_MANAGEMENT,
+ OWNERSHIP_MANAGEMENT,
+ TIME_MANAGEMENT,
+ DATA_DISTRIBUTION_MANAGEMENT,
+ SUPPORT_SERVICES
+ };
+
+ enum SynchronizationFailureReason
+ {
+ SYNCHRONIZATION_POINT_LABEL_NOT_UNIQUE,
+ SYNCHRONIZATION_SET_MEMBER_NOT_JOINED,
+ FEDERATE_RESIGNED_DURING_SYNCHRONIZATION,
+ RTI_DETECTED_FAILURE_DURING_SYNCHRONIZATION,
+ SYNCHRONIZATION_TIME_CANNOT_BE_HONORED
+ };
+
+ enum TransportationType
+ {
+ RELIABLE,
+ BEST_EFFORT
+ };
+}
+
+#endif // RTI_Enums_h
Index: RTI/RTIambassadorFactory.h
===================================================================
RCS file: RTI/RTIambassadorFactory.h
diff -N RTI/RTIambassadorFactory.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ RTI/RTIambassadorFactory.h 7 Oct 2008 18:46:22 -0000 1.1
@@ -0,0 +1,43 @@
+/***********************************************************************
+ IEEE 1516.1 High Level Architecture Interface Specification C++ API
+ File: RTI/RTIambassadorFactory.h
+***********************************************************************/
+
+#ifndef RTI_RTIambassadorFactory_h
+#define RTI_RTIambassadorFactory_h
+
+namespace rti1516
+{
+ class RTIambassador;
+}
+
+namespace std
+{
+ template <class T> class auto_ptr;
+}
+
+#include <RTI/SpecificConfig.h>
+#include <RTI/Exception.h>
+#include <vector>
+#include <string>
+
+namespace rti1516
+{
+ class RTI_EXPORT RTIambassadorFactory
+ {
+ public:
+ RTIambassadorFactory();
+
+ virtual
+ ~RTIambassadorFactory()
+ throw ();
+
+ // 10.35
+ std::auto_ptr< RTIambassador >
+ createRTIambassador(std::vector< std::wstring > & args)
+ throw (BadInitializationParameter,
+ RTIinternalError);
+ };
+}
+
+#endif // RTI_RTIambassadorFactory_h
Index: RTI/VariableLengthData.h
===================================================================
RCS file: RTI/VariableLengthData.h
diff -N RTI/VariableLengthData.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ RTI/VariableLengthData.h 7 Oct 2008 18:46:22 -0000 1.1
@@ -0,0 +1,68 @@
+/***********************************************************************
+ IEEE 1516.1 High Level Architecture Interface Specification C++ API
+ File: RTI/VariableLengthData.h
+***********************************************************************/
+
+#ifndef RTI_VariableLengthData_h
+#define RTI_VariableLengthData_h
+
+#include <RTI/SpecificConfig.h>
+
+// A class to hold an arbitrary array of bytes for encoded values,
+// attribute values, parameter values, etc. The class provides
+// several ways of setting data, allowing tradeoffs between
+// efficiency and memory management reponsibility.
+
+namespace rti1516
+{
+ // Forward declaration for the RTI-internal class
+ // used to implement VariableLengthData
+ class VariableLengthDataImplementation;
+
+ class RTI_EXPORT VariableLengthData
+ {
+ public:
+ VariableLengthData();
+
+ // Caller is free to delete inData after the call
+ VariableLengthData(void const * inData, unsigned long inSize);
+
+ // Caller is free to delete rhs after the call
+ VariableLengthData(VariableLengthData const & rhs);
+
+ ~VariableLengthData();
+
+ // Caller is free to delete rhs after the call
+ VariableLengthData &
+ operator=(VariableLengthData const & rhs);
+
+ // This pointer should not be expected to be valid past the
+ // lifetime of this object, or past the next time this object
+ // is given new data
+ void const * data() const;
+ unsigned long size() const;
+
+ // Caller is free to delete inData after the call
+ void setData(void const * inData, unsigned long inSize);
+
+ // Caller is responsible for ensuring that the data that is
+ // pointed to is valid for the lifetime of this object, or past
+ // the next time this object is given new data.
+ void setDataPointer(void* inData, unsigned long inSize);
+
+ // Caller gives up ownership of inData to this object.
+ // This object assumes the responsibility of deleting inData
+ // when it is no longer needed.
+ void takeDataPointer(void* inData, unsigned long inSize);
+
+ private:
+
+ // Friend declaration for an RTI-internal class that
+ // can access the implementation of a VariableLengthValue
+ friend class VariableLengthDataFriend;
+
+ VariableLengthDataImplementation* _impl;
+ };
+}
+
+#endif // RTI_VariableLengthData_h
Index: RTI/RTI1516.h
===================================================================
RCS file: RTI/RTI1516.h
diff -N RTI/RTI1516.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ RTI/RTI1516.h 7 Oct 2008 18:46:22 -0000 1.1
@@ -0,0 +1,54 @@
+/***********************************************************************
+ IEEE 1516.1 High Level Architecture Interface Specification C++ API
+ File: RTI/1516.h
+***********************************************************************/
+
+//
+// This file is simply a convenience provided for those developers that would
+// like to include everything all at once
+//
+
+#ifndef RTI_1516_h
+#define RTI_1516_h
+
+// Identification of the API version number.
+#define HLA_SPECIFICATION_NAME "1516"
+#define HLA_API_MAJOR_VERSION 2
+#define HLA_API_MINOR_VERSION 0
+
+// This file contains platform specific configuration info.
+#include <RTI/SpecificConfig.h>
+
+// These file include declarations/definitions for ISO 14882 standard C++
+// classes, renamed for portability.
+#include <string>
+#include <set>
+#include <map>
+#include <vector>
+#include <memory>
+
+// This file contains standard RTI type declarations/definitions.
+#include <RTI/Exception.h>
+#include <RTI/Handle.h>
+#include <RTI/Enums.h>
+#include <RTI/RangeBounds.h>
+
+// This file contains standard RTI type declarations/definitions which depend
on
+// RTI implementation specific declarations/definitions.
+#include <RTI/Typedefs.h>
+#include <RTI/LogicalTime.h>
+#include <RTI/LogicalTimeFactory.h>
+#include <RTI/LogicalTimeInterval.h>
+
+namespace rti1516
+{
+ // Vendor-specific name and version of the RTI implementation
+ std::wstring RTI_EXPORT RTIname();
+ std::wstring RTI_EXPORT RTIversion();
+}
+
+#include <RTI/FederateAmbassador.h>
+#include <RTI/RTIambassador.h>
+#include <RTI/RTIambassadorFactory.h>
+
+#endif // RTI_1516_h
Index: RTI/SpecificConfig.h
===================================================================
RCS file: RTI/SpecificConfig.h
diff -N RTI/SpecificConfig.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ RTI/SpecificConfig.h 7 Oct 2008 18:46:22 -0000 1.1
@@ -0,0 +1,59 @@
+/***********************************************************************
+ IEEE 1516.1 High Level Architecture Interface Specification C++ API
+ File: RTI/SpecificConfig.h
+***********************************************************************/
+
+// Purpose: This file contains definitions that are used to isolate
+// platform-specific elements of the API. It is not implementation-specific.
+
+#ifndef RTI_SpecificConfig_h
+#define RTI_SpecificConfig_h
+
+#if defined(_WIN32)
+#if defined(_MSC_VER) && defined(RTI_DISABLE_WARNINGS)
+// disable warning about truncating template instantiation symbol names
+#pragma warning(disable: 4786)
+// disable warning about exceptions not being part of a method's signature
+#pragma warning(disable: 4290)
+// disable warnings about a "dllexport" class using a regular class
+#pragma warning(disable: 4251)
+#endif
+//
+// On Windows, BUILDING_RTI should be defined only when compiling
+// the RTI DLL (i.e. by RTI developers). BUILDING_FEDTIME should
+// be defined only when building a libfedtime DLL. STATIC_RTI
+// should be defined when building a static (non-DLL) RTI library,
+// or when building a federate that wants to statically link to
+// an RTI library. STATIC_FEDTIME should be defined when building
+// a static (non-DLL) fedtime library, or when building a federate
+// that wants to statically link to a fedtime library.
+//
+#if defined(STATIC_RTI)
+#define RTI_EXPORT
+#else
+#if defined(BUILDING_RTI)
+// define the proper qualifiers to import/export symbols from/to DLL
+#define RTI_EXPORT __declspec(dllexport)
+#else // !BUILDING_RTI
+#define RTI_EXPORT __declspec(dllimport)
+#endif // BUILDING_RTI
+#endif // STATIC_RTI
+
+#if defined(STATIC_FEDTIME)
+#define RTI_EXPORT_FEDTIME
+#else
+#if defined(BUILDING_FEDTIME)
+// define the proper qualifiers to import/export symbols from/to DLL
+#define RTI_EXPORT_FEDTIME __declspec(dllexport)
+#else // !BUILDING_FEDTIME
+#define RTI_EXPORT_FEDTIME __declspec(dllimport)
+#endif // BUILDING_FEDTIME
+#endif // STATIC_FEDTIME
+
+#else // !WIN32
+// no special qualfifers are necessary on non-WIN32 platforms
+#define RTI_EXPORT
+#define RTI_EXPORT_FEDTIME
+#endif
+
+#endif // RTI_SpecificConfig_h
Index: RTI/LogicalTimeInterval.h
===================================================================
RCS file: RTI/LogicalTimeInterval.h
diff -N RTI/LogicalTimeInterval.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ RTI/LogicalTimeInterval.h 7 Oct 2008 18:46:22 -0000 1.1
@@ -0,0 +1,127 @@
+/***********************************************************************
+ IEEE 1516.1 High Level Architecture Interface Specification C++ API
+ File: RTI/LogicalTimeInterval.h
+***********************************************************************/
+
+#ifndef RTI_LogicalTimeInterval_h
+#define RTI_LogicalTimeInterval_h
+
+// The classes associated with logical time allow a federation to provide
+// their own representation for logical time and logical time interval. The
+// federation is responsible to inherit from the abstract classes declared
+// below. The encoded time classes are used to hold the arbitrary bit
+// representation of the logical time and logical time intervals.
+
+namespace rti1516
+{
+ class LogicalTime;
+}
+
+#include <RTI/SpecificConfig.h>
+#include <RTI/Exception.h>
+#include <string>
+#include <RTI/VariableLengthData.h>
+
+namespace rti1516
+{
+ class RTI_EXPORT LogicalTimeInterval
+ {
+ public:
+ virtual
+ ~LogicalTimeInterval()
+ throw () = 0;
+
+ virtual
+ void
+ setZero() = 0;
+
+ virtual
+ bool
+ isZero() const = 0;
+
+ virtual
+ void
+ setEpsilon() = 0;
+
+ virtual
+ bool
+ isEpsilon() const = 0;
+
+ virtual
+ LogicalTimeInterval &
+ operator=(LogicalTimeInterval const & value)
+ throw (InvalidLogicalTimeInterval) = 0;
+
+ // Set self to the difference between two LogicalTimes
+ virtual
+ void
+ setToDifference(LogicalTime const & minuend,
+ LogicalTime const& subtrahend)
+ throw (InvalidLogicalTime) = 0;
+
+ virtual
+ LogicalTimeInterval &
+ operator+=(LogicalTimeInterval const & addend)
+ throw (InvalidLogicalTimeInterval) = 0;
+
+ virtual
+ LogicalTimeInterval &
+ operator-=(LogicalTimeInterval const & subtrahend)
+ throw (InvalidLogicalTimeInterval) = 0;
+
+ virtual
+ bool
+ operator>(LogicalTimeInterval const & value) const
+ throw (InvalidLogicalTimeInterval) = 0;
+
+ virtual
+ bool
+ operator<(LogicalTimeInterval const & value) const
+ throw (InvalidLogicalTimeInterval) = 0;
+
+ virtual
+ bool
+ operator==(LogicalTimeInterval const & value) const
+ throw (InvalidLogicalTimeInterval) = 0;
+
+ virtual
+ bool
+ operator>=(LogicalTimeInterval const & value) const
+ throw (InvalidLogicalTimeInterval) = 0;
+
+ virtual
+ bool
+ operator<=(LogicalTimeInterval const & value) const
+ throw (InvalidLogicalTimeInterval) = 0;
+
+ // Generates an encoded value that can be used to send
+ // LogicalTimeIntervals to other federates in updates or interactions
+ virtual VariableLengthData encode() const = 0;
+
+ // Alternate encode for directly filling a buffer
+ virtual unsigned long encodedLength() const = 0;
+ virtual unsigned long encode(void* buffer, unsigned long bufferSize) const
+ throw (CouldNotEncode) = 0;
+
+ // Decode encodedValue into self
+ virtual void decode(VariableLengthData const & encodedValue)
+ throw (InternalError,
+ CouldNotDecode) = 0;
+
+ // Alternate decode that reads directly from a buffer
+ virtual void decode(void* buffer, unsigned long bufferSize)
+ throw (InternalError,
+ CouldNotDecode) = 0;
+
+ virtual std::wstring toString() const = 0;
+
+ // Returns the name of the implementation, as needed by
+ // createFederationExecution.
+ virtual std::wstring implementationName() const = 0;
+ };
+
+ // Output operator for LogicalTimeInterval
+ std::wostream RTI_EXPORT &
+ operator << (std::wostream &, LogicalTimeInterval const &);
+}
+#endif // RTI_LogicalTimeInterval_h
Index: RTI/RTIambassador.h
===================================================================
RCS file: RTI/RTIambassador.h
diff -N RTI/RTIambassador.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ RTI/RTIambassador.h 7 Oct 2008 18:46:22 -0000 1.1
@@ -0,0 +1,1315 @@
+/***********************************************************************
+ IEEE 1516.1 High Level Architecture Interface Specification C++ API
+ File: RTI/RTIambassador.h
+***********************************************************************/
+
+// This interface is used to access the services of the RTI.
+
+#ifndef RTI_RTIambassador_h
+#define RTI_RTIambassador_h
+
+namespace rti1516
+{
+ class FederateAmbassador;
+ class LogicalTime;
+ class LogicalTimeFactory;
+ class LogicalTimeInterval;
+ class RangeBounds;
+}
+
+#include <RTI/SpecificConfig.h>
+#include <string>
+#include <RTI/Typedefs.h>
+#include <RTI/Exception.h>
+
+namespace rti1516
+{
+ class RTI_EXPORT RTIambassador
+ {
+ protected:
+ RTIambassador()
+ throw ();
+
+ public:
+ virtual
+ ~RTIambassador();
+ // throw ()
+
+ // 4.2
+ virtual void createFederationExecution
+ (std::wstring const & federationExecutionName,
+ std::wstring const & fullPathNameToTheFDDfile,
+ std::wstring const & logicalTimeImplementationName = L"")
+ throw (FederationExecutionAlreadyExists,
+ CouldNotOpenFDD,
+ ErrorReadingFDD,
+ CouldNotCreateLogicalTimeFactory,
+ RTIinternalError) = 0;
+
+ // 4.3
+ virtual void destroyFederationExecution
+ (std::wstring const & federationExecutionName)
+ throw (FederatesCurrentlyJoined,
+ FederationExecutionDoesNotExist,
+ RTIinternalError) = 0;
+
+ // 4.4
+ virtual FederateHandle joinFederationExecution
+ (std::wstring const & federateType,
+ std::wstring const & federationExecutionName,
+ FederateAmbassador & federateAmbassador)
+ throw (FederateAlreadyExecutionMember,
+ FederationExecutionDoesNotExist,
+ SaveInProgress,
+ RestoreInProgress,
+ CouldNotCreateLogicalTimeFactory,
+ RTIinternalError) = 0;
+
+ // 4.5
+ virtual void resignFederationExecution
+ (ResignAction resignAction)
+ throw (OwnershipAcquisitionPending,
+ FederateOwnsAttributes,
+ FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 4.6
+ virtual void registerFederationSynchronizationPoint
+ (std::wstring const & label,
+ VariableLengthData const & theUserSuppliedTag)
+ throw (FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ virtual void registerFederationSynchronizationPoint
+ (std::wstring const & label,
+ VariableLengthData const & theUserSuppliedTag,
+ FederateHandleSet const & syncSet)
+ throw (FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 4.9
+ virtual void synchronizationPointAchieved
+ (std::wstring const & label)
+ throw (SynchronizationPointLabelNotAnnounced,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 4.11
+ virtual void requestFederationSave
+ (std::wstring const & label)
+ throw (FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ virtual void requestFederationSave
+ (std::wstring const & label,
+ LogicalTime const & theTime)
+ throw (LogicalTimeAlreadyPassed,
+ InvalidLogicalTime,
+ FederateUnableToUseTime,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 4.13
+ virtual void federateSaveBegun ()
+ throw (SaveNotInitiated,
+ FederateNotExecutionMember,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 4.14
+ virtual void federateSaveComplete ()
+ throw (FederateHasNotBegunSave,
+ FederateNotExecutionMember,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ virtual void federateSaveNotComplete()
+ throw (FederateHasNotBegunSave,
+ FederateNotExecutionMember,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 4.16
+ virtual void queryFederationSaveStatus ()
+ throw (FederateNotExecutionMember,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 4.18
+ virtual void requestFederationRestore
+ (std::wstring const & label)
+ throw (FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 4.22
+ virtual void federateRestoreComplete ()
+ throw (RestoreNotRequested,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RTIinternalError) = 0;
+
+ virtual void federateRestoreNotComplete ()
+ throw (RestoreNotRequested,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RTIinternalError) = 0;
+
+ // 4.24
+ virtual void queryFederationRestoreStatus ()
+ throw (FederateNotExecutionMember,
+ SaveInProgress,
+ RTIinternalError) = 0;
+
+ /////////////////////////////////////
+ // Declaration Management Services //
+ /////////////////////////////////////
+
+ // 5.2
+ virtual void publishObjectClassAttributes
+ (ObjectClassHandle theClass,
+ AttributeHandleSet const & attributeList)
+ throw (ObjectClassNotDefined,
+ AttributeNotDefined,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 5.3
+ virtual void unpublishObjectClass
+ (ObjectClassHandle theClass)
+ throw (ObjectClassNotDefined,
+ OwnershipAcquisitionPending,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ virtual void unpublishObjectClassAttributes
+ (ObjectClassHandle theClass,
+ AttributeHandleSet const & attributeList)
+ throw (ObjectClassNotDefined,
+ AttributeNotDefined,
+ OwnershipAcquisitionPending,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 5.4
+ virtual void publishInteractionClass
+ (InteractionClassHandle theInteraction)
+ throw (InteractionClassNotDefined,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 5.5
+ virtual void unpublishInteractionClass
+ (InteractionClassHandle theInteraction)
+ throw (InteractionClassNotDefined,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 5.6
+ virtual void subscribeObjectClassAttributes
+ (ObjectClassHandle theClass,
+ AttributeHandleSet const & attributeList,
+ bool active = true)
+ throw (ObjectClassNotDefined,
+ AttributeNotDefined,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 5.7
+ virtual void unsubscribeObjectClass
+ (ObjectClassHandle theClass)
+ throw (ObjectClassNotDefined,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ virtual void unsubscribeObjectClassAttributes
+ (ObjectClassHandle theClass,
+ AttributeHandleSet const & attributeList)
+ throw (ObjectClassNotDefined,
+ AttributeNotDefined,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 5.8
+ virtual void subscribeInteractionClass
+ (InteractionClassHandle theClass,
+ bool active = true)
+ throw (InteractionClassNotDefined,
+ FederateServiceInvocationsAreBeingReportedViaMOM,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 5.9
+ virtual void unsubscribeInteractionClass
+ (InteractionClassHandle theClass)
+ throw (InteractionClassNotDefined,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ ////////////////////////////////
+ // Object Management Services //
+ ////////////////////////////////
+
+ // 6.2
+ virtual void reserveObjectInstanceName
+ (std::wstring const & theObjectInstanceName)
+ throw (IllegalName,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 6.4
+ virtual ObjectInstanceHandle registerObjectInstance
+ (ObjectClassHandle theClass)
+ throw (ObjectClassNotDefined,
+ ObjectClassNotPublished,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ virtual ObjectInstanceHandle registerObjectInstance
+ (ObjectClassHandle theClass,
+ std::wstring const & theObjectInstanceName)
+ throw (ObjectClassNotDefined,
+ ObjectClassNotPublished,
+ ObjectInstanceNameNotReserved,
+ ObjectInstanceNameInUse,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 6.6
+ virtual void updateAttributeValues
+ (ObjectInstanceHandle theObject,
+ AttributeHandleValueMap const & theAttributeValues,
+ VariableLengthData const & theUserSuppliedTag)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotDefined,
+ AttributeNotOwned,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ virtual MessageRetractionHandle updateAttributeValues
+ (ObjectInstanceHandle theObject,
+ AttributeHandleValueMap const & theAttributeValues,
+ VariableLengthData const & theUserSuppliedTag,
+ LogicalTime const & theTime)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotDefined,
+ AttributeNotOwned,
+ InvalidLogicalTime,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 6.8
+ virtual void sendInteraction
+ (InteractionClassHandle theInteraction,
+ ParameterHandleValueMap const & theParameterValues,
+ VariableLengthData const & theUserSuppliedTag)
+ throw (InteractionClassNotPublished,
+ InteractionClassNotDefined,
+ InteractionParameterNotDefined,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ virtual MessageRetractionHandle sendInteraction
+ (InteractionClassHandle theInteraction,
+ ParameterHandleValueMap const & theParameterValues,
+ VariableLengthData const & theUserSuppliedTag,
+ LogicalTime const & theTime)
+ throw (InteractionClassNotPublished,
+ InteractionClassNotDefined,
+ InteractionParameterNotDefined,
+ InvalidLogicalTime,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 6.10
+ virtual void deleteObjectInstance
+ (ObjectInstanceHandle theObject,
+ VariableLengthData const & theUserSuppliedTag)
+ throw (DeletePrivilegeNotHeld,
+ ObjectInstanceNotKnown,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ virtual MessageRetractionHandle deleteObjectInstance
+ (ObjectInstanceHandle theObject,
+ VariableLengthData const & theUserSuppliedTag,
+ LogicalTime const & theTime)
+ throw (DeletePrivilegeNotHeld,
+ ObjectInstanceNotKnown,
+ InvalidLogicalTime,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 6.12
+ virtual void localDeleteObjectInstance
+ (ObjectInstanceHandle theObject)
+ throw (ObjectInstanceNotKnown,
+ FederateOwnsAttributes,
+ OwnershipAcquisitionPending,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 6.13
+ virtual void changeAttributeTransportationType
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes,
+ TransportationType theType)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotDefined,
+ AttributeNotOwned,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 6.14
+ virtual void changeInteractionTransportationType
+ (InteractionClassHandle theClass,
+ TransportationType theType)
+ throw (InteractionClassNotDefined,
+ InteractionClassNotPublished,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 6.17
+ virtual void requestAttributeValueUpdate
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes,
+ VariableLengthData const & theUserSuppliedTag)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotDefined,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ virtual void requestAttributeValueUpdate
+ (ObjectClassHandle theClass,
+ AttributeHandleSet const & theAttributes,
+ VariableLengthData const & theUserSuppliedTag)
+ throw (ObjectClassNotDefined,
+ AttributeNotDefined,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ ///////////////////////////////////
+ // Ownership Management Services //
+ ///////////////////////////////////
+ // 7.2
+ virtual void unconditionalAttributeOwnershipDivestiture
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotDefined,
+ AttributeNotOwned,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 7.3
+ virtual void negotiatedAttributeOwnershipDivestiture
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes,
+ VariableLengthData const & theUserSuppliedTag)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotDefined,
+ AttributeNotOwned,
+ AttributeAlreadyBeingDivested,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 7.6
+ virtual void confirmDivestiture
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & confirmedAttributes,
+ VariableLengthData const & theUserSuppliedTag)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotDefined,
+ AttributeNotOwned,
+ AttributeDivestitureWasNotRequested,
+ NoAcquisitionPending,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 7.8
+ virtual void attributeOwnershipAcquisition
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & desiredAttributes,
+ VariableLengthData const & theUserSuppliedTag)
+ throw (ObjectInstanceNotKnown,
+ ObjectClassNotPublished,
+ AttributeNotDefined,
+ AttributeNotPublished,
+ FederateOwnsAttributes,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 7.9
+ virtual void attributeOwnershipAcquisitionIfAvailable
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & desiredAttributes)
+ throw (ObjectInstanceNotKnown,
+ ObjectClassNotPublished,
+ AttributeNotDefined,
+ AttributeNotPublished,
+ FederateOwnsAttributes,
+ AttributeAlreadyBeingAcquired,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 7.12
+ virtual void attributeOwnershipDivestitureIfWanted
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes,
+ AttributeHandleSet & theDivestedAttributes) // filled by RTI
+ throw (ObjectInstanceNotKnown,
+ AttributeNotDefined,
+ AttributeNotOwned,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 7.13
+ virtual void cancelNegotiatedAttributeOwnershipDivestiture
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotDefined,
+ AttributeNotOwned,
+ AttributeDivestitureWasNotRequested,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 7.14
+ virtual void cancelAttributeOwnershipAcquisition
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotDefined,
+ AttributeAlreadyOwned,
+ AttributeAcquisitionWasNotRequested,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 7.16
+ virtual void queryAttributeOwnership
+ (ObjectInstanceHandle theObject,
+ AttributeHandle theAttribute)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotDefined,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 7.18
+ virtual bool isAttributeOwnedByFederate
+ (ObjectInstanceHandle theObject,
+ AttributeHandle theAttribute)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotDefined,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ //////////////////////////////
+ // Time Management Services //
+ //////////////////////////////
+
+ // 8.2
+ virtual void enableTimeRegulation
+ (LogicalTimeInterval const & theLookahead)
+ throw (TimeRegulationAlreadyEnabled,
+ InvalidLookahead,
+ InTimeAdvancingState,
+ RequestForTimeRegulationPending,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 8.4
+ virtual void disableTimeRegulation ()
+ throw (TimeRegulationIsNotEnabled,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 8.5
+ virtual void enableTimeConstrained ()
+ throw (TimeConstrainedAlreadyEnabled,
+ InTimeAdvancingState,
+ RequestForTimeConstrainedPending,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 8.7
+ virtual void disableTimeConstrained ()
+ throw (TimeConstrainedIsNotEnabled,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 8.8
+ virtual void timeAdvanceRequest
+ (LogicalTime const & theTime)
+ throw (InvalidLogicalTime,
+ LogicalTimeAlreadyPassed,
+ InTimeAdvancingState,
+ RequestForTimeRegulationPending,
+ RequestForTimeConstrainedPending,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 8.9
+ virtual void timeAdvanceRequestAvailable
+ (LogicalTime const & theTime)
+ throw (InvalidLogicalTime,
+ LogicalTimeAlreadyPassed,
+ InTimeAdvancingState,
+ RequestForTimeRegulationPending,
+ RequestForTimeConstrainedPending,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 8.10
+ virtual void nextMessageRequest
+ (LogicalTime const & theTime)
+ throw (InvalidLogicalTime,
+ LogicalTimeAlreadyPassed,
+ InTimeAdvancingState,
+ RequestForTimeRegulationPending,
+ RequestForTimeConstrainedPending,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 8.11
+ virtual void nextMessageRequestAvailable
+ (LogicalTime const & theTime)
+ throw (InvalidLogicalTime,
+ LogicalTimeAlreadyPassed,
+ InTimeAdvancingState,
+ RequestForTimeRegulationPending,
+ RequestForTimeConstrainedPending,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 8.12
+ virtual void flushQueueRequest
+ (LogicalTime const & theTime)
+ throw (InvalidLogicalTime,
+ LogicalTimeAlreadyPassed,
+ InTimeAdvancingState,
+ RequestForTimeRegulationPending,
+ RequestForTimeConstrainedPending,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 8.14
+ virtual void enableAsynchronousDelivery ()
+ throw (AsynchronousDeliveryAlreadyEnabled,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 8.15
+ virtual void disableAsynchronousDelivery ()
+ throw (AsynchronousDeliveryAlreadyDisabled,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 8.16
+ virtual bool queryGALT (LogicalTime & theTime)
+ throw (FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 8.17
+ virtual void queryLogicalTime (LogicalTime & theTime)
+ throw (FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 8.18
+ virtual bool queryLITS (LogicalTime & theTime)
+ throw (FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 8.19
+ virtual void modifyLookahead
+ (LogicalTimeInterval const & theLookahead)
+ throw (TimeRegulationIsNotEnabled,
+ InvalidLookahead,
+ InTimeAdvancingState,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 8.20
+ virtual void queryLookahead (LogicalTimeInterval & interval)
+ throw (TimeRegulationIsNotEnabled,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 8.21
+ virtual void retract
+ (MessageRetractionHandle theHandle)
+ throw (InvalidRetractionHandle,
+ TimeRegulationIsNotEnabled,
+ MessageCanNoLongerBeRetracted,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 8.23
+ virtual void changeAttributeOrderType
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes,
+ OrderType theType)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotDefined,
+ AttributeNotOwned,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 8.24
+ virtual void changeInteractionOrderType
+ (InteractionClassHandle theClass,
+ OrderType theType)
+ throw (InteractionClassNotDefined,
+ InteractionClassNotPublished,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ //////////////////////////////////
+ // Data Distribution Management //
+ //////////////////////////////////
+
+ // 9.2
+ virtual RegionHandle createRegion
+ (DimensionHandleSet const & theDimensions)
+ throw (InvalidDimensionHandle,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 9.3
+ virtual void commitRegionModifications
+ (RegionHandleSet const & theRegionHandleSet)
+ throw (InvalidRegion,
+ RegionNotCreatedByThisFederate,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 9.4
+ virtual void deleteRegion
+ (RegionHandle theRegion)
+ throw (InvalidRegion,
+ RegionNotCreatedByThisFederate,
+ RegionInUseForUpdateOrSubscription,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 9.5
+ virtual ObjectInstanceHandle registerObjectInstanceWithRegions
+ (ObjectClassHandle theClass,
+ AttributeHandleSetRegionHandleSetPairVector const &
+ theAttributeHandleSetRegionHandleSetPairVector)
+ throw (ObjectClassNotDefined,
+ ObjectClassNotPublished,
+ AttributeNotDefined,
+ AttributeNotPublished,
+ InvalidRegion,
+ RegionNotCreatedByThisFederate,
+ InvalidRegionContext,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ virtual ObjectInstanceHandle registerObjectInstanceWithRegions
+ (ObjectClassHandle theClass,
+ AttributeHandleSetRegionHandleSetPairVector const &
+ theAttributeHandleSetRegionHandleSetPairVector,
+ std::wstring const & theObjectInstanceName)
+ throw (ObjectClassNotDefined,
+ ObjectClassNotPublished,
+ AttributeNotDefined,
+ AttributeNotPublished,
+ InvalidRegion,
+ RegionNotCreatedByThisFederate,
+ InvalidRegionContext,
+ ObjectInstanceNameNotReserved,
+ ObjectInstanceNameInUse,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 9.6
+ virtual void associateRegionsForUpdates
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSetRegionHandleSetPairVector const &
+ theAttributeHandleSetRegionHandleSetPairVector)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotDefined,
+ InvalidRegion,
+ RegionNotCreatedByThisFederate,
+ InvalidRegionContext,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 9.7
+ virtual void unassociateRegionsForUpdates
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSetRegionHandleSetPairVector const &
+ theAttributeHandleSetRegionHandleSetPairVector)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotDefined,
+ InvalidRegion,
+ RegionNotCreatedByThisFederate,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 9.8
+ virtual void subscribeObjectClassAttributesWithRegions
+ (ObjectClassHandle theClass,
+ AttributeHandleSetRegionHandleSetPairVector const &
+ theAttributeHandleSetRegionHandleSetPairVector,
+ bool active = true)
+ throw (ObjectClassNotDefined,
+ AttributeNotDefined,
+ InvalidRegion,
+ RegionNotCreatedByThisFederate,
+ InvalidRegionContext,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 9.9
+ virtual void unsubscribeObjectClassAttributesWithRegions
+ (ObjectClassHandle theClass,
+ AttributeHandleSetRegionHandleSetPairVector const &
+ theAttributeHandleSetRegionHandleSetPairVector)
+ throw (ObjectClassNotDefined,
+ AttributeNotDefined,
+ InvalidRegion,
+ RegionNotCreatedByThisFederate,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 9.10
+ virtual void subscribeInteractionClassWithRegions
+ (InteractionClassHandle theClass,
+ RegionHandleSet const & theRegionHandleSet,
+ bool active = true)
+ throw (InteractionClassNotDefined,
+ InvalidRegion,
+ RegionNotCreatedByThisFederate,
+ InvalidRegionContext,
+ FederateServiceInvocationsAreBeingReportedViaMOM,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 9.11
+ virtual void unsubscribeInteractionClassWithRegions
+ (InteractionClassHandle theClass,
+ RegionHandleSet const & theRegionHandleSet)
+ throw (InteractionClassNotDefined,
+ InvalidRegion,
+ RegionNotCreatedByThisFederate,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 9.12
+ virtual void sendInteractionWithRegions
+ (InteractionClassHandle theInteraction,
+ ParameterHandleValueMap const & theParameterValues,
+ RegionHandleSet const & theRegionHandleSet,
+ VariableLengthData const & theUserSuppliedTag)
+ throw (InteractionClassNotDefined,
+ InteractionClassNotPublished,
+ InteractionParameterNotDefined,
+ InvalidRegion,
+ RegionNotCreatedByThisFederate,
+ InvalidRegionContext,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ virtual MessageRetractionHandle sendInteractionWithRegions
+ (InteractionClassHandle theInteraction,
+ ParameterHandleValueMap const & theParameterValues,
+ RegionHandleSet const & theRegionHandleSet,
+ VariableLengthData const & theUserSuppliedTag,
+ LogicalTime const & theTime)
+ throw (InteractionClassNotDefined,
+ InteractionClassNotPublished,
+ InteractionParameterNotDefined,
+ InvalidRegion,
+ RegionNotCreatedByThisFederate,
+ InvalidRegionContext,
+ InvalidLogicalTime,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 9.13
+ virtual void requestAttributeValueUpdateWithRegions
+ (ObjectClassHandle theClass,
+ AttributeHandleSetRegionHandleSetPairVector const & theSet,
+ VariableLengthData const & theUserSuppliedTag)
+ throw (ObjectClassNotDefined,
+ AttributeNotDefined,
+ InvalidRegion,
+ RegionNotCreatedByThisFederate,
+ InvalidRegionContext,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ //////////////////////////
+ // RTI Support Services //
+ //////////////////////////
+
+ // 10.2
+ virtual ObjectClassHandle getObjectClassHandle
+ (std::wstring const & theName)
+ throw (NameNotFound,
+ FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.3
+ virtual std::wstring getObjectClassName
+ (ObjectClassHandle theHandle)
+ throw (InvalidObjectClassHandle,
+ FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.4
+ virtual AttributeHandle getAttributeHandle
+ (ObjectClassHandle whichClass,
+ std::wstring const & theAttributeName)
+ throw (InvalidObjectClassHandle,
+ NameNotFound,
+ FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.5
+ virtual std::wstring getAttributeName
+ (ObjectClassHandle whichClass,
+ AttributeHandle theHandle)
+ throw (InvalidObjectClassHandle,
+ InvalidAttributeHandle,
+ AttributeNotDefined,
+ FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.6
+ virtual InteractionClassHandle getInteractionClassHandle
+ (std::wstring const & theName)
+ throw (NameNotFound,
+ FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.7
+ virtual std::wstring getInteractionClassName
+ (InteractionClassHandle theHandle)
+ throw (InvalidInteractionClassHandle,
+ FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.8
+ virtual ParameterHandle getParameterHandle
+ (InteractionClassHandle whichClass,
+ std::wstring const & theName)
+ throw (InvalidInteractionClassHandle,
+ NameNotFound,
+ FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.9
+ virtual std::wstring getParameterName
+ (InteractionClassHandle whichClass,
+ ParameterHandle theHandle)
+ throw (InvalidInteractionClassHandle,
+ InvalidParameterHandle,
+ InteractionParameterNotDefined,
+ FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.10
+ virtual ObjectInstanceHandle getObjectInstanceHandle
+ (std::wstring const & theName)
+ throw (ObjectInstanceNotKnown,
+ FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.11
+ virtual std::wstring getObjectInstanceName
+ (ObjectInstanceHandle theHandle)
+ throw (ObjectInstanceNotKnown,
+ FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.12
+ virtual DimensionHandle getDimensionHandle
+ (std::wstring const & theName)
+ throw (NameNotFound,
+ FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.13
+ virtual std::wstring getDimensionName
+ (DimensionHandle theHandle)
+ throw (InvalidDimensionHandle,
+ FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.14
+ virtual unsigned long getDimensionUpperBound
+ (DimensionHandle theHandle)
+ throw (InvalidDimensionHandle,
+ FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.15
+ virtual DimensionHandleSet getAvailableDimensionsForClassAttribute
+ (ObjectClassHandle theClass,
+ AttributeHandle theHandle)
+ throw (InvalidObjectClassHandle,
+ InvalidAttributeHandle,
+ AttributeNotDefined,
+ FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.16
+ virtual ObjectClassHandle getKnownObjectClassHandle
+ (ObjectInstanceHandle theObject)
+ throw (ObjectInstanceNotKnown,
+ FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.17
+ virtual DimensionHandleSet getAvailableDimensionsForInteractionClass
+ (InteractionClassHandle theClass)
+ throw (InvalidInteractionClassHandle,
+ FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.18
+ virtual TransportationType getTransportationType
+ (std::wstring const & transportationName)
+ throw (InvalidTransportationName,
+ FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.19
+ virtual std::wstring getTransportationName
+ (TransportationType transportationType)
+ throw (InvalidTransportationType,
+ FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.20
+ virtual OrderType getOrderType
+ (std::wstring const & orderName)
+ throw (InvalidOrderName,
+ FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.21
+ virtual std::wstring getOrderName
+ (OrderType orderType)
+ throw (InvalidOrderType,
+ FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.22
+ virtual void enableObjectClassRelevanceAdvisorySwitch ()
+ throw (ObjectClassRelevanceAdvisorySwitchIsOn,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 10.23
+ virtual void disableObjectClassRelevanceAdvisorySwitch ()
+ throw (ObjectClassRelevanceAdvisorySwitchIsOff,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 10.24
+ virtual void enableAttributeRelevanceAdvisorySwitch ()
+ throw (AttributeRelevanceAdvisorySwitchIsOn,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 10.25
+ virtual void disableAttributeRelevanceAdvisorySwitch ()
+ throw (AttributeRelevanceAdvisorySwitchIsOff,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 10.26
+ virtual void enableAttributeScopeAdvisorySwitch ()
+ throw (AttributeScopeAdvisorySwitchIsOn,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 10.27
+ virtual void disableAttributeScopeAdvisorySwitch ()
+ throw (AttributeScopeAdvisorySwitchIsOff,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 10.28
+ virtual void enableInteractionRelevanceAdvisorySwitch ()
+ throw (InteractionRelevanceAdvisorySwitchIsOn,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 10.29
+ virtual void disableInteractionRelevanceAdvisorySwitch ()
+ throw (InteractionRelevanceAdvisorySwitchIsOff,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 10.30
+ virtual
+ DimensionHandleSet getDimensionHandleSet
+ (RegionHandle theRegionHandle)
+ throw (InvalidRegion,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 10.31
+ virtual
+ RangeBounds getRangeBounds
+ (RegionHandle theRegionHandle,
+ DimensionHandle theDimensionHandle)
+ throw (InvalidRegion,
+ RegionDoesNotContainSpecifiedDimension,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 10.32
+ virtual void setRangeBounds
+ (RegionHandle theRegionHandle,
+ DimensionHandle theDimensionHandle,
+ RangeBounds const & theRangeBounds)
+ throw (InvalidRegion,
+ RegionNotCreatedByThisFederate,
+ RegionDoesNotContainSpecifiedDimension,
+ InvalidRangeBound,
+ FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 10.33
+ virtual unsigned long normalizeFederateHandle
+ (FederateHandle theFederateHandle)
+ throw (FederateNotExecutionMember,
+ InvalidFederateHandle,
+ RTIinternalError) = 0;
+
+ // 10.34
+ virtual unsigned long normalizeServiceGroup
+ (ServiceGroupIndicator theServiceGroup)
+ throw (FederateNotExecutionMember,
+ InvalidServiceGroup,
+ RTIinternalError) = 0;
+
+ // 10.37
+ virtual bool evokeCallback(double approximateMinimumTimeInSeconds)
+ throw (FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.38
+ virtual bool evokeMultipleCallbacks(double approximateMinimumTimeInSeconds,
+ double approximateMaximumTimeInSeconds)
+ throw (FederateNotExecutionMember,
+ RTIinternalError) = 0;
+
+ // 10.39
+ virtual void enableCallbacks ()
+ throw (FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ // 10.40
+ virtual void disableCallbacks ()
+ throw (FederateNotExecutionMember,
+ SaveInProgress,
+ RestoreInProgress,
+ RTIinternalError) = 0;
+
+ virtual FederateHandle decodeFederateHandle(
+ VariableLengthData const & encodedValue) const = 0;
+
+ virtual ObjectClassHandle decodeObjectClassHandle(
+ VariableLengthData const & encodedValue) const = 0;
+
+ virtual InteractionClassHandle decodeInteractionClassHandle(
+ VariableLengthData const & encodedValue) const = 0;
+
+ virtual ObjectInstanceHandle decodeObjectInstanceHandle(
+ VariableLengthData const & encodedValue) const = 0;
+
+ virtual AttributeHandle decodeAttributeHandle(
+ VariableLengthData const & encodedValue) const = 0;
+
+ virtual ParameterHandle decodeParameterHandle(
+ VariableLengthData const & encodedValue) const = 0;
+
+ virtual DimensionHandle decodeDimensionHandle(
+ VariableLengthData const & encodedValue) const = 0;
+
+ virtual MessageRetractionHandle decodeMessageRetractionHandle(
+ VariableLengthData const & encodedValue) const = 0;
+
+ virtual RegionHandle decodeRegionHandle(
+ VariableLengthData const & encodedValue) const = 0;
+
+ };
+}
+
+#endif // RTI_RTIambassador_h
Index: RTI/RangeBounds.h
===================================================================
RCS file: RTI/RangeBounds.h
diff -N RTI/RangeBounds.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ RTI/RangeBounds.h 7 Oct 2008 18:46:22 -0000 1.1
@@ -0,0 +1,47 @@
+/***********************************************************************
+ IEEE 1516.1 High Level Architecture Interface Specification C++ API
+ File: RTI/RangeBounds.h
+***********************************************************************/
+
+#ifndef RTI_RangeBounds_h
+#define RTI_RangeBounds_h
+
+#include <RTI/SpecificConfig.h>
+
+namespace rti1516
+{
+ class RTI_EXPORT RangeBounds
+ {
+ public:
+ RangeBounds();
+
+ RangeBounds(unsigned long lowerBound,
+ unsigned long upperBound);
+
+ ~RangeBounds()
+ throw ();
+
+ RangeBounds(RangeBounds const & rhs);
+
+ RangeBounds &
+ operator=(RangeBounds const & rhs);
+
+ unsigned long
+ getLowerBound() const;
+
+ unsigned long
+ getUpperBound() const;
+
+ void
+ setLowerBound(unsigned long lowerBound);
+
+ void
+ setUpperBound(unsigned long upperBound);
+
+ private:
+ unsigned long _lowerBound;
+ unsigned long _upperBound;
+ };
+}
+
+#endif // RTI_RangeBounds_h
Index: RTI/Exception.h
===================================================================
RCS file: RTI/Exception.h
diff -N RTI/Exception.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ RTI/Exception.h 7 Oct 2008 18:46:23 -0000 1.1
@@ -0,0 +1,153 @@
+/***********************************************************************
+ IEEE 1516.1 High Level Architecture Interface Specification C++ API
+ File: RTI/exception.h
+***********************************************************************/
+
+#ifndef RTI_Exception_h
+#define RTI_Exception_h
+
+#include <RTI/SpecificConfig.h>
+#include <string>
+
+// The RTI::exception class follows the interface of the C++ standard exception
+// class. The key method, what, returns a null terminated character string
that
+// describes details of the exception that has occured.
+
+namespace rti1516
+{
+ class RTI_EXPORT Exception
+ {
+ public:
+ Exception();
+
+ Exception(Exception const & rhs);
+
+ Exception &
+ operator=(Exception const & rhs);
+
+ virtual
+ ~Exception();
+ // throw();
+
+ virtual
+ std::wstring what() const
+ throw() = 0;
+ };
+
+ // Output operator for Exceptions
+ std::wostream RTI_EXPORT &
+ operator << (std::wostream &, Exception const &);
+
+#define RTI_EXCEPTION(A) \
+ class RTI_EXPORT A : public Exception { \
+ public: \
+ A(std::wstring const & message) throw(); \
+ std::wstring what() const throw(); \
+ private: \
+ std::wstring _msg; \
+ };
+
+ RTI_EXCEPTION(AsynchronousDeliveryAlreadyDisabled)
+ RTI_EXCEPTION(AsynchronousDeliveryAlreadyEnabled)
+ RTI_EXCEPTION(AttributeAcquisitionWasNotCanceled)
+ RTI_EXCEPTION(AttributeAcquisitionWasNotRequested)
+ RTI_EXCEPTION(AttributeAlreadyBeingAcquired)
+ RTI_EXCEPTION(AttributeAlreadyBeingDivested)
+ RTI_EXCEPTION(AttributeAlreadyOwned)
+ RTI_EXCEPTION(AttributeDivestitureWasNotRequested)
+ RTI_EXCEPTION(AttributeNotDefined)
+ RTI_EXCEPTION(AttributeNotOwned)
+ RTI_EXCEPTION(AttributeNotPublished)
+ RTI_EXCEPTION(AttributeNotRecognized)
+ RTI_EXCEPTION(AttributeNotSubscribed)
+ RTI_EXCEPTION(AttributeRelevanceAdvisorySwitchIsOff)
+ RTI_EXCEPTION(AttributeRelevanceAdvisorySwitchIsOn)
+ RTI_EXCEPTION(AttributeScopeAdvisorySwitchIsOff)
+ RTI_EXCEPTION(AttributeScopeAdvisorySwitchIsOn)
+ RTI_EXCEPTION(BadInitializationParameter)
+ RTI_EXCEPTION(CouldNotCreateLogicalTimeFactory)
+ RTI_EXCEPTION(CouldNotDecode)
+ RTI_EXCEPTION(CouldNotDiscover)
+ RTI_EXCEPTION(CouldNotEncode)
+ RTI_EXCEPTION(CouldNotOpenFDD)
+ RTI_EXCEPTION(CouldNotInitiateRestore)
+ RTI_EXCEPTION(DeletePrivilegeNotHeld)
+ RTI_EXCEPTION(RequestForTimeConstrainedPending)
+ RTI_EXCEPTION(NoRequestToEnableTimeConstrainedWasPending)
+ RTI_EXCEPTION(RequestForTimeRegulationPending)
+ RTI_EXCEPTION(NoRequestToEnableTimeRegulationWasPending)
+ RTI_EXCEPTION(ErrorReadingFDD)
+ RTI_EXCEPTION(FederateAlreadyExecutionMember)
+ RTI_EXCEPTION(FederateHasNotBegunSave)
+ RTI_EXCEPTION(FederateInternalError)
+ RTI_EXCEPTION(FederateNotExecutionMember)
+ RTI_EXCEPTION(FederateOwnsAttributes)
+ RTI_EXCEPTION(FederateServiceInvocationsAreBeingReportedViaMOM)
+ RTI_EXCEPTION(FederateUnableToUseTime)
+ RTI_EXCEPTION(FederatesCurrentlyJoined)
+ RTI_EXCEPTION(FederationExecutionAlreadyExists)
+ RTI_EXCEPTION(FederationExecutionDoesNotExist)
+ RTI_EXCEPTION(IllegalName)
+ RTI_EXCEPTION(IllegalTimeArithmetic)
+ RTI_EXCEPTION(InteractionClassNotDefined)
+ RTI_EXCEPTION(InteractionClassNotPublished)
+ RTI_EXCEPTION(InteractionClassNotRecognized)
+ RTI_EXCEPTION(InteractionClassNotSubscribed)
+ RTI_EXCEPTION(InteractionParameterNotDefined)
+ RTI_EXCEPTION(InteractionParameterNotRecognized)
+ RTI_EXCEPTION(InteractionRelevanceAdvisorySwitchIsOff)
+ RTI_EXCEPTION(InteractionRelevanceAdvisorySwitchIsOn)
+ RTI_EXCEPTION(InTimeAdvancingState)
+ RTI_EXCEPTION(InvalidAttributeHandle)
+ RTI_EXCEPTION(InvalidDimensionHandle)
+ RTI_EXCEPTION(InvalidFederateHandle)
+ RTI_EXCEPTION(InvalidInteractionClassHandle)
+ RTI_EXCEPTION(InvalidLogicalTime)
+ RTI_EXCEPTION(InvalidLogicalTimeInterval)
+ RTI_EXCEPTION(InvalidLookahead)
+ RTI_EXCEPTION(InvalidObjectClassHandle)
+ RTI_EXCEPTION(InvalidOrderName)
+ RTI_EXCEPTION(InvalidOrderType)
+ RTI_EXCEPTION(InvalidParameterHandle)
+ RTI_EXCEPTION(InvalidRangeBound)
+ RTI_EXCEPTION(InvalidRegion)
+ RTI_EXCEPTION(InvalidRegionContext)
+ RTI_EXCEPTION(InvalidRetractionHandle)
+ RTI_EXCEPTION(InvalidServiceGroup)
+ RTI_EXCEPTION(InvalidTransportationName)
+ RTI_EXCEPTION(InvalidTransportationType)
+ RTI_EXCEPTION(JoinedFederateIsNotInTimeAdvancingState)
+ RTI_EXCEPTION(LogicalTimeAlreadyPassed)
+ RTI_EXCEPTION(MessageCanNoLongerBeRetracted)
+ RTI_EXCEPTION(NameNotFound)
+ RTI_EXCEPTION(NoAcquisitionPending)
+ RTI_EXCEPTION(ObjectClassNotDefined)
+ RTI_EXCEPTION(ObjectClassNotKnown)
+ RTI_EXCEPTION(ObjectClassNotPublished)
+ RTI_EXCEPTION(ObjectClassRelevanceAdvisorySwitchIsOff)
+ RTI_EXCEPTION(ObjectClassRelevanceAdvisorySwitchIsOn)
+ RTI_EXCEPTION(ObjectInstanceNameInUse)
+ RTI_EXCEPTION(ObjectInstanceNameNotReserved)
+ RTI_EXCEPTION(ObjectInstanceNotKnown)
+ RTI_EXCEPTION(OwnershipAcquisitionPending)
+ RTI_EXCEPTION(RTIinternalError)
+ RTI_EXCEPTION(RegionDoesNotContainSpecifiedDimension)
+ RTI_EXCEPTION(RegionInUseForUpdateOrSubscription)
+ RTI_EXCEPTION(RegionNotCreatedByThisFederate)
+ RTI_EXCEPTION(RestoreInProgress)
+ RTI_EXCEPTION(RestoreNotRequested)
+ RTI_EXCEPTION(SaveInProgress)
+ RTI_EXCEPTION(SaveNotInitiated)
+ RTI_EXCEPTION(SpecifiedSaveLabelDoesNotExist)
+ RTI_EXCEPTION(SynchronizationPointLabelNotAnnounced)
+ RTI_EXCEPTION(TimeConstrainedAlreadyEnabled)
+ RTI_EXCEPTION(TimeConstrainedIsNotEnabled)
+ RTI_EXCEPTION(TimeRegulationAlreadyEnabled)
+ RTI_EXCEPTION(TimeRegulationIsNotEnabled)
+ RTI_EXCEPTION(UnableToPerformSave)
+ RTI_EXCEPTION(UnknownName)
+ RTI_EXCEPTION(InternalError)
+#undef RTI_EXCEPTION
+}
+
+#endif // RTI_exception_h
Index: RTI/LogicalTimeFactory.h
===================================================================
RCS file: RTI/LogicalTimeFactory.h
diff -N RTI/LogicalTimeFactory.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ RTI/LogicalTimeFactory.h 7 Oct 2008 18:46:23 -0000 1.1
@@ -0,0 +1,76 @@
+/***********************************************************************
+ IEEE 1516.1 High Level Architecture Interface Specification C++ API
+ File: RTI/LogicalTimeFactory.h
+***********************************************************************/
+
+#ifndef RTI_LogicalTimeFactory_h
+#define RTI_LogicalTimeFactory_h
+
+namespace rti1516
+{
+ class LogicalTime;
+ class LogicalTimeInterval;
+}
+
+namespace std
+{
+ template <class T> class auto_ptr;
+}
+
+#include <RTI/SpecificConfig.h>
+#include <RTI/Exception.h>
+#include <string>
+
+// LogicalTimeFactory is used by the RTI to construct instances of classes
+// derived from LogicalTime and LogicalTimeInterval. A federation is
responsible
+// for providing a fedtime library that includes one or more subclasses
+// of LogicalTime and LogicalTimeInterval, one or more subclasses of
LogicalTimeFactory
+// (which is used to create instances of those LogicalTime and
LogicalTimeInterval
+// subclasses), and a single implementation of
+// LogicalTimeFactoryFactory::createLogicalTimeFactory. This static function
should
+// choose a LogicalTimeFactory based on the string identifier passed as an
argument,
+// and return an instance of that kind of factory. The RTI will call this
function to
+// obtain a LogicalTimeFactory for a federation, and then will use that
factory to create
+// any instances of LogicalTime or LogicalTimeInterval that it needs.
+
+namespace rti1516
+{
+ class RTI_EXPORT LogicalTimeFactory
+ {
+ public:
+ virtual
+ ~LogicalTimeFactory()
+ throw () = 0;
+
+ // Returns a LogicalTime with a value of "initial"
+ virtual
+ std::auto_ptr< LogicalTime >
+ makeLogicalTime()
+ throw (InternalError) = 0;
+
+ // Returns a LogicalTimeInterval with a value of "zero"
+ virtual
+ std::auto_ptr< LogicalTimeInterval >
+ makeLogicalTimeInterval()
+ throw (InternalError) = 0;
+ };
+}
+
+namespace rti1516
+{
+ class RTI_EXPORT_FEDTIME LogicalTimeFactoryFactory
+ {
+ public:
+
+ // The name is used to choose among several LogicalTimeFactories that might
+ // be present in the fedtime library. Each federation chooses its
+ // implementation by passing the appropriate name to
createFederationExecution.
+ // If the supplied name is the empty string, a default LogicalTimeFactory
is
+ // returned. If the supplied implementation name does not match any name
+ // supported by the library, then a NULL pointer is returned.
+ static std::auto_ptr< LogicalTimeFactory >
+ makeLogicalTimeFactory(std::wstring const & implementationName);
+ };
+}
+
+#endif // RTI_LogicalTimeFactory_h
Index: RTI/NullFederateAmbassador.h
===================================================================
RCS file: RTI/NullFederateAmbassador.h
diff -N RTI/NullFederateAmbassador.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ RTI/NullFederateAmbassador.h 7 Oct 2008 18:46:23 -0000 1.1
@@ -0,0 +1,607 @@
+/***********************************************************************
+ IEEE 1516.1 High Level Architecture Interface Specification C++ API
+ File: RTI/NullFederateAmbassador.h
+***********************************************************************/
+
+#ifndef RTI_NullFederateAmbassador_h
+#define RTI_NullFederateAmbassador_h
+
+#include <RTI/Exception.h>
+#include <RTI/FederateAmbassador.h>
+
+namespace rti1516
+{
+ class RTI_EXPORT NullFederateAmbassador : public FederateAmbassador
+ {
+ public:
+ NullFederateAmbassador()
+ throw (FederateInternalError) {}
+
+ virtual
+ ~NullFederateAmbassador()
+ throw () {}
+
+ // 4.7
+ virtual
+ void
+ synchronizationPointRegistrationSucceeded(std::wstring const & label)
+ throw (FederateInternalError) {}
+
+ virtual
+ void
+ synchronizationPointRegistrationFailed(std::wstring const & label,
+ SynchronizationFailureReason reason)
+ throw (FederateInternalError) {}
+
+ // 4.8
+ virtual
+ void
+ announceSynchronizationPoint(std::wstring const & label,
+ VariableLengthData const & theUserSuppliedTag)
+ throw (FederateInternalError) {}
+
+ // 4.10
+ virtual
+ void
+ federationSynchronized(std::wstring const & label)
+ throw (FederateInternalError) {}
+
+ // 4.12
+ virtual
+ void
+ initiateFederateSave(std::wstring const & label)
+ throw (UnableToPerformSave,
+ FederateInternalError) {}
+
+ virtual
+ void
+ initiateFederateSave(std::wstring const & label,
+ LogicalTime const & theTime)
+ throw (UnableToPerformSave,
+ InvalidLogicalTime,
+ FederateInternalError) {}
+
+ // 4.15
+ virtual
+ void
+ federationSaved()
+ throw (FederateInternalError) {}
+
+ virtual
+ void
+ federationNotSaved(SaveFailureReason theSaveFailureReason)
+ throw (FederateInternalError) {}
+
+
+ // 4.17
+ virtual
+ void
+ federationSaveStatusResponse(
+ FederateHandleSaveStatusPairVector const &
+ theFederateStatusVector)
+ throw (FederateInternalError) {}
+
+ // 4.19
+ virtual
+ void
+ requestFederationRestoreSucceeded(std::wstring const & label)
+ throw (FederateInternalError) {}
+
+ virtual
+ void
+ requestFederationRestoreFailed(std::wstring const & label)
+ throw (FederateInternalError) {}
+
+ // 4.20
+ virtual
+ void
+ federationRestoreBegun()
+ throw (FederateInternalError) {}
+
+ // 4.21
+ virtual
+ void
+ initiateFederateRestore(std::wstring const & label,
+ FederateHandle handle)
+ throw (SpecifiedSaveLabelDoesNotExist,
+ CouldNotInitiateRestore,
+ FederateInternalError) {}
+
+ // 4.23
+ virtual
+ void
+ federationRestored()
+ throw (FederateInternalError) {}
+
+ virtual
+ void
+ federationNotRestored(RestoreFailureReason theRestoreFailureReason)
+ throw (FederateInternalError) {}
+
+ // 4.25
+ virtual
+ void
+ federationRestoreStatusResponse(
+ FederateHandleRestoreStatusPairVector const &
+ theFederateStatusVector)
+ throw (FederateInternalError) {}
+
+ /////////////////////////////////////
+ // Declaration Management Services //
+ /////////////////////////////////////
+
+ // 5.10
+ virtual
+ void
+ startRegistrationForObjectClass(ObjectClassHandle theClass)
+ throw (ObjectClassNotPublished,
+ FederateInternalError) {}
+
+ // 5.11
+ virtual
+ void
+ stopRegistrationForObjectClass(ObjectClassHandle theClass)
+ throw (ObjectClassNotPublished,
+ FederateInternalError) {}
+
+ // 5.12
+ virtual
+ void
+ turnInteractionsOn(InteractionClassHandle theHandle)
+ throw (InteractionClassNotPublished,
+ FederateInternalError) {}
+
+ // 5.13
+ virtual
+ void
+ turnInteractionsOff(InteractionClassHandle theHandle)
+ throw (InteractionClassNotPublished,
+ FederateInternalError) {}
+
+ ////////////////////////////////
+ // Object Management Services //
+ ////////////////////////////////
+
+ // 6.3
+ virtual
+ void
+ objectInstanceNameReservationSucceeded(std::wstring const &
+ theObjectInstanceName)
+ throw (UnknownName,
+ FederateInternalError) {}
+
+ virtual
+ void
+ objectInstanceNameReservationFailed(std::wstring const &
+ theObjectInstanceName)
+ throw (UnknownName,
+ FederateInternalError) {}
+
+
+ // 6.5
+ virtual
+ void
+ discoverObjectInstance(ObjectInstanceHandle theObject,
+ ObjectClassHandle theObjectClass,
+ std::wstring const & theObjectInstanceName)
+ throw (CouldNotDiscover,
+ ObjectClassNotKnown,
+ FederateInternalError) {}
+
+ // 6.7
+ virtual
+ void
+ reflectAttributeValues
+ (ObjectInstanceHandle theObject,
+ AttributeHandleValueMap const & theAttributeValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotSubscribed,
+ FederateInternalError) {}
+
+ virtual
+ void
+ reflectAttributeValues
+ (ObjectInstanceHandle theObject,
+ AttributeHandleValueMap const & theAttributeValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType,
+ RegionHandleSet const & theSentRegionHandleSet)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotSubscribed,
+ FederateInternalError) {}
+
+ virtual
+ void
+ reflectAttributeValues
+ (ObjectInstanceHandle theObject,
+ AttributeHandleValueMap const & theAttributeValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType,
+ LogicalTime const & theTime,
+ OrderType receivedOrder)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotSubscribed,
+ FederateInternalError) {}
+
+ virtual
+ void
+ reflectAttributeValues
+ (ObjectInstanceHandle theObject,
+ AttributeHandleValueMap const & theAttributeValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType,
+ LogicalTime const & theTime,
+ OrderType receivedOrder,
+ RegionHandleSet const & theSentRegionHandleSet)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotSubscribed,
+ FederateInternalError) {}
+
+ virtual
+ void
+ reflectAttributeValues
+ (ObjectInstanceHandle theObject,
+ AttributeHandleValueMap const & theAttributeValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType,
+ LogicalTime const & theTime,
+ OrderType receivedOrder,
+ MessageRetractionHandle theHandle)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotSubscribed,
+ InvalidLogicalTime,
+ FederateInternalError) {}
+
+ virtual
+ void
+ reflectAttributeValues
+ (ObjectInstanceHandle theObject,
+ AttributeHandleValueMap const & theAttributeValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType,
+ LogicalTime const & theTime,
+ OrderType receivedOrder,
+ MessageRetractionHandle theHandle,
+ RegionHandleSet const & theSentRegionHandleSet)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotSubscribed,
+ InvalidLogicalTime,
+ FederateInternalError) {}
+
+ // 6.9
+ virtual
+ void
+ receiveInteraction
+ (InteractionClassHandle theInteraction,
+ ParameterHandleValueMap const & theParameterValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType)
+ throw (InteractionClassNotRecognized,
+ InteractionParameterNotRecognized,
+ InteractionClassNotSubscribed,
+ FederateInternalError) {}
+
+ virtual
+ void
+ receiveInteraction
+ (InteractionClassHandle theInteraction,
+ ParameterHandleValueMap const & theParameterValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType,
+ RegionHandleSet const & theSentRegionHandleSet)
+ throw (InteractionClassNotRecognized,
+ InteractionParameterNotRecognized,
+ InteractionClassNotSubscribed,
+ FederateInternalError) {}
+
+ virtual
+ void
+ receiveInteraction
+ (InteractionClassHandle theInteraction,
+ ParameterHandleValueMap const & theParameterValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType,
+ LogicalTime const & theTime,
+ OrderType receivedOrder)
+ throw (InteractionClassNotRecognized,
+ InteractionParameterNotRecognized,
+ InteractionClassNotSubscribed,
+ FederateInternalError) {}
+
+ virtual
+ void
+ receiveInteraction
+ (InteractionClassHandle theInteraction,
+ ParameterHandleValueMap const & theParameterValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType,
+ LogicalTime const & theTime,
+ OrderType receivedOrder,
+ RegionHandleSet const & theSentRegionHandleSet)
+ throw (InteractionClassNotRecognized,
+ InteractionParameterNotRecognized,
+ InteractionClassNotSubscribed,
+ FederateInternalError) {}
+
+ virtual
+ void
+ receiveInteraction
+ (InteractionClassHandle theInteraction,
+ ParameterHandleValueMap const & theParameterValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType,
+ LogicalTime const & theTime,
+ OrderType receivedOrder,
+ MessageRetractionHandle theHandle)
+ throw (InteractionClassNotRecognized,
+ InteractionParameterNotRecognized,
+ InteractionClassNotSubscribed,
+ InvalidLogicalTime,
+ FederateInternalError) {}
+
+ virtual
+ void
+ receiveInteraction
+ (InteractionClassHandle theInteraction,
+ ParameterHandleValueMap const & theParameterValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType,
+ LogicalTime const & theTime,
+ OrderType receivedOrder,
+ MessageRetractionHandle theHandle,
+ RegionHandleSet const & theSentRegionHandleSet)
+ throw (InteractionClassNotRecognized,
+ InteractionParameterNotRecognized,
+ InteractionClassNotSubscribed,
+ InvalidLogicalTime,
+ FederateInternalError) {}
+
+ // 6.11
+ virtual
+ void
+ removeObjectInstance(ObjectInstanceHandle theObject,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder)
+ throw (ObjectInstanceNotKnown,
+ FederateInternalError) {}
+
+ virtual
+ void
+ removeObjectInstance(ObjectInstanceHandle theObject,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ LogicalTime const & theTime,
+ OrderType receivedOrder)
+ throw (ObjectInstanceNotKnown,
+ FederateInternalError) {}
+
+ virtual
+ void
+ removeObjectInstance(ObjectInstanceHandle theObject,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ LogicalTime const & theTime,
+ OrderType receivedOrder,
+ MessageRetractionHandle theHandle)
+ throw (ObjectInstanceNotKnown,
+ InvalidLogicalTime,
+ FederateInternalError) {}
+
+ // 6.15
+ virtual
+ void
+ attributesInScope
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotSubscribed,
+ FederateInternalError) {}
+
+ // 6.16
+ virtual
+ void
+ attributesOutOfScope
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotSubscribed,
+ FederateInternalError) {}
+
+ // 6.18
+ virtual
+ void
+ provideAttributeValueUpdate
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes,
+ VariableLengthData const & theUserSuppliedTag)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotOwned,
+ FederateInternalError) {}
+
+ // 6.19
+ virtual
+ void
+ turnUpdatesOnForObjectInstance
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotOwned,
+ FederateInternalError) {}
+
+ // 6.20
+ virtual
+ void
+ turnUpdatesOffForObjectInstance
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotOwned,
+ FederateInternalError) {}
+
+ ///////////////////////////////////
+ // Ownership Management Services //
+ ///////////////////////////////////
+
+ // 7.4
+ virtual
+ void
+ requestAttributeOwnershipAssumption
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & offeredAttributes,
+ VariableLengthData const & theUserSuppliedTag)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeAlreadyOwned,
+ AttributeNotPublished,
+ FederateInternalError) {}
+
+ // 7.5
+ virtual
+ void
+ requestDivestitureConfirmation
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & releasedAttributes)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotOwned,
+ AttributeDivestitureWasNotRequested,
+ FederateInternalError) {}
+
+ // 7.7
+ virtual
+ void
+ attributeOwnershipAcquisitionNotification
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & securedAttributes,
+ VariableLengthData const & theUserSuppliedTag)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeAcquisitionWasNotRequested,
+ AttributeAlreadyOwned,
+ AttributeNotPublished,
+ FederateInternalError) {}
+
+ // 7.10
+ virtual
+ void
+ attributeOwnershipUnavailable
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeAlreadyOwned,
+ AttributeAcquisitionWasNotRequested,
+ FederateInternalError) {}
+
+ // 7.11
+ virtual
+ void
+ requestAttributeOwnershipRelease
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & candidateAttributes,
+ VariableLengthData const & theUserSuppliedTag)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotOwned,
+ FederateInternalError) {}
+
+ // 7.15
+ virtual
+ void
+ confirmAttributeOwnershipAcquisitionCancellation
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeAlreadyOwned,
+ AttributeAcquisitionWasNotCanceled,
+ FederateInternalError) {}
+
+ // 7.17
+ virtual
+ void
+ informAttributeOwnership(ObjectInstanceHandle theObject,
+ AttributeHandle theAttribute,
+ FederateHandle theOwner)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ FederateInternalError) {}
+
+ virtual
+ void
+ attributeIsNotOwned(ObjectInstanceHandle theObject,
+ AttributeHandle theAttribute)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ FederateInternalError) {}
+
+ virtual
+ void
+ attributeIsOwnedByRTI(ObjectInstanceHandle theObject,
+ AttributeHandle theAttribute)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ FederateInternalError) {}
+
+ //////////////////////////////
+ // Time Management Services //
+ //////////////////////////////
+
+ // 8.3
+ virtual
+ void
+ timeRegulationEnabled(LogicalTime const & theFederateTime)
+ throw (InvalidLogicalTime,
+ NoRequestToEnableTimeRegulationWasPending,
+ FederateInternalError) {}
+
+ // 8.6
+ virtual
+ void
+ timeConstrainedEnabled(LogicalTime const & theFederateTime)
+ throw (InvalidLogicalTime,
+ NoRequestToEnableTimeConstrainedWasPending,
+ FederateInternalError) {}
+
+ // 8.13
+ virtual
+ void
+ timeAdvanceGrant(LogicalTime const & theTime)
+ throw (InvalidLogicalTime,
+ JoinedFederateIsNotInTimeAdvancingState,
+ FederateInternalError) {}
+
+ // 8.22
+ virtual
+ void
+ requestRetraction(MessageRetractionHandle theHandle)
+ throw (FederateInternalError) {}
+ };
+}
+
+#endif // RTI_NullFederateAmbassador_h
Index: RTI/Typedefs.h
===================================================================
RCS file: RTI/Typedefs.h
diff -N RTI/Typedefs.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ RTI/Typedefs.h 7 Oct 2008 18:46:23 -0000 1.1
@@ -0,0 +1,68 @@
+/***********************************************************************
+ IEEE 1516.1 High Level Architecture Interface Specification C++ API
+ File: RTI/Typedefs.h
+***********************************************************************/
+
+// Purpose: This file contains the standard RTI types that are defined in
+// namespace rti1516. These definitions/declarations are standard for all RTI
+// implementations.
+//
+// The types declared here require the use of some RTI Specific types.
+
+#ifndef RTI_Typedefs_h
+#define RTI_Typedefs_h
+
+// The following type definitions use standard C++ classes for containers
+// that are used in the RTI API.
+
+#include <RTI/SpecificConfig.h>
+#include <set>
+#include <map>
+#include <vector>
+#include <RTI/Enums.h>
+#include <RTI/Handle.h>
+
+namespace rti1516
+{
+ typedef std::set< AttributeHandle > AttributeHandleSet;
+ typedef std::set< ParameterHandle > ParameterHandleSet;
+ typedef std::set< FederateHandle > FederateHandleSet;
+ typedef std::set< DimensionHandle > DimensionHandleSet;
+ typedef std::set< RegionHandle > RegionHandleSet;
+
+ // RTI::AttributeHandleValueMap implements a constrained set of
+ // (attribute handle and value) pairs
+ typedef std::map< AttributeHandle, VariableLengthData >
+ AttributeHandleValueMap;
+
+ // RTI::ParameterHandleValueMap implements a constrained set of
+ // (parameter handle and value) pairs
+ typedef std::map< ParameterHandle, VariableLengthData >
+ ParameterHandleValueMap;
+
+ // RTI::AttributeHandleSetRegionHandleSetPairVector implements a collection
of
+ // (attribute handle set and region set) pairs
+ typedef std::pair< AttributeHandleSet, RegionHandleSet >
+ AttributeHandleSetRegionHandleSetPair;
+
+ typedef std::vector< AttributeHandleSetRegionHandleSetPair >
+ AttributeHandleSetRegionHandleSetPairVector;
+
+ // RTI::FederateHandleSaveStatusPairVector implements a collection of
+ // (federate handle and save status) pairs
+ typedef std::pair< FederateHandle, SaveStatus >
+ FederateHandleSaveStatusPair;
+
+ typedef std::vector< FederateHandleSaveStatusPair >
+ FederateHandleSaveStatusPairVector;
+
+ // RTI::FederateHandleRestoreStatusPairVector implements a collection of
+ // (federate handle and restore status) pairs
+ typedef std::pair< FederateHandle, RestoreStatus >
+ FederateHandleRestoreStatusPair;
+
+ typedef std::vector< FederateHandleRestoreStatusPair >
+ FederateHandleRestoreStatusPairVector;
+}
+
+#endif // RTI_Typedefs_h
Index: RTI/FederateAmbassador.h
===================================================================
RCS file: RTI/FederateAmbassador.h
diff -N RTI/FederateAmbassador.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ RTI/FederateAmbassador.h 7 Oct 2008 18:46:23 -0000 1.1
@@ -0,0 +1,618 @@
+/***********************************************************************
+ IEEE 1516.1 High Level Architecture Interface Specification C++ API
+ File: RTI/FederateAmbassador.h
+***********************************************************************/
+
+// This is a pure abstract interface that must be implemented by the
+// federate to receive callbacks from the RTI.
+
+#ifndef RTI_FederateAmbassador_h
+#define RTI_FederateAmbassador_h
+
+namespace rti1516
+{
+ class LogicalTime;
+}
+
+#include <RTI/SpecificConfig.h>
+#include <RTI/Exception.h>
+#include <RTI/Typedefs.h>
+#include <RTI/Enums.h>
+
+namespace rti1516
+{
+ class RTI_EXPORT FederateAmbassador
+ {
+ protected:
+ FederateAmbassador()
+ throw (FederateInternalError);
+
+ public:
+ virtual
+ ~FederateAmbassador()
+ throw ();
+
+ // 4.7
+ virtual
+ void
+ synchronizationPointRegistrationSucceeded(std::wstring const & label)
+ throw (FederateInternalError) = 0;
+
+ virtual
+ void
+ synchronizationPointRegistrationFailed(std::wstring const & label,
+ SynchronizationFailureReason reason)
+ throw (FederateInternalError) = 0;
+
+ // 4.8
+ virtual
+ void
+ announceSynchronizationPoint(std::wstring const & label,
+ VariableLengthData const & theUserSuppliedTag)
+ throw (FederateInternalError) = 0;
+
+ // 4.10
+ virtual
+ void
+ federationSynchronized(std::wstring const & label)
+ throw (FederateInternalError) = 0;
+
+ // 4.12
+ virtual
+ void
+ initiateFederateSave(std::wstring const & label)
+ throw (UnableToPerformSave,
+ FederateInternalError) = 0;
+
+ virtual
+ void
+ initiateFederateSave(std::wstring const & label,
+ LogicalTime const & theTime)
+ throw (UnableToPerformSave,
+ InvalidLogicalTime,
+ FederateInternalError) = 0;
+
+ // 4.15
+ virtual
+ void
+ federationSaved()
+ throw (FederateInternalError) = 0;
+
+ virtual
+ void
+ federationNotSaved(SaveFailureReason theSaveFailureReason)
+ throw (FederateInternalError) = 0;
+
+
+ // 4.17
+ virtual
+ void
+ federationSaveStatusResponse(
+ FederateHandleSaveStatusPairVector const &
+ theFederateStatusVector)
+ throw (FederateInternalError) = 0;
+
+ // 4.19
+ virtual
+ void
+ requestFederationRestoreSucceeded(std::wstring const & label)
+ throw (FederateInternalError) = 0;
+
+ virtual
+ void
+ requestFederationRestoreFailed(std::wstring const & label)
+ throw (FederateInternalError) = 0;
+
+ // 4.20
+ virtual
+ void
+ federationRestoreBegun()
+ throw (FederateInternalError) = 0;
+
+ // 4.21
+ virtual
+ void
+ initiateFederateRestore(std::wstring const & label,
+ FederateHandle handle)
+ throw (SpecifiedSaveLabelDoesNotExist,
+ CouldNotInitiateRestore,
+ FederateInternalError) = 0;
+
+ // 4.23
+ virtual
+ void
+ federationRestored()
+ throw (FederateInternalError) = 0;
+
+ virtual
+ void
+ federationNotRestored(RestoreFailureReason theRestoreFailureReason)
+ throw (FederateInternalError) = 0;
+
+ // 4.25
+ virtual
+ void
+ federationRestoreStatusResponse(
+ FederateHandleRestoreStatusPairVector const &
+ theFederateStatusVector)
+ throw (FederateInternalError) = 0;
+
+ /////////////////////////////////////
+ // Declaration Management Services //
+ /////////////////////////////////////
+
+ // 5.10
+ virtual
+ void
+ startRegistrationForObjectClass(ObjectClassHandle theClass)
+ throw (ObjectClassNotPublished,
+ FederateInternalError) = 0;
+
+ // 5.11
+ virtual
+ void
+ stopRegistrationForObjectClass(ObjectClassHandle theClass)
+ throw (ObjectClassNotPublished,
+ FederateInternalError) = 0;
+
+ // 5.12
+ virtual
+ void
+ turnInteractionsOn(InteractionClassHandle theHandle)
+ throw (InteractionClassNotPublished,
+ FederateInternalError) = 0;
+
+ // 5.13
+ virtual
+ void
+ turnInteractionsOff(InteractionClassHandle theHandle)
+ throw (InteractionClassNotPublished,
+ FederateInternalError) = 0;
+
+ ////////////////////////////////
+ // Object Management Services //
+ ////////////////////////////////
+
+ // 6.3
+ virtual
+ void
+ objectInstanceNameReservationSucceeded(std::wstring const &
+ theObjectInstanceName)
+ throw (UnknownName,
+ FederateInternalError) = 0;
+
+ virtual
+ void
+ objectInstanceNameReservationFailed(std::wstring const &
+ theObjectInstanceName)
+ throw (UnknownName,
+ FederateInternalError) = 0;
+
+
+ // 6.5
+ virtual
+ void
+ discoverObjectInstance(ObjectInstanceHandle theObject,
+ ObjectClassHandle theObjectClass,
+ std::wstring const & theObjectInstanceName)
+ throw (CouldNotDiscover,
+ ObjectClassNotKnown,
+ FederateInternalError) = 0;
+
+ // 6.7
+ virtual
+ void
+ reflectAttributeValues
+ (ObjectInstanceHandle theObject,
+ AttributeHandleValueMap const & theAttributeValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotSubscribed,
+ FederateInternalError) = 0;
+
+ virtual
+ void
+ reflectAttributeValues
+ (ObjectInstanceHandle theObject,
+ AttributeHandleValueMap const & theAttributeValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType,
+ RegionHandleSet const & theSentRegionHandleSet)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotSubscribed,
+ FederateInternalError) = 0;
+
+ virtual
+ void
+ reflectAttributeValues
+ (ObjectInstanceHandle theObject,
+ AttributeHandleValueMap const & theAttributeValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType,
+ LogicalTime const & theTime,
+ OrderType receivedOrder)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotSubscribed,
+ FederateInternalError) = 0;
+
+ virtual
+ void
+ reflectAttributeValues
+ (ObjectInstanceHandle theObject,
+ AttributeHandleValueMap const & theAttributeValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType,
+ LogicalTime const & theTime,
+ OrderType receivedOrder,
+ RegionHandleSet const & theSentRegionHandleSet)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotSubscribed,
+ FederateInternalError) = 0;
+
+ virtual
+ void
+ reflectAttributeValues
+ (ObjectInstanceHandle theObject,
+ AttributeHandleValueMap const & theAttributeValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType,
+ LogicalTime const & theTime,
+ OrderType receivedOrder,
+ MessageRetractionHandle theHandle)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotSubscribed,
+ InvalidLogicalTime,
+ FederateInternalError) = 0;
+
+ virtual
+ void
+ reflectAttributeValues
+ (ObjectInstanceHandle theObject,
+ AttributeHandleValueMap const & theAttributeValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType,
+ LogicalTime const & theTime,
+ OrderType receivedOrder,
+ MessageRetractionHandle theHandle,
+ RegionHandleSet const & theSentRegionHandleSet)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotSubscribed,
+ InvalidLogicalTime,
+ FederateInternalError) = 0;
+
+ // 6.9
+ virtual
+ void
+ receiveInteraction
+ (InteractionClassHandle theInteraction,
+ ParameterHandleValueMap const & theParameterValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType)
+ throw (InteractionClassNotRecognized,
+ InteractionParameterNotRecognized,
+ InteractionClassNotSubscribed,
+ FederateInternalError) = 0;
+
+ virtual
+ void
+ receiveInteraction
+ (InteractionClassHandle theInteraction,
+ ParameterHandleValueMap const & theParameterValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType,
+ RegionHandleSet const & theSentRegionHandleSet)
+ throw (InteractionClassNotRecognized,
+ InteractionParameterNotRecognized,
+ InteractionClassNotSubscribed,
+ FederateInternalError) = 0;
+
+ virtual
+ void
+ receiveInteraction
+ (InteractionClassHandle theInteraction,
+ ParameterHandleValueMap const & theParameterValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType,
+ LogicalTime const & theTime,
+ OrderType receivedOrder)
+ throw (InteractionClassNotRecognized,
+ InteractionParameterNotRecognized,
+ InteractionClassNotSubscribed,
+ FederateInternalError) = 0;
+
+ virtual
+ void
+ receiveInteraction
+ (InteractionClassHandle theInteraction,
+ ParameterHandleValueMap const & theParameterValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType,
+ LogicalTime const & theTime,
+ OrderType receivedOrder,
+ RegionHandleSet const & theSentRegionHandleSet)
+ throw (InteractionClassNotRecognized,
+ InteractionParameterNotRecognized,
+ InteractionClassNotSubscribed,
+ FederateInternalError) = 0;
+
+ virtual
+ void
+ receiveInteraction
+ (InteractionClassHandle theInteraction,
+ ParameterHandleValueMap const & theParameterValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType,
+ LogicalTime const & theTime,
+ OrderType receivedOrder,
+ MessageRetractionHandle theHandle)
+ throw (InteractionClassNotRecognized,
+ InteractionParameterNotRecognized,
+ InteractionClassNotSubscribed,
+ InvalidLogicalTime,
+ FederateInternalError) = 0;
+
+ virtual
+ void
+ receiveInteraction
+ (InteractionClassHandle theInteraction,
+ ParameterHandleValueMap const & theParameterValues,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ TransportationType theType,
+ LogicalTime const & theTime,
+ OrderType receivedOrder,
+ MessageRetractionHandle theHandle,
+ RegionHandleSet const & theSentRegionHandleSet)
+ throw (InteractionClassNotRecognized,
+ InteractionParameterNotRecognized,
+ InteractionClassNotSubscribed,
+ InvalidLogicalTime,
+ FederateInternalError) = 0;
+
+ // 6.11
+ virtual
+ void
+ removeObjectInstance(ObjectInstanceHandle theObject,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder)
+ throw (ObjectInstanceNotKnown,
+ FederateInternalError) = 0;
+
+ virtual
+ void
+ removeObjectInstance(ObjectInstanceHandle theObject,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ LogicalTime const & theTime,
+ OrderType receivedOrder)
+ throw (ObjectInstanceNotKnown,
+ FederateInternalError) = 0;
+
+ virtual
+ void
+ removeObjectInstance(ObjectInstanceHandle theObject,
+ VariableLengthData const & theUserSuppliedTag,
+ OrderType sentOrder,
+ LogicalTime const & theTime,
+ OrderType receivedOrder,
+ MessageRetractionHandle theHandle)
+ throw (ObjectInstanceNotKnown,
+ InvalidLogicalTime,
+ FederateInternalError) = 0;
+
+ // 6.15
+ virtual
+ void
+ attributesInScope
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotSubscribed,
+ FederateInternalError) = 0;
+
+ // 6.16
+ virtual
+ void
+ attributesOutOfScope
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotSubscribed,
+ FederateInternalError) = 0;
+
+ // 6.18
+ virtual
+ void
+ provideAttributeValueUpdate
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes,
+ VariableLengthData const & theUserSuppliedTag)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotOwned,
+ FederateInternalError) = 0;
+
+ // 6.19
+ virtual
+ void
+ turnUpdatesOnForObjectInstance
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotOwned,
+ FederateInternalError) = 0;
+
+ // 6.20
+ virtual
+ void
+ turnUpdatesOffForObjectInstance
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotOwned,
+ FederateInternalError) = 0;
+
+ ///////////////////////////////////
+ // Ownership Management Services //
+ ///////////////////////////////////
+
+ // 7.4
+ virtual
+ void
+ requestAttributeOwnershipAssumption
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & offeredAttributes,
+ VariableLengthData const & theUserSuppliedTag)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeAlreadyOwned,
+ AttributeNotPublished,
+ FederateInternalError) = 0;
+
+ // 7.5
+ virtual
+ void
+ requestDivestitureConfirmation
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & releasedAttributes)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotOwned,
+ AttributeDivestitureWasNotRequested,
+ FederateInternalError) = 0;
+
+ // 7.7
+ virtual
+ void
+ attributeOwnershipAcquisitionNotification
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & securedAttributes,
+ VariableLengthData const & theUserSuppliedTag)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeAcquisitionWasNotRequested,
+ AttributeAlreadyOwned,
+ AttributeNotPublished,
+ FederateInternalError) = 0;
+
+ // 7.10
+ virtual
+ void
+ attributeOwnershipUnavailable
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeAlreadyOwned,
+ AttributeAcquisitionWasNotRequested,
+ FederateInternalError) = 0;
+
+ // 7.11
+ virtual
+ void
+ requestAttributeOwnershipRelease
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & candidateAttributes,
+ VariableLengthData const & theUserSuppliedTag)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeNotOwned,
+ FederateInternalError) = 0;
+
+ // 7.15
+ virtual
+ void
+ confirmAttributeOwnershipAcquisitionCancellation
+ (ObjectInstanceHandle theObject,
+ AttributeHandleSet const & theAttributes)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ AttributeAlreadyOwned,
+ AttributeAcquisitionWasNotCanceled,
+ FederateInternalError) = 0;
+
+ // 7.17
+ virtual
+ void
+ informAttributeOwnership(ObjectInstanceHandle theObject,
+ AttributeHandle theAttribute,
+ FederateHandle theOwner)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ FederateInternalError) = 0;
+
+ virtual
+ void
+ attributeIsNotOwned(ObjectInstanceHandle theObject,
+ AttributeHandle theAttribute)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ FederateInternalError) = 0;
+
+ virtual
+ void
+ attributeIsOwnedByRTI(ObjectInstanceHandle theObject,
+ AttributeHandle theAttribute)
+ throw (ObjectInstanceNotKnown,
+ AttributeNotRecognized,
+ FederateInternalError) = 0;
+
+ //////////////////////////////
+ // Time Management Services //
+ //////////////////////////////
+
+ // 8.3
+ virtual
+ void
+ timeRegulationEnabled(LogicalTime const & theFederateTime)
+ throw (InvalidLogicalTime,
+ NoRequestToEnableTimeRegulationWasPending,
+ FederateInternalError) = 0;
+
+ // 8.6
+ virtual
+ void
+ timeConstrainedEnabled(LogicalTime const & theFederateTime)
+ throw (InvalidLogicalTime,
+ NoRequestToEnableTimeConstrainedWasPending,
+ FederateInternalError) = 0;
+
+ // 8.13
+ virtual
+ void
+ timeAdvanceGrant(LogicalTime const & theTime)
+ throw (InvalidLogicalTime,
+ JoinedFederateIsNotInTimeAdvancingState,
+ FederateInternalError) = 0;
+
+ // 8.22
+ virtual
+ void
+ requestRetraction(MessageRetractionHandle theHandle)
+ throw (FederateInternalError) = 0;
+ };
+}
+
+#endif // RTI_FederateAmbassador_h
Index: RTI/LogicalTime.h
===================================================================
RCS file: RTI/LogicalTime.h
diff -N RTI/LogicalTime.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ RTI/LogicalTime.h 7 Oct 2008 18:46:23 -0000 1.1
@@ -0,0 +1,121 @@
+/***********************************************************************
+ IEEE 1516.1 High Level Architecture Interface Specification C++ API
+ File: RTI/LogicalTime.h
+***********************************************************************/
+
+#ifndef RTI_LogicalTime_h
+#define RTI_LogicalTime_h
+
+// The classes associated with logical time allow a federation to provide their
+// own representation for logical time and logical time interval. The
federation
+// is responsible to inherit from the abstract classes declared below. The
+// encoded time classes are used to hold the arbitrary bit representation of
the
+// logical time and logical time intervals.
+
+namespace rti1516
+{
+ class LogicalTimeInterval;
+}
+
+#include <RTI/SpecificConfig.h>
+#include <RTI/Exception.h>
+#include <string>
+#include <RTI/VariableLengthData.h>
+
+namespace rti1516
+{
+ class RTI_EXPORT LogicalTime
+ {
+ public:
+ virtual
+ ~LogicalTime()
+ throw () = 0;
+
+ virtual
+ void
+ setInitial() = 0;
+
+ virtual
+ bool
+ isInitial() const = 0;
+
+ virtual
+ void
+ setFinal() = 0;
+
+ virtual
+ bool
+ isFinal() const = 0;
+
+ virtual
+ LogicalTime &
+ operator=(LogicalTime const & value)
+ throw (InvalidLogicalTime) = 0;
+
+ virtual
+ LogicalTime &
+ operator+=(LogicalTimeInterval const & addend)
+ throw (IllegalTimeArithmetic, InvalidLogicalTimeInterval) = 0;
+
+ virtual
+ LogicalTime &
+ operator-=(LogicalTimeInterval const & subtrahend)
+ throw (IllegalTimeArithmetic, InvalidLogicalTimeInterval) = 0;
+
+ virtual
+ bool
+ operator>(LogicalTime const & value) const
+ throw (InvalidLogicalTime) = 0;
+
+ virtual
+ bool
+ operator<(LogicalTime const & value) const
+ throw (InvalidLogicalTime) = 0;
+
+ virtual
+ bool
+ operator==(LogicalTime const & value) const
+ throw (InvalidLogicalTime) = 0;
+
+ virtual
+ bool
+ operator>=(LogicalTime const & value) const
+ throw (InvalidLogicalTime) = 0;
+
+ virtual
+ bool
+ operator<=(LogicalTime const & value) const
+ throw (InvalidLogicalTime) = 0;
+
+ // Generates an encoded value that can be used to send
+ // LogicalTimes to other federates in updates or interactions
+ virtual VariableLengthData encode() const = 0;
+
+ // Alternate encode for directly filling a buffer
+ virtual unsigned long encodedLength() const = 0;
+ virtual unsigned long encode(void* buffer, unsigned long bufferSize) const
+ throw (CouldNotEncode) = 0;
+
+ // Decode encodedLogicalTime into self
+ virtual void decode(VariableLengthData const & encodedLogicalTime)
+ throw (InternalError,
+ CouldNotDecode) = 0;
+
+ // Alternate decode that reads directly from a buffer
+ virtual void decode(void* buffer, unsigned long bufferSize)
+ throw (InternalError,
+ CouldNotDecode) = 0;
+
+ virtual std::wstring toString() const = 0;
+
+ // Returns the name of the implementation, as needed by
+ // createFederationExecution.
+ virtual std::wstring implementationName() const = 0;
+ };
+
+ // Output operator for LogicalTime
+ std::wostream RTI_EXPORT &
+ operator << (std::wostream &, LogicalTime const &);
+}
+
+#endif // RTI_LogicalTime_h
Index: RTI_set.h
===================================================================
RCS file: RTI_set.h
diff -N RTI_set.h
--- RTI_set.h 30 Sep 2008 13:52:40 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,4 +0,0 @@
-#ifndef RTI_set_h
-#define RTI_set_h
-#include <set>
-#endif // RTI_set_h
Index: RTI_RTIambassador.h
===================================================================
RCS file: RTI_RTIambassador.h
diff -N RTI_RTIambassador.h
--- RTI_RTIambassador.h 30 Sep 2008 13:52:41 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,1238 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_RTIambassador.h
-***********************************************************************/
-// This interface is used to access the services of the RTI.
-#ifndef RTI_RTIambassador_h
-#define RTI_RTIambassador_h
-//
-// These forward declarations significantly decrease compilation time when only
-// including this file
-//
-class RTI_AsynchronousDeliveryAlreadyDisabled;
-class RTI_AsynchronousDeliveryAlreadyEnabled;
-class RTI_AttributeAcquisitionWasNotRequested;
-class RTI_AttributeAlreadyBeingAcquired;
-class RTI_AttributeAlreadyBeingDivested;
-class RTI_AttributeAlreadyOwned;
-class RTI_AttributeDivestitureWasNotRequested;
-class RTI_AttributeNotDefined;
-class RTI_AttributeNotOwned;
-class RTI_AttributeNotPublished;
-class RTI_AttributeRelevanceAdvisorySwitchIsOff;
-class RTI_AttributeRelevanceAdvisorySwitchIsOn;
-class RTI_AttributeScopeAdvisorySwitchIsOff;
-class RTI_AttributeScopeAdvisorySwitchIsOn;
-class RTI_CouldNotOpenFDD;
-class RTI_DeletePrivilegeNotHeld;
-class RTI_ErrorReadingFDD;
-class RTI_FederateAlreadyExecutionMember;
-class RTI_FederateAmbassador;
-class RTI_FederateHasNotBegunSave;
-class RTI_FederateNotExecutionMember;
-class RTI_FederateOwnsAttributes;
-class RTI_FederateServiceInvocationsAreBeingReportedViaMOM;
-class RTI_FederateUnableToUseTime;
-class RTI_FederatesCurrentlyJoined;
-class RTI_FederationExecutionAlreadyExists;
-class RTI_FederationExecutionDoesNotExist ;
-class RTI_FederationExecutionDoesNotExist;
-class RTI_IllegalName;
-class RTI_InTimeAdvancingState;
-class RTI_InteractionClassNotDefined;
-class RTI_InteractionClassNotPublished;
-class RTI_InteractionParameterNotDefined;
-class RTI_InteractionRelevanceAdvisorySwitchIsOff;
-class RTI_InteractionRelevanceAdvisorySwitchIsOn;
- class RTI_InvalidAttributeHandle;
- class RTI_InvalidDimensionHandle;
- class RTI_InvalidInteractionClassHandle;
- class RTI_InvalidLogicalTime;
- class RTI_InvalidLookahead;
- class RTI_InvalidObjectClassHandle;
- class RTI_InvalidOrderName;
- class RTI_InvalidOrderType;
- class RTI_InvalidParameterHandle;
- class RTI_InvalidRangeBounds;
- class RTI_InvalidRegion;
- class RTI_InvalidRegionContext;
- class RTI_InvalidRetractionHandle;
- class RTI_InvalidTransportationName;
- class RTI_InvalidTransportationType;
- class RTI_LogicalTime;
- class RTI_LogicalTimeAlreadyPassed ;
- class RTI_LogicalTimeAlreadyPassed;
- class RTI_LogicalTimeFactory;
- class RTI_LogicalTimeInterval;
- class RTI_LogicalTimeIntervalFactory;
- class RTI_MessageCanNoLongerBeRetracted;
- class RTI_NameNotFound;
- class RTI_ObjectClassNotDefined ;
- class RTI_ObjectClassNotDefined;
- class RTI_ObjectClassNotPublished;
- class RTI_ObjectClassRelevanceAdvisorySwitchIsOff;
- class RTI_ObjectClassRelevanceAdvisorySwitchIsOn;
- class RTI_ObjectInstanceNameInUse;
- class RTI_ObjectInstanceNameNotReserved;
- class RTI_ObjectInstanceNotKnown ;
- class RTI_ObjectInstanceNotKnown;
- class RTI_OrderType;
- class RTI_OwnershipAcquisitionPending;
- class RTI_RTIinternalError;
- class RTI_RangeBounds;
- class RTI_RegionDoesNotContainSpecifiedDimension;
- class RTI_RegionInUseForUpdateOrSubscription;
- class RTI_RegionNotCreatedByThisFederate;
- class RTI_RequestForTimeConstrainedPending;
- class RTI_RequestForTimeConstrainedPending;
- class RTI_RequestForTimeRegulationPending;
- class RTI_ResignAction;
- class RTI_RestoreInProgress;
- class RTI_RestoreNotInProgress;
- class RTI_RestoreNotRequested;
- class RTI_RestoreStatus;
- class RTI_SaveInProgress;
- class RTI_SaveNotInProgress;
- class RTI_SaveNotInitiated;
- class RTI_SaveStatus;
- class RTI_ServiceGroupIndicator;
- class RTI_SynchronizationPointLabelNotAnnounced;
- class RTI_TimeConstrainedAlreadyEnabled;
- class RTI_TimeConstrainedIsNotEnabled;
- class RTI_TimeRegulationAlreadyEnabled;
- class RTI_TimeRegulationIsNotEnabled;
- class RTI_TransportationType;
- #include <RTI_SpecificConfig.h>
- #include <RTI_memory>
- #include <RTI_string>
- #include <RTI_bool.h>
- #include <RTI_Typedefs.h>
- class RTI_RTIambassador
- {
- public:
- // 10.37
- virtual ~RTI_RTIambassador ()
- throw ();
- // 4.2
- virtual void createFederationExecution
- (RTI_wstring const & federationExecutionName,
- RTI_wstring const & fullPathNameToTheFDDfile)
- throw (RTI_FederationExecutionAlreadyExists,
- RTI_CouldNotOpenFDD,
- RTI_ErrorReadingFDD,
- RTI_RTIinternalError) = 0;
- // 4.3
- virtual void destroyFederationExecution
- (RTI_wstring const & federationExecutionName)
- throw (RTI_FederatesCurrentlyJoined,
- RTI_FederationExecutionDoesNotExist,
- RTI_RTIinternalError) = 0;
- // 4.4
- virtualRTI_FederateHandle const & joinFederationExecution
- (RTI_wstring const & federateType,
- RTI_wstring const & federationExecutionName,
- RTI_auto_ptr< RTI_FederateAmbassador > federateAmbassador,
- RTI_auto_ptr< RTI_LogicalTimeFactory > logicalTimeFactory,
- RTI_auto_ptr< RTI_LogicalTimeIntervalFactory > logicalTimeIntervalFactory)
- throw (RTI_FederateAlreadyExecutionMember,
- RTI_FederationExecutionDoesNotExist,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 4.5
- virtual void resignFederationExecution
- (RTI_ResignAction resignAction)
- throw (RTI_OwnershipAcquisitionPending,
- RTI_FederateOwnsAttributes,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 4.6
- virtual void registerFederationSynchronizationPoint
- (RTI_wstringconst & label,
- RTI_UserSuppliedTag const & theUserSuppliedTag)
- throw (RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- virtual void registerFederationSynchronizationPoint
- (RTI_wstring const & label,
- RTI_UserSuppliedTag const & theUserSuppliedTag,
- RTI_FederateHandleSet const & syncSet)
- throw (RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 4.9
- virtual void synchronizationPointAchieved
- (RTI_wstring const & label)
- throw (RTI_SynchronizationPointLabelNotAnnounced,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 4.11
- virtual void requestFederationSave
- (RTI_wstring const & label)
- throw (RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- virtual void requestFederationSave
- (RTI_wstring const & label,
- RTI_LogicalTime const & theTime)
- throw (RTI_LogicalTimeAlreadyPassed,
- RTI_InvalidLogicalTime,
- RTI_FederateUnableToUseTime,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 4.13
- virtual void federateSaveBegun ()
- throw (RTI_SaveNotInitiated,
- RTI_FederateNotExecutionMember,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 4.14
- virtual void federateSaveComplete ()
- throw (RTI_FederateHasNotBegunSave,
- RTI_FederateNotExecutionMember,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- virtual void federateSaveNotComplete()
- throw (RTI_FederateHasNotBegunSave,
- RTI_FederateNotExecutionMember,
- RTI_RestoreInProgress,
- RTsI_RTIinternalError) = 0;
- // 4.16
- virtual void queryFederationSaveStatus ()
- throw (RTI_FederateNotExecutionMember,
- RTI_SaveNotInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 4.18
- virtual void requestFederationRestore
- (RTI_wstring const & label)
- throw (RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 4.22
- virtual void federateRestoreComplete ()
- throw (RTI_RestoreNotRequested,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RTIinternalError) = 0;
- virtual void federateRestoreNotComplete ()
- throw (RTI_RestoreNotRequested,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RTIinternalError) = 0;
- // 4.24
- virtual void queryFederationRestoreStatus ()
- throw (RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreNotInProgress,
- RTI_RTIinternalError) = 0;
- /////////////////////////////////////
- // Declaration Management Services //
- /////////////////////////////////////
- // 5.2
- virtual void publishObjectClassAttributes
- (RTI_ObjectClassHandleconst & theClass,
- RTI_AttributeHandleSet const & attributeList)
- throw (RTI_ObjectClassNotDefined,
- RTI_AttributeNotDefined,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 5.3
- virtual void unpublishObjectClass
- (RTI_ObjectClassHandle const & theClass)
- throw (RTI_ObjectClassNotDefined,
- RTI_OwnershipAcquisitionPending,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- virtual void unpublishObjectClassAttributes
- (RTI_ObjectClassHandleconst & theClass,
- RTI_AttributeHandleSet const & attributeList)
- throw (RTI_ObjectClassNotDefined,
- RTI_AttributeNotDefined,
- RTI_OwnershipAcquisitionPending,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 5.4
- virtual void publishInteractionClass
- (RTI_InteractionClassHandle const & theInteraction)
- throw (RTI_InteractionClassNotDefined,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 5.5
- virtual void unpublishInteractionClass
- (RTI_InteractionClassHandle const & theInteraction)
- throw (RTI_InteractionClassNotDefined,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 5.6
- virtual void subscribeObjectClassAttributes
- (RTI_ObjectClassHandleconst & theClass,
- RTI_AttributeHandleSet const & attributeList,
- RTI_bool active = RTI_true)
- throw (RTI_ObjectClassNotDefined,
- RTI_AttributeNotDefined,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 5.7
- virtual void unsubscribeObjectClass
- (RTI_ObjectClassHandle const & theClass)
- throw (RTI_ObjectClassNotDefined,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- virtual void unsubscribeObjectClassAttributes
- (RTI_ObjectClassHandleconst & theClass,
- RTI_AttributeHandleSet const & attributeList)
- throw (RTI_ObjectClassNotDefined,
- RTI_AttributeNotDefined,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 5.8
- virtual void subscribeInteractionClass
- (RTI_InteractionClassHandle const & theClass,
- RTI_bool active = RTI_true)
- throw (RTI_InteractionClassNotDefined,
- RTI_FederateServiceInvocationsAreBeingReportedViaMOM,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 5.9
- virtual void unsubscribeInteractionClass
- (RTI_InteractionClassHandle const & theClass)
- throw (RTI_InteractionClassNotDefined,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- ////////////////////////////////
- // Object Management Services //
- ////////////////////////////////
- // 6.2
- virtual void reserveObjectInstanceName
- (RTI_wstring const & theObjectInstanceName)
- throw (RTI_IllegalName,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 6.4
- virtual RTI_ObjectInstanceHandle const & registerObjectInstance
- (RTI_ObjectClassHandle const & theClass)
- throw (RTI_ObjectClassNotDefined,
- RTI_ObjectClassNotPublished,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- virtual RTI_ObjectInstanceHandle const & registerObjectInstance
- (RTI_ObjectClassHandle const & theClass,
- RTI_wstring const & theObjectInstanceName)
- throw (RTI_ObjectClassNotDefined,
- RTI_ObjectClassNotPublished,
- RTI_ObjectInstanceNameNotReserved,
- RTI_ObjectInstanceNameInUse,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 6.6
- virtual void updateAttributeValues
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_AttributeHandleValueMap const & theAttributeValues,
- RTI_UserSuppliedTag const & theUserSuppliedTag)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotDefined,
- RTI_AttributeNotOwned,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- virtual RTI_auto_ptr< RTI_MessageRetractionHandle > updateAttributeValues
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_AttributeHandleValueMap const & theAttributeValues,
- RTI_UserSuppliedTag const & theUserSuppliedTag,
- RTI_LogicalTime const & theTime)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotDefined,
- RTI_AttributeNotOwned,
- RTI_InvalidLogicalTime,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 6.8
- virtual void sendInteraction
- (RTI_InteractionClassHandleconst & theInteraction,
- RTI_ParameterHandleValueMap const & theParameterValues,
- RTI_UserSuppliedTag const & theUserSuppliedTag)
- throw (RTI_InteractionClassNotPublished,
- RTI_InteractionClassNotDefined,
- RTI_InteractionParameterNotDefined,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- virtual RTI_auto_ptr< RTI_MessageRetractionHandle > sendInteraction
- (RTI_InteractionClassHandleconst & theInteraction,
- RTI_ParameterHandleValueMap const & theParameterValues,
- RTI_UserSuppliedTag const & theUserSuppliedTag,
- RTI_LogicalTime const & theTime)
- throw (RTI_InteractionClassNotPublished,
- RTI_InteractionClassNotDefined,
- RTI_InteractionParameterNotDefined,
- RTI_InvalidLogicalTime,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 6.10
- virtual void deleteObjectInstance
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_UserSuppliedTag const & theUserSuppliedTag)
- throw (RTI_DeletePrivilegeNotHeld,
- RTI_ObjectInstanceNotKnown,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- virtual RTI_auto_ptr< RTI_MessageRetractionHandle > deleteObjectInstance
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_UserSuppliedTag const & theUserSuppliedTag,
- RTI_LogicalTimeconst & theTime)
- throw (RTI_DeletePrivilegeNotHeld,
- RTI_ObjectInstanceNotKnown,
- RTI_InvalidLogicalTime,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 6.12
- virtual void localDeleteObjectInstance
- (RTI_ObjectInstanceHandle const & theObject)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_FederateOwnsAttributes,
- RTI_OwnershipAcquisitionPending,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 6.13
- virtual void changeAttributeTransportationType
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_AttributeHandleSet const & theAttributes,
- RTI_TransportationType const & theType)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotDefined,
- RTI_AttributeNotOwned,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 6.14
- virtual void changeInteractionTransportationType
- (RTI_InteractionClassHandle const & theClass,
- RTI_TransportationType const & theType)
- throw (RTI_InteractionClassNotDefined,
- RTI_InteractionClassNotPublished,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 6.17
- virtual void requestAttributeValueUpdate
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_AttributeHandleSet const & theAttributes,
- RTI_UserSuppliedTag const & theUserSuppliedTag)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotDefined,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- virtual void requestAttributeValueUpdate
- (RTI_ObjectClassHandle const & theClass,
- RTI_AttributeHandleSet const & theAttributes,
- RTI_UserSuppliedTag const & theUserSuppliedTag)
- throw (RTI_ObjectClassNotDefined,
- RTI_AttributeNotDefined,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- ///////////////////////////////////
- // Ownership Management Services //
- ///////////////////////////////////
- // 7.2
- virtual void unconditionalAttributeOwnershipDivestiture
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_AttributeHandleSet const & theAttributes)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotDefined,
- RTI_AttributeNotOwned,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 7.3
- virtual void negotiatedAttributeOwnershipDivestiture
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_AttributeHandleSet const & theAttributes,
- RTI_UserSuppliedTag const & theUserSuppliedTag)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotDefined,
- RTI_AttributeNotOwned,
- RTI_AttributeAlreadyBeingDivested,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 7.6
- virtual
- void
- confirmDivestiture
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_auto_ptr< RTI_AttributeHandleSet >securedAttributes,
- RTI_UserSuppliedTagconst & theUserSuppliedTag)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotDefined,
- RTI_AttributeNotOwned,
- RTI_AttributeDivestitureWasNotRequested,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 7.8
- virtual void attributeOwnershipAcquisition
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_AttributeHandleSet const & desiredAttributes,
- RTI_UserSuppliedTag const & theUserSuppliedTag)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_ObjectClassNotPublished,
- RTI_AttributeNotDefined,
- RTI_AttributeNotPublished,
- RTI_FederateOwnsAttributes,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 7.9
- virtual void attributeOwnershipAcquisitionIfAvailable
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_AttributeHandleSet const & desiredAttributes)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_ObjectClassNotPublished,
- RTI_AttributeNotDefined,
- RTI_AttributeNotPublished,
- RTI_FederateOwnsAttributes,
- RTI_AttributeAlreadyBeingAcquired,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 7.12
- virtual RTI_auto_ptr< RTI_AttributeHandleSet >
- attributeOwnershipDivestitureIfWanted
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_AttributeHandleSet const & theAttributes)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotDefined,
- RTI_AttributeNotOwned,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 7.13
- virtual void cancelNegotiatedAttributeOwnershipDivestiture
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_AttributeHandleSet const & theAttributes)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotDefined,
- RTI_AttributeNotOwned,
- RTI_AttributeDivestitureWasNotRequested,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 7.14
- virtual void cancelAttributeOwnershipAcquisition
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_AttributeHandleSet const & theAttributes)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotDefined,
- RTI_AttributeAlreadyOwned,
- RTI_AttributeAcquisitionWasNotRequested,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 7.16
- virtual void queryAttributeOwnership
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_AttributeHandle const & theAttribute)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotDefined,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 7.18
- virtual RTI_bool isAttributeOwnedByFederate
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_AttributeHandle const & theAttribute)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotDefined,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- //////////////////////////////
- // Time Management Services //
- //////////////////////////////
- // 8.2
- virtual void enableTimeRegulation
- (RTI_LogicalTimeInterval const & theLookahead)
- throw (RTI_TimeRegulationAlreadyEnabled,
- RTI_InvalidLookahead,
- RTI_InTimeAdvancingState,
- RTI_RequestForTimeRegulationPending,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 8.4
- virtual void disableTimeRegulation ()
- throw (RTI_TimeRegulationIsNotEnabled,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 8.5
- virtual void enableTimeConstrained ()
- throw (RTI_TimeConstrainedAlreadyEnabled,
- RTI_InTimeAdvancingState,
- RTI_RequestForTimeConstrainedPending,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 8.7
- virtual void disableTimeConstrained ()
- throw (RTI_TimeConstrainedIsNotEnabled,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 8.8
- virtual void timeAdvanceRequest
- (RTI_LogicalTime const & theTime)
- throw (RTI_InvalidLogicalTime,
- RTI_LogicalTimeAlreadyPassed,
- RTI_InTimeAdvancingState,
- RTI_RequestForTimeRegulationPending,
- RTI_RequestForTimeConstrainedPending,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 8.9
- virtual void timeAdvanceRequestAvailable
- (RTI_LogicalTime const & theTime)
- throw (RTI_InvalidLogicalTime,
- RTI_LogicalTimeAlreadyPassed,
- RTI_InTimeAdvancingState,
- RTI_RequestForTimeRegulationPending,
- RTI_RequestForTimeConstrainedPending,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 8.10
- virtual void nextMessageRequest
- (RTI_LogicalTime const & theTime)
- throw (RTI_InvalidLogicalTime,
- RTI_LogicalTimeAlreadyPassed,
- RTI_InTimeAdvancingState,
- RTI_RequestForTimeRegulationPending,
- RTI_RequestForTimeConstrainedPending,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 8.11
- virtual void nextMessageRequestAvailable
- (RTI_LogicalTime const & theTime)
- throw (RTI_InvalidLogicalTime,
- RTI_LogicalTimeAlreadyPassed,
- RTI_InTimeAdvancingState,
- RTI_RequestForTimeRegulationPending,
- RTI_RequestForTimeConstrainedPending,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 8.12
- virtual void flushQueueRequest
- (RTI_LogicalTime const & theTime)
- throw (RTI_InvalidLogicalTime,
- RTI_LogicalTimeAlreadyPassed,
- RTI_InTimeAdvancingState,
- RTI_RequestForTimeRegulationPending,
- RTI_RequestForTimeConstrainedPending,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 8.14
- virtual void enableAsynchronousDelivery ()
- throw (RTI_AsynchronousDeliveryAlreadyEnabled,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 8.15
- virtual void disableAsynchronousDelivery ()
- throw (RTI_AsynchronousDeliveryAlreadyDisabled,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 8.16
- virtual RTI_auto_ptr< RTI_LogicalTime > queryGALT ()
- throw (RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 8.17
- virtual RTI_LogicalTime const & queryLogicalTime ()
- throw (RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 8.18
- virtual RTI_auto_ptr< RTI_LogicalTime > const & queryLITS ()
- throw (RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 8.19
- virtual void modifyLookahead
- (RTI_LogicalTimeInterval const & theLookahead)
- throw (RTI_TimeRegulationIsNotEnabled,
- RTI_InvalidLookahead,
- RTI_InTimeAdvancingState,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 8.20
- virtual RTI_LogicalTimeInterval const & queryLookahead ()
- throw (RTI_TimeRegulationIsNotEnabled,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 8.21
- virtual void retract
- (RTI_MessageRetractionHandle const & theHandle)
- throw (RTI_InvalidRetractionHandle,
- RTI_TimeRegulationIsNotEnabled,
- RTI_MessageCanNoLongerBeRetracted,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 8.23
- virtual void changeAttributeOrderType
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_AttributeHandleSet const & theAttributes,
- RTI_OrderType const & theType)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotDefined,
- RTI_AttributeNotOwned,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 8.24
- virtual void changeInteractionOrderType
- (RTI_InteractionClassHandle const & theClass,
- RTI_OrderType const & theType)
- throw (RTI_InteractionClassNotDefined,
- RTI_InteractionClassNotPublished,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- //////////////////////////////////
- // Data Distribution Management //
- //////////////////////////////////
- // 9.2
- virtual RTI_auto_ptr< RTI_RegionHandle > createRegion
- (RTI_DimensionHandleSet const & theDimensions)
- throw (RTI_InvalidDimensionHandle,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 9.3
- virtual void commitRegionModifications
- (RTI_RegionHandleSet const & theRegionHandleSet)
- throw (RTI_InvalidRegion,
- RTI_RegionNotCreatedByThisFederate,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 9.4
- virtual void deleteRegion
- (RTI_auto_ptr< RTI_RegionHandle > theRegion)
- throw (RTI_InvalidRegion,
- RTI_RegionNotCreatedByThisFederate,
- RTI_RegionInUseForUpdateOrSubscription,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 9.5
- virtual RTI_ObjectInstanceHandle const & registerObjectInstanceWithRegions
- (RTI_ObjectClassHandle const & theClass,
- RTI_AttributeHandleSetRegionHandleSetPairVector const &
- theAttributeHandleSetRegionHandleSetPairVector)
- throw (RTI_ObjectClassNotDefined,
- RTI_ObjectClassNotPublished,
- RTI_AttributeNotDefined,
- RTI_AttributeNotPublished,
- RTI_InvalidRegion,
- RTI_RegionNotCreatedByThisFederate,
- RTI_InvalidRegionContext,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- virtual RTI_ObjectInstanceHandle const & registerObjectInstanceWithRegions
- (RTI_ObjectClassHandle const & theClass,
- RTI_AttributeHandleSetRegionHandleSetPairVector const &
- theAttributeHandleSetRegionHandleSetPairVector,
- RTI_wstring const & theObjectInstanceName)
- throw (RTI_ObjectClassNotDefined,
- RTI_ObjectClassNotPublished,
- RTI_AttributeNotDefined,
- RTI_AttributeNotPublished,
- RTI_InvalidRegion,
- RTI_RegionNotCreatedByThisFederate,
- RTI_InvalidRegionContext,
- RTI_ObjectInstanceNameNotReserved,
- RTI_ObjectInstanceNameInUse,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 9.6
- virtual void associateRegionsForUpdates
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_AttributeHandleSetRegionHandleSetPairVector const &
- theAttributeHandleSetRegionHandleSetPairVector)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotDefined,
- RTI_InvalidRegion,
- RTI_RegionNotCreatedByThisFederate,
- RTI_InvalidRegionContext,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 9.7
- virtual void unassociateRegionsForUpdates
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_AttributeHandleSetRegionHandleSetPairVector const &
- theAttributeHandleSetRegionHandleSetPairVector)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotDefined,
- RTI_InvalidRegion,
- RTI_RegionNotCreatedByThisFederate,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 9.8
- virtual void subscribeObjectClassAttributesWithRegions
- (RTI_ObjectClassHandle const & theClass,
- RTI_AttributeHandleSetRegionHandleSetPairVector const &
- theAttributeHandleSetRegionHandleSetPairVector,
- RTI_bool active = RTI_true)
- throw (RTI_ObjectClassNotDefined,
- RTI_AttributeNotDefined,
- RTI_InvalidRegion,
- RTI_RegionNotCreatedByThisFederate,
- RTI_InvalidRegionContext,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 9.9
- virtual void unsubscribeObjectClassAttributesWithRegions
- (RTI_ObjectClassHandle const & theClass,
- RTI_AttributeHandleSetRegionHandleSetPairVector const
-& theAttributeHandleSetRegionHandleSetPairVector)
- throw (RTI_ObjectClassNotDefined,
- RTI_AttributeNotDefined,
- RTI_InvalidRegion,
- RTI_RegionNotCreatedByThisFederate,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 9.10
- virtual void subscribeInteractionClassWithRegions
- (RTI_InteractionClassHandle const & theClass,
- RTI_RegionHandleSet const & theRegionHandleSet,
- RTI_bool active = RTI_true)
- throw (RTI_InteractionClassNotDefined,RTI_InvalidRegion,
- RTI_RegionNotCreatedByThisFederate,
- RTI_InvalidRegionContext,
- RTI_FederateServiceInvocationsAreBeingReportedViaMOM,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
-// 9.11
- virtual void unsubscribeInteractionClassWithRegions
- (RTI_InteractionClassHandle const & theClass,
- RTI_RegionHandleSet const & theRegionHandleSet)
- throw (RTI_InteractionClassNotDefined,
- RTI_InvalidRegion,
- RTI_RegionNotCreatedByThisFederate,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 9.12
- virtual void sendInteractionWithRegions
- (RTI_InteractionClassHandleconst & theInteraction,
- RTI_ParameterHandleValueMap const & theParameterValues,
- RTI_RegionHandleSet const & theRegionHandleSet,
- RTI_UserSuppliedTag const & theUserSuppliedTag)
- throw (RTI_InteractionClassNotDefined,
- RTI_InteractionClassNotPublished,
- RTI_InteractionParameterNotDefined,
- RTI_InvalidRegion,
- RTI_RegionNotCreatedByThisFederate,
- RTI_InvalidRegionContext,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- virtual RTI_auto_ptr< RTI_MessageRetractionHandle >
sendInteractionWithRegions
- (RTI_InteractionClassHandleconst & theInteraction,
- RTI_ParameterHandleValueMap const & theParameterValues,
- RTI_RegionHandleSet const & theRegionHandleSet,
- RTI_UserSuppliedTag const & theUserSuppliedTag,
- RTI_LogicalTime const & theTime)
- throw (RTI_InteractionClassNotDefined,
- RTI_InteractionClassNotPublished,
- RTI_InteractionParameterNotDefined,
- RTI_InvalidRegion,
- RTI_RegionNotCreatedByThisFederate,
- RTI_InvalidRegionContext,
- RTI_InvalidLogicalTime,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 9.13
- virtual void requestAttributeValueUpdateWithRegions
- (RTI_ObjectClassHandle const & theClass,
- RTI_AttributeHandleSetRegionHandleSetPairVector const & theSet,
- RTI_UserSuppliedTag const & theUserSuppliedTag)
- throw (RTI_ObjectClassNotDefined,
- RTI_AttributeNotDefined,
- RTI_InvalidRegion,
- RTI_RegionNotCreatedByThisFederate,
- RTI_InvalidRegionContext,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- //////////////////////////
- // RTI Support Services //
- //////////////////////////
- // 10.2
- virtual RTI_ObjectClassHandle const & getObjectClassHandle
- (RTI_wstring const & theName)
- throw (RTI_NameNotFound,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.3
- virtual RTI_wstring const & getObjectClassName
- (RTI_ObjectClassHandle const & theHandle)
- throw (RTI_InvalidObjectClassHandle,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.4
- virtual RTI_AttributeHandle const & getAttributeHandle
- (RTI_ObjectClassHandle const & whichClass,
- RTI_wstring const & theAttributeName)
- throw (RTI_InvalidObjectClassHandle,
- RTI_NameNotFound,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.5
- virtual RTI_wstring const & getAttributeName
- (RTI_ObjectClassHandle const & whichClass,
- RTI_AttributeHandle const & theHandle)
- throw (RTI_InvalidObjectClassHandle,
- RTI_InvalidAttributeHandle,
- RTI_AttributeNotDefined,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.6
- virtual RTI_InteractionClassHandle const & getInteractionClassHandle
- (RTI_wstring const & theName)
- throw (RTI_NameNotFound,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.7
- virtual RTI_wstring const & getInteractionClassName
- (RTI_InteractionClassHandle const & theHandle)
- throw (RTI_InvalidInteractionClassHandle,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.8
- virtual RTI_ParameterHandle const & getParameterHandle
- (RTI_InteractionClassHandle const & whichClass,
- RTI_wstring const & theName)
- throw (RTI_InvalidInteractionClassHandle,
- RTI_NameNotFound,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.9
- virtual RTI_wstring const & getParameterName
- (RTI_InteractionClassHandle const & whichClass,
- RTI_ParameterHandle const & theHandle)
- throw (RTI_InvalidInteractionClassHandle,
- RTI_InvalidParameterHandle,
- RTI_InteractionParameterNotDefined,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.10
- virtual RTI_ObjectInstanceHandle const & getObjectInstanceHandle
- (RTI_wstring const & theName)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.11
- virtual RTI_wstring const & getObjectInstanceName
- (RTI_ObjectInstanceHandle const & theHandle)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.12
- virtual RTI_DimensionHandle const & getDimensionHandle
- (RTI_wstring const & theName)
- throw (RTI_NameNotFound,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.13
- virtual RTI_wstring const & getDimensionName
- (RTI_DimensionHandle const & theHandle)
- throw (RTI_InvalidDimensionHandle,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.14
- virtual unsigned long getDimensionUpperBound
- (RTI_DimensionHandle const & theHandle)
- throw (RTI_InvalidDimensionHandle,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.15
- virtual RTI_DimensionHandleSet const &
getAvailableDimensionsForClassAttribute
- (RTI_ObjectClassHandle const & theClass,
- RTI_AttributeHandle const & theHandle)
- throw (RTI_InvalidObjectClassHandle,
- RTI_InvalidAttributeHandle,
- RTI_AttributeNotDefined,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.16
- virtual RTI_ObjectClassHandle const & getKnownObjectClassHandle
- (RTI_ObjectInstanceHandle const & theObject)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.17
- virtual RTI_DimensionHandleSet const &
getAvailableDimensionsForInteractionClass
- (RTI_InteractionClassHandle const & theClass)
- throw (RTI_InvalidInteractionClassHandle,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.18
- virtual RTI_TransportationType const & getTransportationType
- (RTI_wstring const & transportationName)
- throw (RTI_InvalidTransportationName,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.19
- virtual RTI_wstring const & getTransportationName
- (RTI_TransportationType const & transportationType)
- throw (RTI_InvalidTransportationType,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.20
- virtual RTI_OrderType const & getOrderType
- (RTI_wstring const & orderName)
- throw (RTI_InvalidOrderName,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.21
- virtual RTI_wstring const & getOrderName
- (RTI_OrderType const & orderType)
- throw (RTI_InvalidOrderType,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.22
- virtual void enableObjectClassRelevanceAdvisorySwitch ()
- throw (RTI_ObjectClassRelevanceAdvisorySwitchIsOn,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 10.23
- virtual void disableObjectClassRelevanceAdvisorySwitch ()
- throw (RTI_ObjectClassRelevanceAdvisorySwitchIsOff,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 10.24
- virtual void enableAttributeRelevanceAdvisorySwitch ()
- throw (RTI_AttributeRelevanceAdvisorySwitchIsOn,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 10.25
- virtual void disableAttributeRelevanceAdvisorySwitch ()
- throw (RTI_AttributeRelevanceAdvisorySwitchIsOff,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 10.26
- virtual void enableAttributeScopeAdvisorySwitch ()
- throw (RTI_AttributeScopeAdvisorySwitchIsOn,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 10.27
- virtual void disableAttributeScopeAdvisorySwitch ()
- throw (RTI_AttributeScopeAdvisorySwitchIsOff,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 10.28
- virtual void enableInteractionRelevanceAdvisorySwitch ()
- throw (RTI_InteractionRelevanceAdvisorySwitchIsOn,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 10.29
- virtual void disableInteractionRelevanceAdvisorySwitch ()
- throw (RTI_InteractionRelevanceAdvisorySwitchIsOff,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 10.30
- virtual
- RTI_DimensionHandleSet const & getDimensionHandleSet
- (RTI_RegionHandle const & theRegionHandle)
- throw (RTI_InvalidRegion,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 10.31
- virtual
- RTI_RangeBounds const & getRangeBounds
- (RTI_RegionHandle const & theRegionHandle,
- RTI_DimensionHandle const & theDimensionHandle)
- throw (RTI_InvalidRegion,
- RTI_RegionDoesNotContainSpecifiedDimension,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 10.32
- virtual void setRangeBounds
- (RTI_RegionHandle const & theRegionHandle,
- RTI_DimensionHandle const & theDimensionHandle,
- RTI_RangeBounds const & theRangeBounds)
- throw (RTI_InvalidRegion,
- RTI_RegionNotCreatedByThisFederate,
- RTI_RegionDoesNotContainSpecifiedDimension,
- RTI_InvalidRangeBounds,
- RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 10.33
- virtual unsigned long normalizeFederateHandle
- (RTI_FederateHandle const & theFederateHandle)
- throw (RTI_FederateHandle,
- RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.34
- virtual unsigned long normalizeServiceGroup
- (RTI_ServiceGroupIndicator const & theServiceGroup)
- throw (RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.37
- virtual RTI_bool evokeCallback(double approximateMinimumTimeInSeconds)
- throw (RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.38
- virtual RTI_bool evokeMultipleCallbacks(double
approximateMinimumTimeInSeconds,
- double approximateMaximumTimeInSeconds)
- throw (RTI_FederateNotExecutionMember,
- RTI_RTIinternalError) = 0;
- // 10.39
- virtual void enableCallbacks ()
- throw (RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- // 10.40
- virtual void disableCallbacks ()
- throw (RTI_FederateNotExecutionMember,
- RTI_SaveInProgress,
- RTI_RestoreInProgress,
- RTI_RTIinternalError) = 0;
- };
- #endif // RTI_RTIambassador_h
Index: RTI_ServiceGroupIndicator.h
===================================================================
RCS file: RTI_ServiceGroupIndicator.h
diff -N RTI_ServiceGroupIndicator.h
--- RTI_ServiceGroupIndicator.h 30 Sep 2008 13:52:40 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,74 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_ServiceGroupIndicator.h
-***********************************************************************/
-#ifndef RTI_ServiceGroupIndicator_h
-#define RTI_ServiceGroupIndicator_h
-class RTI_bool;
-#include <RTI_SpecificConfig.h>
-#include <RTI_string>
-// Type safe class used to represent the service group
-class RTI_EXPORT RTI_ServiceGroupIndicator
-{
-public:
- RTI_ServiceGroupIndicator(RTI_ServiceGroupIndicator const & rhs);
- static
- RTI_ServiceGroupIndicator const
- federationManagement();
- static
- RTI_ServiceGroupIndicator const
- declarationManagement();
- static
- RTI_ServiceGroupIndicator const
- objectManagement();
- static
- RTI_ServiceGroupIndicator const
- ownershipManagement();
- static
- RTI_ServiceGroupIndicator const
- timeManagement();
- static
- RTI_ServiceGroupIndicator const
- dataDistributionManagement();
- static
- RTI_ServiceGroupIndicator const
- supportServices();
- RTI_ServiceGroupIndicator &
- operator=(RTI_ServiceGroupIndicator const & rhs);
- RTI_bool
- operator==(RTI_ServiceGroupIndicator const & rhs) const;
- RTI_bool
- operator!=(RTI_ServiceGroupIndicator const & rhs) const;
- RTI_wstring const
- toString() const;
- private:
- RTI_ServiceGroupIndicator(unsigned _ServiceGroupIndicator);
- unsigned _ServiceGroupIndicator;
-};
-// These constants save a little typing for users.
-// They can be used much like a enum, but in a type-safe way
-RTI_ServiceGroupIndicator const
-RTI_FEDERATION_MANAGEMENT
-= RTI_ServiceGroupIndicator::federationManagement();
-RTI_ServiceGroupIndicator const
-RTI_DECLARATION_MANAGEMENT
-= RTI_ServiceGroupIndicator::declarationManagement();
-RTI_ServiceGroupIndicator const
-RTI_OBJECT_MANAGEMENT
-= RTI_ServiceGroupIndicator::objectManagement();
-RTI_ServiceGroupIndicator const
-RTI_OWNERSHIP_MANAGEMENT
-= RTI_ServiceGroupIndicator::ownershipManagement();
-RTI_ServiceGroupIndicator const
-RTI_TIME_MANAGEMENT
-= RTI_ServiceGroupIndicator::timeManagement();
-RTI_ServiceGroupIndicator const
-RTI_DATA_DISTRIBUTION_MANAGEMENT
-= RTI_ServiceGroupIndicator::dataDistributionManagement();
-RTI_ServiceGroupIndicator const
-RTI_SUPPORT_SERVICES
-= RTI_ServiceGroupIndicator::supportServices();
-#ifdef RTI_USE_INLINE
-#include "RTI_ServiceGroupIndicator.i"
-#endif // RTI_USE_INLINE
-#endif // RTI_ServiceGroupIndicator_h
Index: RTI_LogicalTimeIntervalFactory.h
===================================================================
RCS file: RTI_LogicalTimeIntervalFactory.h
diff -N RTI_LogicalTimeIntervalFactory.h
--- RTI_LogicalTimeIntervalFactory.h 30 Sep 2008 13:52:38 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,29 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_LogicalTimeIntervalFactory.h
-***********************************************************************/
-#ifndef RTI_LogicalTimeIntervalFactory_h
-#define RTI_LogicalTimeIntervalFactory_h
-// The classes associated with logical time allow a federation to provide
-// their own representation for logical time and logical time interval. The
-// federation is responsible to inherit from the abstract classes declared
-// below. The encoded time classes are used to hold the arbitrary bit
-// representation of the logical time and logical time intervals.
-class RTI_EXPORT RTI_LogicalTimeIntervalFactory
-{
- public:
- virtual
- ~RTI_LogicalTimeIntervalFactory()
- throw ();
- virtual
- RTI_auto_ptr< RTI_LogicalTimeInterval >
- makeZero() = 0;
- virtual
- RTI_auto_ptr< RTI_LogicalTimeInterval >
- epsilon() = 0;
- virtual
- RTI_auto_ptr< RTI_LogicalTimeInterval >
- decode(RTI_EncodedLogicalTimeInterval const & encodedLogicalTimeInterval)
- throw (RTI_CouldNotDecode) = 0;
-};
-#endif // RTI_LogicalTimeIntervalFactory_h
Index: RTI_EncodedLogicalTimeInterval.h
===================================================================
RCS file: RTI_EncodedLogicalTimeInterval.h
diff -N RTI_EncodedLogicalTimeInterval.h
--- RTI_EncodedLogicalTimeInterval.h 30 Sep 2008 13:52:40 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_EncodedLogicalTimeInterval.h
-***********************************************************************/
-#ifndef RTI_EncodedLogicalTimeInterval_h
-#define RTI_EncodedLogicalTimeInterval_h
-#include <RTI_SpecificConfig.h>
-class RTI_EncodedLogicalTimeInterval
-{
-public:
- virtual ~RTI_EncodedLogicalTimeInterval() throw () {}
- virtual voidconst * data() const = 0;
- virtual size_tsize() const = 0;
-};
-#endif // RTI_EncodedLogicalTimeInterval_h
-
Index: RTI_TransportationType.h
===================================================================
RCS file: RTI_TransportationType.h
diff -N RTI_TransportationType.h
--- RTI_TransportationType.h 30 Sep 2008 13:52:38 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,56 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_TransportationType.h
-***********************************************************************/
-#ifndef RTI_TransportationType_h
-#define RTI_TransportationType_h
-class RTI_bool;
-#include <RTI_SpecificConfig.h>
-#include <RTI_SpecificTypedefs.h> // for RTI_EncodedData
-#include <RTI_string>
-// Type safe class used to represent type of data transportation.
-class RTI_EXPORT RTI_TransportationType
-{
- public:
- RTI_TransportationType(RTI_EncodedData const & rhs);
- RTI_TransportationType(RTI_TransportationType const & rhs)
- throw ();
- static
- RTI_TransportationType const
- reliable()
- throw();
- static
- RTI_TransportationType const
- bestEffort()
- throw();
- RTI_TransportationType &
- operator =(RTI_TransportationType const & rhs)
- throw();
- RTI_bool
- operator ==(RTI_TransportationType const & rhs) const
- throw();
- RTI_bool
- operator !=(RTI_TransportationType const & rhs) const
- throw();
- RTI_wstring const
- toString() const;
- RTI_EncodedData
- encode() const
- throw();
- private:
- RTI_TransportationType(unsigned transportationType)
- throw();
- unsigned _transportationType;
-};
-// These constants save a little typing for users.
-// They can be used much like a enum, but in a type-safe way
-RTI_TransportationType const
-RTI_RELIABLE =
-RTI_TransportationType::reliable();
-RTI_TransportationType const
-RTI_BEST_EFFORT =
-RTI_TransportationType::bestEffort();
-#ifdef RTI_USE_INLINE
-#include "RTI_TransportationType.i"
-#endif // RTI_USE_INLINE
-#endif // RTI_TransportationType_h
Index: RTI_SaveFailureReason.h
===================================================================
RCS file: RTI_SaveFailureReason.h
diff -N RTI_SaveFailureReason.h
--- RTI_SaveFailureReason.h 30 Sep 2008 13:52:41 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,62 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_SaveFailureReason.h
-***********************************************************************/
-#ifndef RTI_SaveFailureReason_h
-#define RTI_SaveFailureReason_h
-class RTI_bool;
-#include <RTI_SpecificConfig.h>
-#include <RTI_string>
-// Type safe class used to represent type of data order.
-class RTI_EXPORT RTI_SaveFailureReason
-{
- public:
- RTI_SaveFailureReason(RTI_SaveFailureReason const & rhs);
- static
- RTI_SaveFailureReason const
- rtiUnableToSave();
- static
- RTI_SaveFailureReason const
- federateReportedFailureDuringSave();
- static
- RTI_SaveFailureReason const
- federateResignedDuringSave();
- static
- RTI_SaveFailureReason const
- rtiDetectedFailureDuringSave();
- static
- RTI_SaveFailureReason const
- saveTimeCannotBeHonored();
- RTI_SaveFailureReason &
- operator=(RTI_SaveFailureReason const & rhs);
- RTI_bool
- operator==(RTI_SaveFailureReason const & rhs) const;
- RTI_bool
- operator!=(RTI_SaveFailureReason const & rhs) const;
- RTI_wstring const
- toString() const;
- private:
- RTI_SaveFailureReason(unsigned saveFailureReason);
- unsigned _saveFailureReason;
-};
-// These constants save a little typing for users.
-// They can be used much like a enum, but in a type-safe way
-RTI_SaveFailureReason const
-RTI_RTI_UNABLE_TO_SAVE =
-RTI_SaveFailureReason::rtiUnableToSave();
-RTI_SaveFailureReason const
-RTI_FEDERATE_REPORTED_FAILURE_DURING_SAVE =
-RTI_SaveFailureReason::federateReportedFailureDuringSave();
-RTI_SaveFailureReason const
-RTI_FEDERATE_RESIGNED_DURING_SAVE =
-RTI_SaveFailureReason::federateResignedDuringSave();
-RTI_SaveFailureReason const
-RTI_RTI_DETECTED_FAILURE_DURING_SAVE =
-RTI_SaveFailureReason::rtiDetectedFailureDuringSave();
-RTI_SaveFailureReason const
-RTI_SAVE_TIME_CANNOT_BE_HONORED =
-RTI_SaveFailureReason::saveTimeCannotBeHonored();
-#ifdef RTI_USE_INLINE
-#include "RTI_SaveFailureReason.i"
-#endif // RTI_USE_INLINE
-#endif // RTI_SaveFailureReason_h
Index: RTI_OrderType.h
===================================================================
RCS file: RTI_OrderType.h
diff -N RTI_OrderType.h
--- RTI_OrderType.h 30 Sep 2008 13:52:39 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,56 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_OrderType.h
-***********************************************************************/
-#ifndef RTI_OrderType_h
-#define RTI_OrderType_h
-class RTI_bool;
-#include <RTI_SpecificConfig.h>
-#include <RTI_SpecificTypedefs.h> // for RTI_EncodedData
-#include <RTI_string>
-// Type safe class used to represent type of data order.
-class RTI_EXPORT RTI_OrderType
-{
- public:
- RTI_OrderType(RTI_EncodedData const & theEncodedOrderType);
- RTI_OrderType(RTI_OrderType const & rhs)
- throw();
- static
- RTI_OrderType const
- receive()
- throw();
- static
- RTI_OrderType const
- timestamp()
- throw();
- RTI_OrderType &
- operator=(RTI_OrderType const & rhs)
- throw ();
- RTI_bool
- operator==(RTI_OrderType const & rhs) const
- throw();
- RTI_bool
- operator!=(RTI_OrderType const & rhs) const
- throw();
- RTI_wstring const
- toString() const;
- RTI_EncodedData
- encode() const
- throw();
- private:
- RTI_OrderType(unsigned orderType)
- throw();
- unsigned _orderType;
-};
-// These constants save a little typing for users.
-// They can be used much like a enum, but in a type-safe way
-RTI_OrderType const
-RTI_RECEIVE =
-RTI_OrderType::receive();
-RTI_OrderType const
-RTI_TIMESTAMP =
-RTI_OrderType::timestamp();
-#ifdef RTI_USE_INLINE
-#include "RTI_OrderType.i"
-#endif // RTI_USE_INLINE
-#endif // RTI_OrderType_h
Index: RTI_bool.h
===================================================================
RCS file: RTI_bool.h
diff -N RTI_bool.h
--- RTI_bool.h 30 Sep 2008 13:52:41 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,41 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_bool.h
-***********************************************************************/
-#ifndef RTI_bool_h
-#define RTI_bool_h
-#include <RTI_SpecificConfig.h>
-#include <RTI_string>
-// This is a type-safe boolean class.Not all platforms support the bool
-// type. Consequently, one must be provided.
-//
-class RTI_EXPORT RTI_bool
-{
- public:
- RTI_bool();
- RTI_bool(unsigned boolean);
- RTI_bool(RTI_bool const & b);
- ~RTI_bool()
- throw();
- static
- RTI_bool const
- True();
- static
- RTI_bool const
- False();
- operator unsigned() const;
- RTI_bool const
- operator==(RTI_bool const & rhs) const;
- RTI_bool const
- operator!=(RTI_bool const & rhs) const;
- RTI_wstring
- toString() const;
- private:
-unsigned _boolean;
-};
-#ifdef RTI_USE_INLINE
-#include "RTI_bool.i"
-#endif // RTI_USE_INLINE
-RTI_bool const RTI_true= RTI_bool::True();
-RTI_bool const RTI_false = RTI_bool::False();
-#endif // RTI_bool_h
Index: RTI_LogicalTimeInterval.h
===================================================================
RCS file: RTI_LogicalTimeInterval.h
diff -N RTI_LogicalTimeInterval.h
--- RTI_LogicalTimeInterval.h 30 Sep 2008 13:52:41 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,64 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_LogicalTimeInterval.h
-***********************************************************************/
-#ifndef RTI_LogicalTimeInterval_h
-#define RTI_LogicalTimeInterval_h
-// The classes associated with logical time allow a federation to provide
-// their own representation for logical time and logical time interval. The
-// federation is responsible to inherit from the abstract classes declared
-// below. The encoded time classes are used to hold the arbitrary bit
-// representation of the logical time and logical time intervals.
-#include <RTI_memory>
-class RTI_EncodedLogicalTimeInterval;
-class RTI_EXPORT RTI_LogicalTimeInterval
-{
- public:
- virtual
- ~RTI_LogicalTimeInterval()
- throw ();
- virtual
- void
- setZero() = 0;
- virtual
- RTI_bool
- isZero() = 0;
- virtual
- RTI_bool
- isEpsilon() = 0;
- virtual
- void
- setTo(RTI_LogicalTimeInterval const & value)
- throw (RTI_InvalidLogicalTimeInterval) = 0;
- virtual
- RTI_auto_ptr< RTI_LogicalTimeInterval >
- subtract(RTI_LogicalTimeInterval const & subtrahend) const
- throw (RTI_InvalidLogicalTimeInterval) = 0;
- virtual
- RTI_bool
- isGreaterThan(RTI_LogicalTimeInterval const & value) const
- throw (RTI_InvalidLogicalTimeInterval) = 0;
- virtual
- RTI_bool
- isLessThan(RTI_LogicalTimeInterval const & value) const
- throw (RTI_InvalidLogicalTimeInterval) = 0;
- virtual
- RTI_bool
- isEqualTo(RTI_LogicalTimeInterval const & value) const
- throw (RTI_InvalidLogicalTimeInterval) = 0;
- virtual
- RTI_bool
- isGreaterThanOrEqualTo(RTI_LogicalTimeInterval const & value) const
- throw (RTI_InvalidLogicalTimeInterval) = 0;
- virtual
- RTI_bool
- isLessThanOrEqualTo(RTI_LogicalTimeInterval const & value) const
- throw (RTI_InvalidLogicalTimeInterval) = 0;
- virtual
- RTI_auto_ptr< RTI_EncodedLogicalTimeInterval >
- encode() const = 0;
- virtual
- RTI_wstring
- toString() const = 0;
-};
-#endif // RTI_LogicalTimeInterval_h
Index: RTI_EncodedLogicalTime.h
===================================================================
RCS file: RTI_EncodedLogicalTime.h
diff -N RTI_EncodedLogicalTime.h
--- RTI_EncodedLogicalTime.h 30 Sep 2008 13:52:39 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_EncodedLogicalTime.h
-***********************************************************************/
-#ifndef RTI_EncodedLogicalTime_h
-#define RTI_EncodedLogicalTime_h
-#include <RTI_SpecificConfig.h>
-class RTI_EncodedLogicalTime
-{
-public:
- virtual ~RTI_EncodedLogicalTime() throw () {}
- virtual voidconst * data() const = 0;
- virtual size_tsize() const = 0;
-};
-#endif // RTI_EncodedLogicalTime_h
Index: RTI_exception.h
===================================================================
RCS file: RTI_exception.h
diff -N RTI_exception.h
--- RTI_exception.h 30 Sep 2008 13:52:38 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,138 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_exception.h
-***********************************************************************/
-#ifndefRTI_exception_h
-#defineRTI_exception_h
-#include <RTI_SpecificConfig.h>
-// The RTI_exception class follows the interface of the C++ standard exception
-// class.The key method, what, returns a null terminated character string that
-// describes details of the exception that has occured.
-class RTI_exception
-{
-public:
- RTI_exception();
- RTI_exception(RTI_exception const & rhs);
- RTI_exception &
- operator=(RTI_exception const & rhs);
- virtual
- ~RTI_exception()
- throw();
- virtual
- char const *
- what() const
- throw() = 0;
-};
-#include <RTI_string>
-#define RTI_EXCEPTION(A) class A : public RTI_exception { public: A(RTI_string
-const & message) throw(); A(A const & rhs) throw(); A & operator=(A const &)
-throw(); virtual ~A() throw(); virtual char const * what() const throw(); pri-
-vate: RTI_string _msg; };
-RTI_EXCEPTION(RTI_ArrayIndexOutOfBounds)
-RTI_EXCEPTION(RTI_AsynchronousDeliveryAlreadyDisabled)
-RTI_EXCEPTION(RTI_AsynchronousDeliveryAlreadyEnabled)
-RTI_EXCEPTION(RTI_AttributeAcquisitionWasNotCanceled)
-RTI_EXCEPTION(RTI_AttributeAcquisitionWasNotRequested)
-RTI_EXCEPTION(RTI_AttributeAlreadyBeingAcquired)
-RTI_EXCEPTION(RTI_AttributeAlreadyBeingDivested)
-RTI_EXCEPTION(RTI_AttributeAlreadyOwned)
-RTI_EXCEPTION(RTI_AttributeDivestitureWasNotRequested)
-RTI_EXCEPTION(RTI_AttributeNotDefined)
-RTI_EXCEPTION(RTI_AttributeNotOwned)
-RTI_EXCEPTION(RTI_AttributeNotPublished)
-RTI_EXCEPTION(RTI_AttributeNotRecognized)
-RTI_EXCEPTION(RTI_AttributeNotSubscribed)
-RTI_EXCEPTION(RTI_AttributeRelevanceAdvisorySwitchIsOff)
-RTI_EXCEPTION(RTI_AttributeRelevanceAdvisorySwitchIsOn)
-RTI_EXCEPTION(RTI_AttributeScopeAdvisorySwitchIsOff)
-RTI_EXCEPTION(RTI_AttributeScopeAdvisorySwitchIsOn)
-RTI_EXCEPTION(RTI_CouldNotDecode)
-RTI_EXCEPTION(RTI_CouldNotDiscover)
-RTI_EXCEPTION(RTI_CouldNotOpenFDD)
-RTI_EXCEPTION(RTI_CouldNotInitiateRestore)
-RTI_EXCEPTION(RTI_DeletePrivilegeNotHeld)
-RTI_EXCEPTION(RTI_RequestForTimeConstrainedPending)
-RTI_EXCEPTION(RTI_NoRequestToEnableTimeConstrainedWasPending)
-RTI_EXCEPTION(RTI_RequestForTimeRegulationPending)
-RTI_EXCEPTION(RTI_NoRequestToEnableTimeRegulationWasPending)
-RTI_EXCEPTION(RTI_ErrorReadingFDD)
-RTI_EXCEPTION(RTI_FederateAlreadyExecutionMember)
-RTI_EXCEPTION(RTI_FederateHasNotBegunSave)
-RTI_EXCEPTION(RTI_FederateInternalError)
-RTI_EXCEPTION(RTI_FederateNotExecutionMember)
-RTI_EXCEPTION(RTI_FederateOwnsAttributes)
-RTI_EXCEPTION(RTI_FederateServiceInvocationsAreBeingReportedViaMOM)
-RTI_EXCEPTION(RTI_FederateUnableToUseTime)
-RTI_EXCEPTION(RTI_FederatesCurrentlyJoined)
-RTI_EXCEPTION(RTI_FederationExecutionAlreadyExists)
-RTI_EXCEPTION(RTI_FederationExecutionDoesNotExist)
-RTI_EXCEPTION(RTI_IllegalName)
-RTI_EXCEPTION(RTI_IllegalTimeArithmetic)
-RTI_EXCEPTION(RTI_InteractionClassNotDefined)
-RTI_EXCEPTION(RTI_InteractionClassNotPublished)
-RTI_EXCEPTION(RTI_InteractionClassNotRecognized)
-RTI_EXCEPTION(RTI_InteractionClassNotSubscribed)
-RTI_EXCEPTION(RTI_InteractionParameterNotDefined)
-RTI_EXCEPTION(RTI_InteractionParameterNotRecognized)
-RTI_EXCEPTION(RTI_InteractionRelevanceAdvisorySwitchIsOff)
-RTI_EXCEPTION(RTI_InteractionRelevanceAdvisorySwitchIsOn)
-RTI_EXCEPTION(RTI_InTimeAdvancingState)
-RTI_EXCEPTION(RTI_InvalidAttributeHandle)
-RTI_EXCEPTION(RTI_InvalidDimensionHandle)
-RTI_EXCEPTION(RTI_InvalidInteractionClassHandle)
-RTI_EXCEPTION(RTI_InvalidLogicalTime)
-RTI_EXCEPTION(RTI_InvalidLogicalTimeInterval)
-RTI_EXCEPTION(RTI_InvalidLookahead)
-RTI_EXCEPTION(RTI_InvalidObjectClassHandle)
-RTI_EXCEPTION(RTI_InvalidOrderName)
-RTI_EXCEPTION(RTI_InvalidOrderType)
-RTI_EXCEPTION(RTI_InvalidParameterHandle)
-RTI_EXCEPTION(RTI_InvalidRangeBounds)
-RTI_EXCEPTION(RTI_InvalidRegion)
-RTI_EXCEPTION(RTI_InvalidRegionContext)
-RTI_EXCEPTION(RTI_InvalidRetractionHandle)
-RTI_EXCEPTION(RTI_InvalidString)
-RTI_EXCEPTION(RTI_InvalidTransportationName)
-RTI_EXCEPTION(RTI_InvalidTransportationType)
-RTI_EXCEPTION(RTI_JoinedFederateIsNotInTimeAdvancingState)
-RTI_EXCEPTION(RTI_LogicalTimeAlreadyPassed)
-RTI_EXCEPTION(RTI_LowerBoundOutOfRange)
-RTI_EXCEPTION(RTI_MessageCanNoLongerBeRetracted)
-RTI_EXCEPTION(RTI_NameNotFound)
-RTI_EXCEPTION(RTI_ObjectClassNotDefined)
-RTI_EXCEPTION(RTI_ObjectClassNotKnown)
-RTI_EXCEPTION(RTI_ObjectClassNotPublished)
-RTI_EXCEPTION(RTI_ObjectClassNotSubscribed)
-RTI_EXCEPTION(RTI_ObjectClassRelevanceAdvisorySwitchIsOff)
-RTI_EXCEPTION(RTI_ObjectClassRelevanceAdvisorySwitchIsOn)
-RTI_EXCEPTION(RTI_ObjectInstanceNameInUse)
-RTI_EXCEPTION(RTI_ObjectInstanceNameNotReserved)
-RTI_EXCEPTION(RTI_ObjectInstanceNotKnown)
-RTI_EXCEPTION(RTI_OwnershipAcquisitionPending)
-RTI_EXCEPTION(RTI_RTIinternalError)
-RTI_EXCEPTION(RTI_RegionDoesNotContainSpecifiedDimension)
-RTI_EXCEPTION(RTI_RegionInUseForUpdateOrSubscription)
-RTI_EXCEPTION(RTI_RegionNotCreatedByThisFederate)
-RTI_EXCEPTION(RTI_RestoreInProgress)
-RTI_EXCEPTION(RTI_RestoreNotInProgress)
-RTI_EXCEPTION(RTI_RestoreNotRequested)
-RTI_EXCEPTION(RTI_SaveInProgress)
-RTI_EXCEPTION(RTI_SaveNotInitiated)
-RTI_EXCEPTION(RTI_SaveNotInProgress)
-RTI_EXCEPTION(RTI_SpecifiedSaveLabelDoesNotExist)
-RTI_EXCEPTION(RTI_SynchronizationPointLabelNotAnnounced)
-RTI_EXCEPTION(RTI_SynchronizationSetMemberNotJoined)
-RTI_EXCEPTION(RTI_TimeConstrainedAlreadyEnabled)
-RTI_EXCEPTION(RTI_TimeConstrainedIsNotEnabled)
-RTI_EXCEPTION(RTI_TimeRegulationAlreadyEnabled)
-RTI_EXCEPTION(RTI_TimeRegulationIsNotEnabled)
-RTI_EXCEPTION(RTI_UnableToPerformSave)
-RTI_EXCEPTION(RTI_UnknownName)
-RTI_EXCEPTION(RTI_UpperBoundOutOfRange)
-RTI_EXCEPTION(RTI_ValueCountExceeded)
-RTI_EXCEPTION(RTI_ValueLengthExceeded)
-#undef RTI_EXCEPTION
-#ifdef RTI_USE_INLINE
-#include "RTI_exception.i"
-#endif // RTI_USE_INLINE
-#endif // RTI_exception_h
Index: RTI_RangeBounds.h
===================================================================
RCS file: RTI_RangeBounds.h
diff -N RTI_RangeBounds.h
--- RTI_RangeBounds.h 30 Sep 2008 13:52:39 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,34 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_RangeBounds.h
-***********************************************************************/
-#ifndef RTI_RangeBounds_h
-#define RTI_RangeBounds_h
-#include <RTI_SpecificConfig.h>
-class RTI_EXPORT RTI_RangeBounds
-{
-public:
- RTI_RangeBounds();
- RTI_RangeBounds(unsigned long lowerBound,
- unsigned long upperBound);
- ~RTI_RangeBounds()
- throw ();
- RTI_RangeBounds(RTI_RangeBounds const & rhs);
- RTI_RangeBounds &
- operator=(RTI_RangeBounds const & rhs);
- unsigned long
- getLowerBound() const;
- unsigned long
- getUpperBound() const;
- void
- setLowerBound(unsigned long lowerBound);
- void
- setUpperBound(unsigned long upperBound);
- private:
- unsigned long _lowerBound;
- unsigned long _upperBound;
-};
-#ifdef RTI_USE_INLINE
-#include "RTI_RangeBounds.i"
-#endif // RTI_USE_INLINE
-#endif // RTI_RangeBounds_h
Index: RTI_Value.h
===================================================================
RCS file: RTI_Value.h
diff -N RTI_Value.h
--- RTI_Value.h 30 Sep 2008 13:52:40 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,40 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_Value.h
-***********************************************************************/
-#ifndef RTI_Value_h
-#define RTI_Value_h
-#include <RTI_SpecificConfig.h>
-// The RTI_Value class is used to as a generic value holder that contains a
-// pointer to the memory location and the size of the value. This class is
-// used for attributes, parameters, and user supplied tags.The constructor
-// takes a pointer to the data value and the size of the data. The key methods
-// on this class is the data method which returns a constant pointer to the
-// value memory location, and the size method which returns the size in bytes
-// of the value. The templatized class T provides RTI implementations the
-// ability to customize their particular implementation. The int template type
-// parameter provides the ability to support strong typing.
-template < class T, int i >
-RTI_EXPORT class RTI_Value
-{
-public:
- RTI_Value (void const * data, size_t size);
- ~RTI_Value()
- throw ();
- RTI_Value(RTI_Value const & rhs);
- RTI_Value &
- operator=(RTI_Value const & rhs);
- void const *
- data() const;
- size_t
- size() const;
-private:
- T _impl;
-};
-#ifdef RTI_USE_INLINE
-#include "RTI_Value.i"
-#endif // RTI_USE_INLINE
-#ifdef RTI_TEMPLATES_REQUIRE_SOURCE
-#include "RTI_Value.cpp"
-#endif // RTI_TEMPLATES_REQUIRE_SOURCE
-#endif // RTI_Value_h
Index: RTI_string.h
===================================================================
RCS file: RTI_string.h
diff -N RTI_string.h
--- RTI_string.h 30 Sep 2008 13:52:40 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,5 +0,0 @@
-#ifndef RTI_string_h
-#define RTI_string_h
-#include <string>
-typedef std::string RTI_string;
-#endif // RTI_string_h
Index: RTI_ResignAction.h
===================================================================
RCS file: RTI_ResignAction.h
diff -N RTI_ResignAction.h
--- RTI_ResignAction.h 30 Sep 2008 13:52:40 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,69 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_ResignAction.h
-***********************************************************************/
-#ifndef RTI_ResignAction_h
-#define RTI_ResignAction_h
-class RTI_bool;
-#include <RTI_SpecificConfig.h>
-#include <RTI_string>
-// Type safe class used to represent action taken on resign.
-class RTI_EXPORT RTI_ResignAction
-{
-public:
- RTI_ResignAction(RTI_ResignAction const & rhs);
- static
- RTI_ResignAction const
- unconditionallyDivestAttributes();
- static
- RTI_ResignAction const
- deleteObjects();
- static
- RTI_ResignAction const
- cancelPendingOwnershipAcquisitions();
- static
- RTI_ResignAction const
- deleteObjectsThenDivest();
- static
- RTI_ResignAction const
- cancelThenDeleteThenDivest();
- static
- RTI_ResignAction const
- noAction();
- RTI_ResignAction &
- operator=(RTI_ResignAction const & rhs);
- RTI_bool
- operator==(RTI_ResignAction const & rhs) const;
- RTI_bool
- operator!=(RTI_ResignAction const & rhs) const;
- RTI_wstring const
- toString() const;
- private:
- RTI_ResignAction(unsigned _resignAction);
- unsigned _resignAction;
-};
-
-// These constants save a little typing for users.
-// They can be used much like a enum, but in a type-safe way
-RTI_ResignAction const
-RTI_UNCONDITIONALLY_DIVEST_ATTRIBUTES
-= RTI_ResignAction::unconditionallyDivestAttributes();
-RTI_ResignAction const
-RTI_DELETE_OBJECTS
-= RTI_ResignAction::deleteObjects();
-RTI_ResignAction const
-RTI_CANCEL_PENDING_OWNERSHIP_ACQUISITIONS
-= RTI_ResignAction::cancelPendingOwnershipAcquisitions();
-RTI_ResignAction const
-RTI_DELETE_OBJECTS_THEN_DIVEST
-= RTI_ResignAction::deleteObjectsThenDivest();
-RTI_ResignAction const
-RTI_CANCEL_THEN_DELETE_THEN_DIVEST
-= RTI_ResignAction::cancelThenDeleteThenDivest();
-RTI_ResignAction const
-RTI_NO_ACTION
-= RTI_ResignAction::noAction();
-#ifdef RTI_USE_INLINE
-#include "RTI_ResignAction.i"
-#endif // RTI_USE_INLINE
-#endif // RTI_ResignAction_h
Index: RTI_1516.h
===================================================================
RCS file: RTI_1516.h
diff -N RTI_1516.h
--- RTI_1516.h 30 Sep 2008 13:52:39 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,50 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_1516.h
-***********************************************************************/
-//
-// This file is simply a convenience provided for those developers that would
-// like to include everything all at once
-//
-#ifndef RTI_1516_h
-#define RTI_1516_h
-// These file include declarations/definitions for ISO 14882 standard C++
-// classes, renamed for portability.
-#include <RTI_string>
-#include <RTI_set>
-#include <RTI_map>
-#include <RTI_vector>
-#include <RTI_memory>
-// This file contains platform specific configuration info.
-#include <RTI_SpecificConfig.h>
-#include <RTI_bool.h>
-// This file contains standard RTI type declarations/definitions.
-#include <RTI_exception.h>
-#include <RTI_Handle.h>
-#include <RTI_Value.h>
-#include <RTI_ResignAction.h>
-#include <RTI_TransportationType.h>
-#include <RTI_OrderType.h>
-#include <RTI_SaveFailureReason.h>
-#include <RTI_SaveStatus.h>
-#include <RTI_SynchronizationFailureReason.h>
-#include <RTI_RestoreStatus.h>
-#include <RTI_RestoreFailureReason.h>
-#include <RTI_ServiceGroupIndicator.h>
-#include <RTI_RangeBounds.h>
-// This file has RTI implementation specific declarations/definitions.
-#include <RTI_SpecificTypedefs.h>
- // This file contains standard RTI type declarations/definitions which depend
on
- // RTI implementation specific declarations/definitions.
- #include <RTI_Typedefs.h>
- #include <RTI_LogicalTime.h>
- #include <RTI_LogicalTimeFactory.h>
- #include <RTI_LogicalTimeInterval.h>
- #include <RTI_LogicalTimeIntervalFactory.h>
- static char const * const HLA_VERSION = "1516.1.5";
- #include <RTI_FederateAmbassador.h>
- #include <RTI_RTIambassador.h>
- // This file provides RTI implementation specific decalarations and
definitions
- // that need to follow the other header files.
- #include <RTI_SpecificPostamble.h>
- #endif // RTI_1516_h
Index: RTI_SynchronizationFailureReason.h
===================================================================
RCS file: RTI_SynchronizationFailureReason.h
diff -N RTI_SynchronizationFailureReason.h
--- RTI_SynchronizationFailureReason.h 30 Sep 2008 13:52:38 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,45 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_SynchronizationFailureReason.h
-***********************************************************************/
-#ifndef RTI_SynchronizationFailureReason_h
-#define RTI_SynchronizationFailureReason_h
-class RTI_bool;
-#include <RTI_SpecificConfig.h>
-#include <RTI_string>
-// Type safe class used to represent type of data order.
-class RTI_EXPORT RTI_SynchronizationFailureReason
-{
- public:
- RTI_SynchronizationFailureReason(RTI_SynchronizationFailureReason
-const & rhs);
- static
- RTI_SynchronizationFailureReason const
- synchronizationPointLabelNotUnique();
- static
- RTI_SynchronizationFailureReason const
- synchronizationSetMemberNotJoined();
- RTI_SynchronizationFailureReason &
- operator=(RTI_SynchronizationFailureReason const & rhs);
- RTI_bool
- operator==(RTI_SynchronizationFailureReason const & rhs) const;
- RTI_bool
- operator!=(RTI_SynchronizationFailureReason const & rhs) const;
- RTI_wstring const
- toString() const;
- private:
- RTI_SynchronizationFailureReason(unsigned SynchronizationFailureReason);
- unsigned _SynchronizationFailureReason;
-};
-// These constants Synchronization a little typing for users.
-// They can be used much like a enum, but in a type-safe way
-RTI_SynchronizationFailureReason const
-RTI_SYNCHRONIZATION_POINT_LABEL_NOT_UNIQUE =
-RTI_SynchronizationFailureReason::synchronizationPointLabelNotUnique();
-RTI_SynchronizationFailureReason const
-RTI_SYNCHRONIZATION_SET_MEMBER_NOT_JOINED =
-RTI_SynchronizationFailureReason::synchronizationSetMemberNotJoined();
-#ifdef RTI_USE_INLINE
-#include "RTI_SynchronizationFailureReason.i"
-#endif // RTI_USE_INLINE
-#endif // RTI_SynchronizationFailureReason_h
Index: RTI_RTIambassadorFactory.h
===================================================================
RCS file: RTI_RTIambassadorFactory.h
diff -N RTI_RTIambassadorFactory.h
--- RTI_RTIambassadorFactory.h 30 Sep 2008 13:52:38 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,27 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_RTIambassadorFactory.h
-***********************************************************************/
-#ifndef RTI_RTIambassadorFactory_h
-#define RTI_RTIambassadorFactory_h
-#include <RTI_memory>
-#include <RTI_vector>
-#include <RTI_string>
-class RTI_RTIinternalError;
-class RTI_RTIambassador;
-class RTI_RTIambassadorFactory
-
-{
-public:
- RTI_RTIambassadorFactory();
- virtual
- ~RTI_RTIambassadorFactory()
- throw ();
- // 10.35
- RTI_auto_ptr< RTI_RTIambassador >
- createRTIambassador(RTI_vector< RTI_wstring,
- RTI___STL_DEFAULT_ALLOCATOR(RTI_wstring) >
- & args)
- throw (RTI_RTIinternalError);
-};
-#endif // RTI_RTIambassadorFactory_h
Index: RTI_RestoreStatus.h
===================================================================
RCS file: RTI_RestoreStatus.h
diff -N RTI_RestoreStatus.h
--- RTI_RestoreStatus.h 30 Sep 2008 13:52:40 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,68 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_RestoreStatus.h
-***********************************************************************/
-#ifndef RTI_RestoreStatus_h
-#define RTI_RestoreStatus_h
-class RTI_bool;
-#include <RTI_SpecificConfig.h>
-#include <RTI_string>
-// Type safe class used to represent save status of an individual federate.
-class RTI_EXPORT RTI_RestoreStatus
-{
-public:
- RTI_RestoreStatus(RTI_RestoreStatus const & rhs);
- static
- RTI_RestoreStatus const
- noRestoreInProgress();
- static
- RTI_RestoreStatus const
- federateRestoreRequestPending();
- static
- RTI_RestoreStatus const
- federateWaitingForRestoreToBegin();
- static
- RTI_RestoreStatus const
- federatePreparedToRestore();
- static
- RTI_RestoreStatus const
- federateRestoring();
- static
- RTI_RestoreStatus const
- federateWaitingForFederationToRestore();
- RTI_RestoreStatus &
- operator=(RTI_RestoreStatus const & rhs);
- RTI_bool
- operator==(RTI_RestoreStatus const & rhs) const;
- RTI_bool
- operator!=(RTI_RestoreStatus const & rhs) const;
- RTI_wstring const
- toString() const;
-private:
- RTI_RestoreStatus(unsigned _RestoreStatus);
- unsigned _RestoreStatus;
-};
-// These constants save a little typing for users.
-// They can be used much like a enum, but in a type-safe way
-RTI_RestoreStatus const
-RTI_NO_RESTORE_IN_PROGRESS
-= RTI_RestoreStatus::noRestoreInProgress();
-RTI_RestoreStatus const
-RTI_FEDERATE_RESTORE_REQUEST_PENDING
-= RTI_RestoreStatus::federateRestoreRequestPending();
-RTI_RestoreStatus const
-RTI_FEDERATE_WAITING_FOR_RESTORE_TO_BEGIN
-= RTI_RestoreStatus::federateWaitingForRestoreToBegin();
-RTI_RestoreStatus const
-RTI_FEDERATE_PREPARED_TO_RESTORE
-= RTI_RestoreStatus::federatePreparedToRestore();
-RTI_RestoreStatus const
-RTI_FEDERATE_RESTORING
-= RTI_RestoreStatus::federateRestoring();
-RTI_RestoreStatus const
-RTI_FEDERATE_WAITING_FOR_FEDERATION_TO_RESTORE
-= RTI_RestoreStatus::federateWaitingForFederationToRestore();
-#ifdef RTI_USE_INLINE
-#include "RTI_RestoreStatus.i"
-#endif // RTI_USE_INLINE
-#endif // RTI_RestoreStatus_h
Index: RTI_SaveStatus.h
===================================================================
RCS file: RTI_SaveStatus.h
diff -N RTI_SaveStatus.h
--- RTI_SaveStatus.h 30 Sep 2008 13:52:40 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,56 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_SaveStatus.h
-***********************************************************************/
-#ifndef RTI_SaveStatus_h
-#define RTI_SaveStatus_h
-class RTI_bool;
-#include <RTI_SpecificConfig.h>
-#include <RTI_string>
-// Type safe class used to represent save status of an individual federate.
-class RTI_EXPORT RTI_SaveStatus
-{
-public:
- RTI_SaveStatus(RTI_SaveStatus const & rhs);
- static
- RTI_SaveStatus const
- noSaveInProgress();
- static
- RTI_SaveStatus const
- federateInstructedToSave();
- static
- RTI_SaveStatus const
- federateSaving();
- static
- RTI_SaveStatus const
- federateWaitingForFederationToSave();
- RTI_SaveStatus &
- operator=(RTI_SaveStatus const & rhs);
- RTI_bool
- operator==(RTI_SaveStatus const & rhs) const;
- RTI_bool
- operator!=(RTI_SaveStatus const & rhs) const;
- RTI_wstring const
- toString() const;
- private:
- RTI_SaveStatus(unsigned _SaveStatus);
- unsigned _SaveStatus;
-};
-// These constants save a little typing for users.
-// They can be used much like a enum, but in a type-safe way
-RTI_SaveStatus const
-RTI_NO_SAVE_IN_PROGRESS
-= RTI_SaveStatus::noSaveInProgress();
-RTI_SaveStatus const
-RTI_FEDERATE_INSTRUCTED_TO_SAVE
-= RTI_SaveStatus::federateInstructedToSave();
-RTI_SaveStatus const
-RTI_FEDERATE_SAVING
-= RTI_SaveStatus::federateSaving();
-RTI_SaveStatus const
-RTI_FEDERATE_WAITING_FOR_FEDERATION_TO_SAVE
-= RTI_SaveStatus::federateWaitingForFederationToSave();
-#ifdef RTI_USE_INLINE
-#include "RTI_SaveStatus.i"
-#endif // RTI_USE_INLINE
-#endif // RTI_SaveStatus_h
Index: RTI_FederateAmbassador.h
===================================================================
RCS file: RTI_FederateAmbassador.h
diff -N RTI_FederateAmbassador.h
--- RTI_FederateAmbassador.h 30 Sep 2008 13:52:39 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,576 +0,0 @@
-/***********************************************************************
- IEEE 1516.1 High Level Architecture Interface Specification C++ API
- File: RTI_FederateAmbassador.h
-***********************************************************************/
-// This is a pure abstract interface that must be implemented by the
-// federate to receive callbacks from the RTI.
-#ifndef RTI_FederateAmbassador_h
-#define RTI_FederateAmbassador_h
-//
-// These forward declarations significantly decrease compilation time when only
-// including this file
-//
-class RTI_AttributeAcquisitionWasNotCanceled;
-class RTI_AttributeAcquisitionWasNotRequested;
-class RTI_AttributeAlreadyOwned;
-class RTI_AttributeDivestitureWasNotRequested;
-class RTI_AttributeNotOwned;
-class RTI_AttributeNotPublished;
-class RTI_AttributeNotRecognized;
-class RTI_AttributeNotRecognized;
-class RTI_AttributeNotSubscribed;
-class RTI_CouldNotDiscover;
-class RTI_CouldNotInitiateRestore;
-class RTI_FederateInternalError;
-class RTI_InteractionClassNotPublished;
-class RTI_InteractionClassNotRecognized;
-class RTI_InteractionClassNotSubscribed;
-class RTI_InteractionParameterNotRecognized;
-class RTI_InvalidLogicalTime;
-class RTI_JoinedFederateIsNotInTimeAdvancingState;
-class RTI_LogicalTime;
-class RTI_NoRequestToEnableTimeConstrainedWasPending;
-class RTI_NoRequestToEnableTimeRegulationWasPending;
-class RTI_ObjectClassNotKnown;
-class RTI_ObjectClassNotPublished;
-class RTI_ObjectInstanceNotKnown;
-class RTI_OrderType;
-class RTI_SpecifiedSaveLabelDoesNotExist;
-class RTI_TransportationType;
-class RTI_UnableToPerformSave;
-class RTI_UnknownName;
-#include <RTI_SpecificConfig.h>
-#include <RTI_memory>
-#include <RTI_SynchronizationFailureReason.h>
-#include <RTI_RestoreFailureReason.h>
-#include <RTI_SaveFailureReason.h>
-#include <RTI_SaveStatus.h>
-#include <RTI_RestoreStatus.h>
-#include <RTI_Typedefs.h>
-class RTI_FederateAmbassador
-{
-public:
- RTI_FederateAmbassador()
- throw (RTI_FederateInternalError);
- virtual
- ~RTI_FederateAmbassador()
- throw ();
- // 4.7
- virtual
- void
- synchronizationPointRegistrationSucceeded(RTI_wstring const & label)
- throw (RTI_FederateInternalError) = 0;
- virtual
- void
- synchronizationPointRegistrationFailed(RTI_wstring const & label,
- RTI_SynchronizationFailureReason theReason)
- throw (RTI_FederateInternalError) = 0;
- // 4.8
- virtual
- void
- announceSynchronizationPoint(RTI_wstringconst & label,
- RTI_UserSuppliedTag const &
theUserSuppliedTag)
- throw (RTI_FederateInternalError) = 0;
- // 4.10
- virtual
- void
- federationSynchronized(RTI_wstring const & label)
- throw (RTI_FederateInternalError) = 0;
- // 4.12
- virtual
- void
- initiateFederateSave(RTI_wstring const & label)
- throw (RTI_UnableToPerformSave,
- RTI_FederateInternalError) = 0;
- virtual
- void
- initiateFederateSave(RTI_wstring const & label,
- RTI_LogicalTime const & theTime)
- throw (RTI_UnableToPerformSave,
- RTI_InvalidLogicalTime,
- RTI_FederateInternalError) = 0;
- // 4.15
- virtual
- void
- federationSaved()
- throw (RTI_FederateInternalError) = 0;
- virtual
- void
- federationNotSaved(RTI_SaveFailureReason theSaveFailureReason)
- throw (RTI_FederateInternalError) = 0;
- // 4.17
- virtual
- void
- federationSaveStatusResponse(RTI_auto_ptr<
- RTI_FederateHandleSaveStatusPairVector > theFederateStatusVector)
- throw (RTI_FederateInternalError) = 0;
- // 4.19
- virtual
- void
- requestFederationRestoreSucceeded(RTI_wstring const & label)
- throw (RTI_FederateInternalError) = 0;
- virtual
- void
- requestFederationRestoreFailed()
- throw (RTI_FederateInternalError) = 0;
- // 4.20
- virtual
- void
- federationRestoreBegun()
- throw (RTI_FederateInternalError) = 0;
- // 4.21
- virtual
- void
- initiateFederateRestore(RTI_wstring const & label,
- RTI_FederateHandle const & handle)
- throw (RTI_SpecifiedSaveLabelDoesNotExist,
- RTI_CouldNotInitiateRestore,
- RTI_FederateInternalError) = 0;
- // 4.23
- virtual
- void
- federationRestored()
- throw (RTI_FederateInternalError) = 0;
- virtual
- void
- federationNotRestored(RTI_RestoreFailureReason theRestoreFailureReason)
- throw (RTI_FederateInternalError) = 0;
- // 4.25
- virtual
- void
- federationRestoreStatusResponse(RTI_auto_ptr<
- RTI_FederateHandleRestoreStatusPairVector > theFederateStatusVector)
- throw (RTI_FederateInternalError) = 0;
- /////////////////////////////////////
- // Declaration Management Services //
- /////////////////////////////////////
- // 5.10
- virtual
- void
- startRegistrationForObjectClass(RTI_ObjectClassHandle const & theClass)
- throw (RTI_ObjectClassNotPublished,
- RTI_FederateInternalError) = 0;
- // 5.11
- virtual
- void
- stopRegistrationForObjectClass(RTI_ObjectClassHandle const & theClass)
- throw (RTI_ObjectClassNotPublished,
- RTI_FederateInternalError) = 0;
- // 5.12
- virtual
- void
- turnInteractionsOn(RTI_InteractionClassHandle const & theHandle)
- throw (RTI_InteractionClassNotPublished,
- RTI_FederateInternalError) = 0;
- // 5.13
- virtual
- void
- turnInteractionsOff(RTI_InteractionClassHandle const & theHandle)
- throw (RTI_InteractionClassNotPublished,
- RTI_FederateInternalError) = 0;
- ////////////////////////////////
- // Object Management Services //
- ////////////////////////////////
- // 6.3
- virtual
- void
- objectInstanceNameReservationSucceeded(RTI_wstring const &
-theObjectInstanceName)
- throw (RTI_UnknownName,
- RTI_FederateInternalError) = 0;
- virtual
- void
- objectInstanceNameReservationFailed(RTI_wstring const & theObjectInstanceName)
- throw (RTI_UnknownName,
- RTI_FederateInternalError) = 0;
- // 6.5
- virtual
- void
- discoverObjectInstance(RTI_ObjectInstanceHandleconst & theObject,
- RTI_ObjectClassHandle const &
theObjectClass,
- RTI_wstring const &
theObjectInstanceName)
- throw (RTI_CouldNotDiscover,
- RTI_ObjectClassNotKnown,
- RTI_FederateInternalError) = 0;
- // 6.7
- virtual
- void
- reflectAttributeValues
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_auto_ptr< RTI_AttributeHandleValueMap >
theAttributeValues,
- RTI_UserSuppliedTag const &
theUserSuppliedTag,
- RTI_OrderType const & sentOrder,
- RTI_TransportationType const & theType)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotRecognized,
- RTI_AttributeNotSubscribed,
- RTI_FederateInternalError) = 0;
- virtual
- void
- reflectAttributeValues
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_auto_ptr< RTI_AttributeHandleValueMap > theAttributeValues,
- RTI_UserSuppliedTag const &
theUserSuppliedTag,
- RTI_OrderType const & sentOrder,
- RTI_TransportationType const & theType,
- RTI_RegionHandleSet const &
theSentRegionHandleSet)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotRecognized,
- RTI_AttributeNotSubscribed,
- RTI_FederateInternalError) = 0;
- virtual
- void
- reflectAttributeValues
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_auto_ptr< RTI_AttributeHandleValueMap > theAttributeValues,
- RTI_UserSuppliedTag const & theUserSuppliedTag,
- RTI_OrderType const & sentOrder,
- RTI_TransportationType const & theType,
- RTI_LogicalTime const & theTime,
- RTI_OrderType const & receivedOrder)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotRecognized,
- RTI_AttributeNotSubscribed,
- RTI_FederateInternalError) = 0;
- virtual
- void
- reflectAttributeValues
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_auto_ptr< RTI_AttributeHandleValueMap > theAttributeValues,
- RTI_UserSuppliedTag const & theUserSuppliedTag,
- RTI_OrderType const & sentOrder,
- RTI_TransportationType const & theType,
- RTI_LogicalTime const & theTime,
- RTI_OrderType const & receivedOrder,
- RTI_RegionHandleSet const &
theSentRegionHandleSet)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotRecognized,
- RTI_AttributeNotSubscribed,
- RTI_FederateInternalError) = 0;
- virtual
- void
- reflectAttributeValues
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_auto_ptr< RTI_AttributeHandleValueMap > theAttributeValues,
- RTI_UserSuppliedTag const & theUserSuppliedTag,
- RTI_OrderType const & sentOrder,
- RTI_TransportationType const & theType,
- RTI_LogicalTime const & theTime,
- RTI_OrderType const & receivedOrder,
- RTI_MessageRetractionHandle const & theHandle)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotRecognized,
- RTI_AttributeNotSubscribed,
- RTI_InvalidLogicalTime,
- RTI_FederateInternalError) = 0;
- virtual
- void
- reflectAttributeValues
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_auto_ptr< RTI_AttributeHandleValueMap > theAttributeValues,
- RTI_UserSuppliedTag const & theUserSuppliedTag,
- RTI_OrderType const & sentOrder,
- RTI_TransportationType const & theType,
- RTI_LogicalTime const & theTime,
- RTI_OrderType const & receivedOrder,
- RTI_MessageRetractionHandle const & theHandle,
- RTI_RegionHandleSet const &
theSentRegionHandleSet)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotRecognized,
- RTI_AttributeNotSubscribed,
- RTI_InvalidLogicalTime,
- RTI_FederateInternalError) = 0;
- // 6.9
- virtual
- void
- receiveInteraction
- (RTI_InteractionClassHandle const & theInteraction,
- RTI_auto_ptr< RTI_ParameterHandleValueMap > theParameterValues,
- RTI_UserSuppliedTag const & theUserSuppliedTag,
- RTI_OrderType const & sentOrder,
- RTI_TransportationType const & theType)
- throw (RTI_InteractionClassNotRecognized,
- RTI_InteractionParameterNotRecognized,
- RTI_InteractionClassNotSubscribed,
- RTI_FederateInternalError) = 0;
- virtual
- void
- receiveInteraction
- (RTI_InteractionClassHandle const & theInteraction,
- RTI_auto_ptr< RTI_ParameterHandleValueMap > theParameterValues,
- RTI_UserSuppliedTag const & theUserSuppliedTag,
- RTI_OrderType const & sentOrder,
- RTI_TransportationType const & theType,
- RTI_RegionHandleSet const &
theSentRegionHandleSet)
- throw (RTI_InteractionClassNotRecognized,
- RTI_InteractionParameterNotRecognized,
- RTI_InteractionClassNotSubscribed,
- RTI_FederateInternalError) = 0;
- virtual
- void
- receiveInteraction
- (RTI_InteractionClassHandle const & theInteraction,
- RTI_auto_ptr< RTI_ParameterHandleValueMap > theParameterValues,
- RTI_UserSuppliedTag const & theUserSuppliedTag,
- RTI_OrderType const & sentOrder,
- RTI_TransportationType const & theType,
- RTI_LogicalTime const & theTime,
-RTI_OrderType const & receivedOrder)
- throw (RTI_InteractionClassNotRecognized,
- RTI_InteractionParameterNotRecognized,
- RTI_InteractionClassNotSubscribed,
- RTI_FederateInternalError) = 0;
- virtual
- void
- receiveInteraction
- (RTI_InteractionClassHandle const & theInteraction,
- RTI_auto_ptr< RTI_ParameterHandleValueMap > theParameterValues,
- RTI_UserSuppliedTag const & theUserSuppliedTag,
- RTI_OrderType const & sentOrder,
- RTI_TransportationType const & theType,
- RTI_LogicalTime const & theTime,
- RTI_OrderType const & receivedOrder,
- RTI_RegionHandleSet const &
theSentRegionHandleSet)
- throw (RTI_InteractionClassNotRecognized,
- RTI_InteractionParameterNotRecognized,
- RTI_InteractionClassNotSubscribed,
- RTI_FederateInternalError) = 0;
- virtual
- void
- receiveInteraction
- (RTI_InteractionClassHandle const & theInteraction,
- RTI_auto_ptr< RTI_ParameterHandleValueMap > theParameterValues,
- RTI_UserSuppliedTag const & theUserSuppliedTag,
- RTI_OrderType const & sentOrder,
- RTI_TransportationType const & theType,
- RTI_LogicalTime const & theTime,
- RTI_OrderType const & receivedOrder,
- RTI_MessageRetractionHandle const & theHandle)
- throw (RTI_InteractionClassNotRecognized,
- RTI_InteractionParameterNotRecognized,
- RTI_InteractionClassNotSubscribed,
- RTI_InvalidLogicalTime,
- RTI_FederateInternalError) = 0;
- virtual
- void
- receiveInteraction
- (RTI_InteractionClassHandle const & theInteraction,
- RTI_auto_ptr< RTI_ParameterHandleValueMap > theParameterValues,
- RTI_UserSuppliedTag const & theUserSuppliedTag,
- RTI_OrderType const & sentOrder,
- RTI_TransportationType const & theType,
- RTI_LogicalTime const & theTime,
- RTI_OrderType const & receivedOrder,
- RTI_MessageRetractionHandle const & theHandle,
- RTI_RegionHandleSet const &
theSentRegionHandleSet)
- throw (RTI_InteractionClassNotRecognized,
- RTI_InteractionParameterNotRecognized,
- RTI_InteractionClassNotSubscribed,
- RTI_InvalidLogicalTime,
- RTI_FederateInternalError) = 0;
- // 6.11
- virtual
- void
- removeObjectInstance(RTI_ObjectInstanceHandleconst & theObject,
- RTI_UserSuppliedTag const & theUserSuppliedTag,
- RTI_OrderType const & sentOrder)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_FederateInternalError) = 0;
- virtual
- void
- removeObjectInstance(RTI_ObjectInstanceHandleconst & theObject,
- RTI_UserSuppliedTag const & theUserSuppliedTag,
- RTI_OrderType const & sentOrder,
- RTI_LogicalTime const & theTime,
- RTI_OrderType const & receivedOrder)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_FederateInternalError) = 0;
- virtual
- void
- removeObjectInstance(RTI_ObjectInstanceHandle const & theObject,
- RTI_UserSuppliedTag const &
theUserSuppliedTag,
- RTI_OrderType const & sentOrder,
- RTI_LogicalTime const & theTime,
- RTI_OrderType const & receivedOrder,
- RTI_MessageRetractionHandle const & theHandle)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_InvalidLogicalTime,
- RTI_FederateInternalError) = 0;
- // 6.15
- virtual
- void
- attributesInScope
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_auto_ptr< RTI_AttributeHandleSet > theAttributes)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotRecognized,
- RTI_AttributeNotSubscribed,
- RTI_FederateInternalError) = 0;
- // 6.16
- virtual
- void
- attributesOutOfScope
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_auto_ptr< RTI_AttributeHandleSet > theAttributes)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotRecognized,
- RTI_AttributeNotSubscribed,
- RTI_FederateInternalError) = 0;
- // 6.18
- virtual
- void
- provideAttributeValueUpdate
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_auto_ptr< RTI_AttributeHandleSet > theAttributes,
- RTI_UserSuppliedTag const & theUserSuppliedTag)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotRecognized,
- RTI_AttributeNotOwned,
- RTI_FederateInternalError) = 0;
- // 6.19
- virtual
- void
- turnUpdatesOnForObjectInstance
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_auto_ptr< RTI_AttributeHandleSet > theAttributes)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotRecognized,
- RTI_AttributeNotOwned,
- RTI_FederateInternalError) = 0;
- // 6.20
- virtual
- void
- turnUpdatesOffForObjectInstance
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_auto_ptr< RTI_AttributeHandleSet > theAttributes)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotRecognized,
- RTI_AttributeNotOwned,
- RTI_FederateInternalError) = 0;
- ///////////////////////////////////
- // Ownership Management Services //
- ///////////////////////////////////
- // 7.4
- virtual
- void
- requestAttributeOwnershipAssumption
- (RTI_ObjectInstanceHandle const & theObject,
-RTI_auto_ptr< RTI_AttributeHandleSet > offeredAttributes,
-RTI_UserSuppliedTag const & theUserSuppliedTag)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotRecognized,
- RTI_AttributeAlreadyOwned,
- RTI_AttributeNotPublished,
- RTI_FederateInternalError) = 0;
- // 7.5
- virtual
- void
- requestDivestitureConfirmation
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_auto_ptr< RTI_AttributeHandleSet > releasedAttributes)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotRecognized,
- RTI_AttributeNotOwned,
- RTI_AttributeDivestitureWasNotRequested,
- RTI_FederateInternalError) = 0;
- // 7.7
- virtual
- void
- attributeOwnershipAcquisitionNotification
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_auto_ptr< RTI_AttributeHandleSet > securedAttributes,
- RTI_UserSuppliedTag const & theUserSuppliedTag)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotRecognized,
- RTI_AttributeAcquisitionWasNotRequested,
- RTI_AttributeAlreadyOwned,
- RTI_AttributeNotPublished,
- RTI_FederateInternalError) = 0;
-
- // 7.10
- virtual
- void
- attributeOwnershipUnavailable
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_auto_ptr< RTI_AttributeHandleSet > theAttributes)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotRecognized,
- RTI_AttributeAlreadyOwned,
- RTI_AttributeAcquisitionWasNotRequested,
- RTI_FederateInternalError) = 0;
- // 7.11
- virtual
- void
- requestAttributeOwnershipRelease
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_auto_ptr< RTI_AttributeHandleSet > candidateAttributes,
- RTI_UserSuppliedTag const & theUserSuppliedTag)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotRecognized,
- RTI_AttributeNotOwned,
- RTI_FederateInternalError) = 0;
- // 7.15
- virtual
- void
- confirmAttributeOwnershipAcquisitionCancellation
- (RTI_ObjectInstanceHandle const & theObject,
- RTI_auto_ptr< RTI_AttributeHandleSet > theAttributes)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotRecognized,
- RTI_AttributeAlreadyOwned,
- RTI_AttributeAcquisitionWasNotCanceled,
- RTI_FederateInternalError) = 0;
- // 7.17
- virtual
- void
- informAttributeOwnership(RTI_ObjectInstanceHandle const & theObject,
- RTI_AttributeHandle const & theAttribute,
- RTI_FederateHandle const & theOwner)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotRecognized,
- RTI_FederateInternalError) = 0;
- virtual
- void
- attributeIsNotOwned(RTI_ObjectInstanceHandle const & theObject,
- RTI_AttributeHandle const & theAttribute)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotRecognized,
- RTI_FederateInternalError) = 0;
- virtual
- void
- attributeIsOwnedByRTI(RTI_ObjectInstanceHandle const & theObject,
- RTI_AttributeHandle const & theAttribute)
- throw (RTI_ObjectInstanceNotKnown,
- RTI_AttributeNotRecognized,
- RTI_FederateInternalError) = 0;
- //////////////////////////////
- // Time Management Services //
- //////////////////////////////
- // 8.3
- virtual
- void
- timeRegulationEnabled(RTI_LogicalTime const & theFederateTime)
- throw (RTI_InvalidLogicalTime,
- RTI_NoRequestToEnableTimeRegulationWasPending,
- RTI_FederateInternalError) = 0;
- // 8.6
- virtual
- void
- timeConstrainedEnabled(RTI_LogicalTime const & theFederateTime)
- throw (RTI_InvalidLogicalTime,
- RTI_NoRequestToEnableTimeConstrainedWasPending,
- RTI_FederateInternalError) = 0;
- // 8.13
- virtual
- void
- timeAdvanceGrant(RTI_LogicalTime const & theTime)
- throw (RTI_InvalidLogicalTime,
- RTI_JoinedFederateIsNotInTimeAdvancingState,
- RTI_FederateInternalError) = 0;
- // 8.22
- virtual
- void
- requestRetraction(RTI_MessageRetractionHandle const & theHandle)
- throw (RTI_FederateInternalError) = 0;
-};
-#endif // RTI_FederateAmbassador_h
Index: RTI_map.h
===================================================================
RCS file: RTI_map.h
diff -N RTI_map.h
--- RTI_map.h 30 Sep 2008 13:52:41 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,4 +0,0 @@
-#ifndef RTI_map_h
-#define RTI_map_h
-#include <map>
-#endif // RTI_map_h
Index: RTI_LogicalTime.h
===================================================================
RCS file: RTI_LogicalTime.h
diff -N RTI_LogicalTime.h
--- RTI_LogicalTime.h 30 Sep 2008 13:52:39 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,76 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_LogicalTime.h
-***********************************************************************/
-#ifndef RTI_LogicalTime_h
-#define RTI_LogicalTime_h
-class RTI_LogicalTimeInterval;
-// The classes associated with logical time allow a federation to provide
their
-// own representation for logical time and logical time interval. The
federation
-// is responsible to inherit from the abstract classes declared below. The
-// encoded time classes are used to hold the arbitrary bit representation of
the
-// logical time and logical time intervals.
-#include <RTI_memory>
-class RTI_EncodedLogicalTime;
-class RTI_EXPORT RTI_LogicalTime
-{
- public:
- virtual
- ~RTI_LogicalTime()
- throw ();
- virtual
- void
- setInitial() = 0;
- virtual
- RTI_bool
- isInitial() = 0;
- virtual
- void
- setFinal() = 0;
- virtual
- RTI_bool
- isFinal() = 0;
- virtual
- void
- setTo(RTI_LogicalTime const & value)
- throw (RTI_InvalidLogicalTime) = 0;
- virtual
- void
- increaseBy(RTI_LogicalTimeInterval const & addend)
- throw (RTI_IllegalTimeArithmetic, RTI_InvalidLogicalTimeInterval) = 0;
- virtual
- void
- decreaseBy(RTI_LogicalTimeInterval const & subtrahend)
- throw (RTI_IllegalTimeArithmetic, RTI_InvalidLogicalTimeInterval) = 0;
- virtual
- RTI_auto_ptr< RTI_LogicalTimeInterval >
- subtract(RTI_LogicalTime const & subtrahend) const
- throw (RTI_InvalidLogicalTime) = 0;
- virtual
- RTI_bool
- isGreaterThan(RTI_LogicalTime const & value) const
- throw (RTI_InvalidLogicalTime) = 0;
- virtual
- RTI_bool
- isLessThan(RTI_LogicalTime const & value) const
- throw (RTI_InvalidLogicalTime) = 0;
- virtual
- RTI_bool
- isEqualTo(RTI_LogicalTime const & value) const
- throw (RTI_InvalidLogicalTime) = 0;
- virtual
- RTI_bool
- isGreaterThanOrEqualTo(RTI_LogicalTime const & value) const
- throw (RTI_InvalidLogicalTime) = 0;
- virtual
- RTI_bool
- isLessThanOrEqualTo(RTI_LogicalTime const & value) const
- throw (RTI_InvalidLogicalTime) = 0;
- virtual
- RTI_auto_ptr< RTI_EncodedLogicalTime >
- encode() const = 0;
- virtual
- RTI_wstring
- toString() const = 0;
-};
-#endif // RTI_LogicalTime_h
Index: RTI_memory.h
===================================================================
RCS file: RTI_memory.h
diff -N RTI_memory.h
--- RTI_memory.h 30 Sep 2008 13:52:40 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,4 +0,0 @@
-#ifndef RTI_memory_h
-#define RTI_memory_h
-#include <memory>
-#endif // RTI_memory_h
Index: RTI_LogicalTimeFactory.h
===================================================================
RCS file: RTI_LogicalTimeFactory.h
diff -N RTI_LogicalTimeFactory.h
--- RTI_LogicalTimeFactory.h 30 Sep 2008 13:52:38 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,31 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_LogicalTimeFactory.h
-***********************************************************************/
-#ifndef RTI_LogicalTimeFactory_h
-#define RTI_LogicalTimeFactory_h
-// The classes associated with logical time allow a federation to provide
-// their own representation for logical time and logical time interval. The
-// federation is responsible to inherit from the abstract classes declared
-// below. The encoded time classes are used to hold the arbitrary bit
-// representation of the logical time and logical time intervals.
-class RTI_LogicalTime;
-class RTI_CouldNotDecode;
-class RTI_InternalError;
-class RTI_EXPORT RTI_LogicalTimeFactory
-{
- public:
- virtual
- ~RTI_LogicalTimeFactory()
- throw ();
- virtual
- RTI_auto_ptr< RTI_LogicalTime >
- makeInitial()
- throw (RTI_InternalError) = 0;
- virtual
- RTI_auto_ptr< RTI_LogicalTime >
- decode(RTI_EncodedLogicalTime const & encodedLogicalTime)
- throw (RTI_InternalError,
- RTI_CouldNotDecode) = 0;
-};
-#endif // RTI_LogicalTimeFactory_h
Index: RTI_Typedefs.h
===================================================================
RCS file: RTI_Typedefs.h
diff -N RTI_Typedefs.h
--- RTI_Typedefs.h 30 Sep 2008 13:52:40 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,65 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_Typedefs.h
-***********************************************************************/
-// Purpose: This file contains the standard RTI types that are prefixed
-// with the string "RTI". These definitions/declarations are standard
-// for all RTI implementations.
-//
-// The types declared here require the use of some RTI_Specific types.
-#ifndef RTI_Typedefs_h
-#define RTI_Typedefs_h
-// The following type definitions use standard C++ classes for containers
-// that are used in the RTI API.
-#include <RTI_set>
-#include <RTI_map>
-#include <RTI_vector>
-#include <RTI_SpecificTypedefs.h>
-typedef RTI_set< RTI_AttributeHandle, RTI_less< RTI_AttributeHandle > ,
- RTI___STL_DEFAULT_ALLOCATOR (RTI_AttributeHandle)>
- RTI_AttributeHandleSet;
-typedef RTI_set<RTI_FederateHandle, RTI_less<RTI_FederateHandle > ,
- RTI___STL_DEFAULT_ALLOCATOR (RTI_FederateHandle)>
- RTI_FederateHandleSet;
-typedef RTI_set< RTI_DimensionHandle, RTI_less< RTI_DimensionHandle >,
- RTI___STL_DEFAULT_ALLOCATOR (RTI_DimensionHandle) >
- RTI_DimensionHandleSet;
-typedef RTI_set< RTI_RegionHandle, RTI_less< RTI_RegionHandle >,
- RTI___STL_DEFAULT_ALLOCATOR (RTI_RegionHandle) >
- RTI_RegionHandleSet;
-// RTI_AttributeHandleValueMap implements a constrained set of
-// (attribute handle and value) pairs
-typedef RTI_map< RTI_AttributeHandle, RTI_AttributeValue, RTI_less >
- RTI_AttributeHandle >, RTI___STL_DEFAULT_ALLOCATOR
- (RTI_AttributeHandle) >
- RTI_AttributeHandleValueMap;
-// RTI_ParameterHandleValueMap implements a constrained set of
-// (parameter handle and value) pairs
-typedef RTI_map< RTI_ParameterHandle, RTI_ParameterValue, RTI_less<
- RTI_ParameterHandle >, RTI___STL_DEFAULT_ALLOCATOR
- (RTI_ParameterHandle) >
- RTI_ParameterHandleValueMap;
-// RTI_AttributeHandleSetRegionHandleSetPairVector implements a collection of
-// (attribute handle set and region set) pairs
-typedef RTI_pair< RTI_AttributeHandleSet, RTI_RegionHandleSet >
- RTI_AttributeHandleSetRegionHandleSetPair;
-typedef RTI_vector< RTI_AttributeHandleSetRegionHandleSetPair,
- RTI___STL_DEFAULT_ALLOCATOR
- (RTI_AttributeHandleSetRegionHandleSetPair) >
- RTI_AttributeHandleSetRegionHandleSetPairVector;
-// RTI_FederateHandleSaveStatusPairVector implements a collection of
-// (federate handle and save status) pairs
-typedef RTI_pair< RTI_FederateHandle, RTI_SaveStatus >
- RTI_FederateHandleSaveStatusPair;
-typedef RTI_vector< RTI_FederateHandleSaveStatusPair,
-
RTI___STL_DEFAULT_ALLOCATOR(RTI_FederateHandleSaveStatusPair >
- RTI_FederateHandleSaveStatusPairVector;
-// RTI_FederateHandleRestoreStatusPairVector implements a collection of
-// (federate handle and restore status) pairs
-typedef RTI_pair< RTI_FederateHandle, RTI_RestoreStatus >
- RTI_FederateHandleRestoreStatusPair;
-typedef RTI_vector< RTI_FederateHandleRestoreStatusPair,
- RTI___STL_DEFAULT_ALLOCATOR(RTI_FederateHandleRestore
-StatusPair) >
- RTI_FederateHandleRestoreStatusPairVector;
-#endif // RTI_Typedefs_h
Index: RTI_Handle.h
===================================================================
RCS file: RTI_Handle.h
diff -N RTI_Handle.h
--- RTI_Handle.h 30 Sep 2008 13:52:38 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,58 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_Handle.h
-***********************************************************************/
-#ifndef RTI_Handle_h
-#define RTI_Handle_h
-class RTI_bool;
-#include <RTI_SpecificConfig.h>
-#include <RTI_string>
-// The RTIhandle class is used to provide the common interface to the
different
-// RTI handle types used in the API. This interface includes a constructor,
-// assignment, equality, inequality, and less than operators. The encode
method
-// returns a type safe EncodedHandleClass instance that can be used to
exchange
-// handles between federates as attributes and parameters. The constructor
takes
-// a EncodedHandleClass which enables the type safe creation of a RTIhandle
from
-// encoded data passed to a federate. The template parameter class
-// ImplementationSpecificHandleClass provides RTI implementations the ability
-// to customize a private class member for their particular implementation.The
-// int template type parameter provides the ability to support strong typing.
-template<class ImplementationSpecificHandleClass,
- class EncodedHandleClass,
- class ImplementationSpecificHandleClassFriend,
- int i>
-class RTI_EXPORT RTI_Handle
-{
- public:
- explicit
- RTI_Handle(EncodedHandleClass encodedHandle);
- ~RTI_Handle()
- throw();
- RTI_Handle(RTI_Handle const & rhs);
- RTI_Handle &
- operator=(RTI_Handle const & rhs);
- RTI_bool
- operator==(RTI_Handle const & rhs) const;
- RTI_bool
- operator!=(RTI_Handle const & rhs) const;
- RTI_bool
- operator< (RTI_Handle const & rhs) const;
- EncodedHandleClass
- encode() const;
- RTI_wstring const
- toString() const;
- private:
- ImplementationSpecificHandleClass _impl;
- //
- // This class is the only class which can construct an RTI_Handle
- //
- friend ImplementationSpecificHandleClassFriend;
- RTI_Handle(ImplementationSpecificHandleClass const & impl);
-};
-#ifdef RTI_USE_INLINE
-#include "RTI_Handle.i"
-#endif // RTI_USE_INLINE
-#ifdef RTI_TEMPLATES_REQUIRE_SOURCE
-#include "RTI_Handle.cpp"
-#endif // RTI_TEMPLATES_REQUIRE_SOURCE
-#endif // RTI_Handle_h
Index: RTI_vector.h
===================================================================
RCS file: RTI_vector.h
diff -N RTI_vector.h
--- RTI_vector.h 30 Sep 2008 13:52:39 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,4 +0,0 @@
-#ifndef RTI_vector_h
-#define RTI_vector_h
-#include <vector>
-#endif // RTI_vector_h
Index: RTI_SpecificTypedefs.h
===================================================================
RCS file: RTI_SpecificTypedefs.h
diff -N RTI_SpecificTypedefs.h
--- RTI_SpecificTypedefs.h 30 Sep 2008 13:52:39 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,85 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_SpecificTypedefs.h
-***********************************************************************/
-// Purpose: This file contains definitions for RTI types that are specific to
-// the RTI implementation. The parameterized classes RTI_Handle and RTI_Value
-// enable the RTI implementation to insert a private member. The private
-// member declaration must be exposed in this header file. These
-// implementation specific declarations and definitions should not be
-// utilized since it is non-standard with respect to RTI implementations.
-#ifndef RTI_SpecificTypedefs_h
-#define RTI_SpecificTypedefs_h
-// The following type definitions correspond to standard types used in the API
-// (e.g., FederateHandle) that are described through the use of RTI
-// implementation specific representations.
-//
-// The following definitions represent an example of specific representations
-// that could be used by an RTI implementation.
-#include <RTI_SpecificConfig.h>
-//#include <RTI_Value.h>
-template < class T, int i > class RTI_Value;
-//
-// This class is an example of something that is RTI implementor specific.
-//
-#include <RTI_VariableLengthValueClass.h>
-//
-// The existence of these typedefs is required by the API Specification.
-// However, their particular definition is implementation-specific.RTI-user
-// code merely uses the typedefs. What their underlying type is, however, is up
-// to the RTI implementor.
-//
-typedef RTI_Value< RTI_VariableLengthValueClass, 1 > RTI_AttributeValue;
-typedef RTI_Value< RTI_VariableLengthValueClass, 2 > RTI_ParameterValue;
-typedef RTI_Value< RTI_VariableLengthValueClass, 3 > RTI_UserSuppliedTag;
-typedef RTI_Value< RTI_VariableLengthValueClass, 4 > RTI_EncodedData;
-//
-// The names of these classes are left up to the RTI implementor.
-//
-class RTI_FederateHandleFactory;
-class RTI_ObjectClassHandleFactory;
-class RTI_InteractionClassHandleFactory;
-class RTI_ObjectInstanceHandleFactory;
-class RTI_AttributeHandleFactory;
-class RTI_ParameterHandleFactory;
-class RTI_DimensionHandleFactory;
-class RTI_MessageRetractionHandleFactory;
-class RTI_RegionHandleFactory;
-//#include <RTI_Handle.h>
-template<class ImplementationSpecificHandleClass,
-class EncodedHandleClass,
-class ImplementationSpecificHandleClassFriend,
-inti>
-class RTI_Handle;
-//
-// The existence of these typedefs is required by the API Specification.
-// However, their particular definition is implementation-specific.
-//
-typedef
-RTI_Handle< long, RTI_EncodedData, RTI_FederateHandleFactory, 1 >
-RTI_FederateHandle;
-typedef
-RTI_Handle< long, RTI_EncodedData, RTI_ObjectClassHandleFactory, 2 >
-RTI_ObjectClassHandle;
-typedef
-RTI_Handle< long, RTI_EncodedData, RTI_InteractionClassHandleFactory, 3 >
-RTI_InteractionClassHandle;
-typedef
-RTI_Handle< long, RTI_EncodedData, RTI_ObjectInstanceHandleFactory, 4 >
-RTI_ObjectInstanceHandle;
-typedef
-RTI_Handle< long, RTI_EncodedData, RTI_AttributeHandleFactory, 5 >
-RTI_AttributeHandle;
-typedef
-RTI_Handle< long, RTI_EncodedData, RTI_ParameterHandleFactory, 6 >
-RTI_ParameterHandle;
-typedef
-RTI_Handle< long, RTI_EncodedData, RTI_DimensionHandleFactory, 7 >
-RTI_DimensionHandle;
-typedef
-RTI_Handle< long, RTI_EncodedData, RTI_MessageRetractionHandleFactory, 8 >
-RTI_MessageRetractionHandle;
-typedef
-RTI_Handle< long, RTI_EncodedData, RTI_RegionHandleFactory, 11 >
-RTI_RegionHandle;
-#endif // RTI_SpecificTypedefs_h
Index: RTI_RestoreFailureReason.h
===================================================================
RCS file: RTI_RestoreFailureReason.h
diff -N RTI_RestoreFailureReason.h
--- RTI_RestoreFailureReason.h 30 Sep 2008 13:52:39 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,56 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_RestoreFailureReason.h
-***********************************************************************/
-#ifndef RTI_RestoreFailureReason_h
-#define RTI_RestoreFailureReason_h
-class RTI_bool;
-#include <RTI_SpecificConfig.h>
-#include <RTI_string>
-// Type safe class used to represent the reason a restore failed
-class RTI_EXPORT RTI_RestoreFailureReason
-{
- public:
- RTI_RestoreFailureReason(RTI_RestoreFailureReason const & rhs);
- static
- RTI_RestoreFailureReason const
- rtiUnableToRestore();
- static
- RTI_RestoreFailureReason const
- federateReportedFailureDuringRestore();
- static
- RTI_RestoreFailureReason const
- federateResignedDuringRestore();
- static
- RTI_RestoreFailureReason const
- rtiDetectedFailureDuringRestore();
- RTI_RestoreFailureReason &
- operator=(RTI_RestoreFailureReason const & rhs);
- RTI_bool
- operator==(RTI_RestoreFailureReason const & rhs) const;
- RTI_bool
- operator!=(RTI_RestoreFailureReason const & rhs) const;
- RTI_wstring const
- toString() const;
- private:
- RTI_RestoreFailureReason(unsigned RestoreFailureReason);
- unsigned _RestoreFailureReason;
-};
-// These constants Restore a little typing for users.
-// They can be used much like a enum, but in a type-safe way
-RTI_RestoreFailureReason const
-RTI_RTI_UNABLE_TO_RESTORE =
-RTI_RestoreFailureReason::rtiUnableToRestore();
-RTI_RestoreFailureReason const
-RTI_FEDERATE_REPORTED_FAILURE_DURING_RESTORE =
-RTI_RestoreFailureReason::federateReportedFailureDuringRestore();
-RTI_RestoreFailureReason const
-RTI_FEDERATE_RESIGNED_DURING_RESTORE =
-RTI_RestoreFailureReason::federateResignedDuringRestore();
-RTI_RestoreFailureReason const
-RTI_RTI_DETECTED_FAILURE_DURING_RESTORE =
-RTI_RestoreFailureReason::rtiDetectedFailureDuringRestore();
-#ifdef RTI_USE_INLINE
-#include "RTI_RestoreFailureReason.i"
-#endif // RTI_USE_INLINE
-#endif // RTI_RestoreFailureReason_h
Index: RTI_SpecificPostamble.h
===================================================================
RCS file: RTI_SpecificPostamble.h
diff -N RTI_SpecificPostamble.h
--- RTI_SpecificPostamble.h 30 Sep 2008 13:52:38 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,10 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_SpecificPostamble.h
-***********************************************************************/
-// Purpose: This file contains definitions that need to follow the RTI
-// class declaration that are specific to the RTI implementation.
-#ifndef RTIspecificPostamble_h
-#define RTIspecificPostamble_h
-// RTI vendor specific details could go here
-#endif // RTIspecificPostamble_h
Index: RTI_SpecificConfig.h.in
===================================================================
RCS file: RTI_SpecificConfig.h.in
diff -N RTI_SpecificConfig.h.in
--- RTI_SpecificConfig.h.in 30 Sep 2008 13:52:39 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,27 +0,0 @@
-/***********************************************************************
-IEEE 1516.1 High Level Architecture Interface Specification C++ API
-File: RTI_SpecificConfig.h
-***********************************************************************/
-// Purpose: This file contains definitions that are used to isolate
-// platform configuration issues.
-#ifndef RTI_SpecificConfig_h
-#define RTI_SpecificConfig_h
-#include <sys/types.h> // for size_t
-// macro to support Windows library export mechanism
-#define RTI_EXPORT /* nothing */
-//
-// When and how to use inline methods is left up to the RTI implementor
-//
-#ifdefRTI_DEBUG_ON
-#undefRTI_USE_INLINE
-#define RTI_INLINE /* inline */
-#else
-#define RTI_USE_INLINE
-#define RTI_INLINE inline
-#endif // RTI_DEBUG_ON
-#ifdef __GNUC__
-#ifndef RTI_TEMPLATES_REQUIRE_SOURCE
-#define RTI_TEMPLATES_REQUIRE_SOURCE
-#endif
-#endif // __GNUC__
-#endif // RTI_SpecificConfig_h
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [certi-cvs] certi/include CMakeLists.txt RTI/Handle.h RTI/E...,
certi-cvs <=