📄 rti.hh
字号:
#ifndef RTI_hh
#define RTI_hh
#if defined(WIN32)
// disable warning about exceptions not being part of a method's signature
#pragma warning(disable: 4290)
// disable warnings about deriving a "dllexport" class from a regular class
#pragma warning(disable: 4275)
#pragma warning(disable: 4251)
#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
#else // !WIN32
// no special qualfifers are necessary on non-WIN32 platforms
#define RTI_EXPORT
#endif
#ifdef RTI_USES_STD_FSTREAM
#include <fstream>
#define RTI_STD std
#else
#include <fstream.h>
#define RTI_STD /* nothing */
#endif
//#include <math.h>
struct RTIambPrivateRefs;
struct RTIambPrivateData;
class RTI {
public:
#include "baseTypes.hh"
#include "RTItypes.hh"
class RTI_EXPORT RTIambassador {
public:
#include "RTIambServices.hh"
RTIambPrivateData* privateData;
private:
RTIambPrivateRefs* privateRefs;
};
class RTI_EXPORT FederateAmbassador {
public:
#include "federateAmbServices.hh"
};
};
RTI_STD::ostream RTI_EXPORT &
operator << (RTI_STD::ostream &, RTI::Exception *);
RTI_STD::ostream RTI_EXPORT &
operator << (RTI_STD::ostream &, RTI::Exception const &);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -