# RTI.hh

Go to the documentation of this file.

    00001 // HLA 1.3 Header "RTI.hh"
    00002 // $Id: RTI.hh,v 3.16 2009/04/02 19:58:11 erk Exp $
    00003
    00004 #ifndef RTI_hh
    00005 #define RTI_hh
    00006
    00007 #if defined(_WIN32)
    00008     #include <windows.h>
    00009     #pragma warning(disable: 4290)
    00010     #pragma warning(disable: 4275)
    00011     #pragma warning(disable: 4251)
    00012     #pragma warning(disable: 4273)
    00013     #pragma warning(disable: 4996)
    00014     #if defined(RTI_EXPORTS)
    00015         #define RTI_EXPORT __declspec(dllexport)
    00016     #else
    00017         #define RTI_EXPORT __declspec(dllimport)
    00018     #endif
    00019     #if defined(FedTime_EXPORTS)
    00020         #define FEDTIME_EXPORT __declspec(dllexport)
    00021     #else
    00022         #define FEDTIME_EXPORT __declspec(dllimport)
    00023     #endif
    00024 #else
    00025     #define RTI_EXPORT
    00026     #define FEDTIME_EXPORT
    00027 #endif
    00028
    00029 #ifdef RTI_USES_STD_FSTREAM
    00030 #include <fstream>
    00031 #define RTI_STD std
    00032 #else
    00033 #include <fstream.h>
    00034 #define RTI_STD
    00035 #endif
    00036
    00037 class RTIambPrivateRefs ;
    00038 struct RTIambPrivateData ;
    00039
    00047 class RTI_EXPORT RTI
    00048 {
    00049 public:
    00050 #include "baseTypes.hh"
    00051 #include "RTItypes.hh"
    00052
    00053     class RTI_EXPORT RTIambassador
    00054     {
    00055     public:
    00056 #include "RTIambServices.hh"
    00057     RTIambPrivateData *privateData ;
    00058     private:
    00059     RTIambPrivateRefs* privateRefs ;
    00060     };
    00061
    00062     class RTI_EXPORT FederateAmbassador
    00063     {
    00064     public:
    00065 #include "federateAmbServices.hh"
    00066     };
    00067 };
    00068
    00069 RTI_STD::ostream RTI_EXPORT &
    00070 operator<<(RTI_STD::ostream &os, RTI::Exception *ex);
    00071
    00072 RTI_STD::ostream RTI_EXPORT &
    00073 operator<<(RTI_STD::ostream &os, RTI::Exception const &ex);
    00074
    00077 #endif